#----- SNIP LILY CODE HERE -----
#(define (mark-callback grob)
(if (= (ly:item-break-dir grob) 1)
(ly:grob-set-property! grob 'extra-offset '(-2.8 . 1))))
\book {
\score {
\relative c'' {
\key des \major
\override Score.RehearsalMark #'before-line-breaking = #mark-callback
\repeat unfold 4 c2 \mark \default
\break
c2 c \mark \default
c2 c
}
}\score {
\relative c'' {
\key des \major
\repeat unfold 4 c2 \mark \default
\break
c2 c \mark \default
c2 c
}
}
}
#----- END LILY CODE HERE ------
gives this output: http://binabik.boldlygoingnowhere.org/r-marks.pdf
the first score block is the one with the tweak applied, the second one without. is anyone interested in this tweak? if so, i'll add it to lsr later today
regards,
sb.
--
Do not meddle in the affairs of trombonists, for they are subtle and quick to anger.
_______________________________________________ lilypond-user mailing list [email protected] http://lists.gnu.org/mailman/listinfo/lilypond-user
