Daniel Johnson wrote:
Paul Scott wrote:
Paul Scott wrote:
Anthony Youngman wrote:
Read the documentation on rehearsal marks. One of the default
styles is
to use the barnumber.
\set Score.markFormatter = #format-mark-barnumbers
Incidentally, this will also probably get round the problem of keeping
track - I guess the problem is the rehearsal mark counter isn't
automatically updated in Shamus' workaround. Of course, if you're
using
barnumbers as rehearsal marks you don't need to keep the counter
updated.
Hi Anthony,
You probably didn't read the whole thread (or the subject line:) ).
I am using format-mark-barnumbers. I just want to put a segno under
one and a coda sign under another.
I apologize in that I might not have been the least bit clear that I
wanted to use one of the automatically generated ehearsal marks.
Paul
A bit of research and hackery resulted in this:
%%% BEGIN LILYPOND CODE %%%
\version "2.9.9"
#(define (format-mark-barnumbers-segno mark context)
(markup
#:line
(#:center-align
(#:bold (number->string (ly:context-property context
'currentBarNumber)) #:musicglyph "scripts.segno"))))
\score {
\new Staff {
\set Score.markFormatter = #format-mark-barnumbers-segno
c'1 \mark \default
c'1 \mark \default
c'1 \mark \default
}
}
%%% END LILYPOND CODE
Thanks so much! I am a developer (part-time now) and very busy at the
moment. My Scheme skills are still pretty weak and I didn't have the
time to do what you just did.
Also I wanted this discussed on the list so that it might be a feature
some day.
Thanks again,
Paul
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user