BODY { font-family:Arial, Helvetica, sans-serif;font-size:12px; }
At the cost of manually counting what rehearsal mark you are up to:
%================
version "2.12.2"
fillbar = repeat unfold 8 {c8}
relative c'' {
fillbar mark default
fillbar mark markup bold "(B) A little slower"
fillbar
fillbar mark #3
fillbar
}
%================
Nick
On Wed 18/02/09 10:04 AM , "Anthony W. Youngman"
[email protected] sent:
I'm wanting to combine a rehearsal mark and an instruction, like say
"(15) A little slower". The only snag is, you can't put multiple
marks
on a barline, and attaching the text to notes doesn't seem to be
working
for me.
I've found the LSR snippet that combines rehearsal and eg coda
marks,
but my knowledge of scheme isn't good enough to work out how to
modify
it. The snippet is below ...
#(define (format-mark-box-letters-dsegno mark context)
(markup #:line
(#:center-align
(#:line (#:musicglyph "scripts.segno" #:hspace 0.5
#:musicglyph
"scripts.segno")
#:bold #:box (#:markletter (- (ly:context-property context
'rehearsalMark) 2))
))))
markDefaultDSegno = {
set Score.markFormatter = #format-mark-box-letters-dsegno
once override Score.RehearsalMark #'baseline-skip = #5
mark default
}
Does the "mark context" match up to "mark default"? If I want to add
random text after the mark, do I change it to "mark context text"
and
"mark default "A little slower" (along, of course, with altering the
contents of the #define a bit?) I think I can see how to alter the
(markup bit, but I'd like to know I'm on the right lines before I
start
messing about with something I don't understand :-)
Cheers,
Wol
--
Anthony W. Youngman -
_______________________________________________
lilypond-user mailing list
http://lists.gnu.org/mailman/listinfo/lilypond-user
_______________________________________________
lilypond-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-user