Comment #8 on issue 1150 by [email protected]: RehearsalMark at start of
line should not be printed above the clef
http://code.google.com/p/lilypond/issues/detail?id=1150
See also Neil's improved workaround, which places the RehearsalMark
after the key signature, and do not add a further shift to begin repeat
bar at begin of line.
Kind of perfect workaround!
\layout {
\context {
\Score
\override RehearsalMark #'after-line-breaking =
#(lambda (grob)
(let* ((parent (ly:grob-parent grob X))
(elts (ly:grob-array->list (ly:grob-object parent 'elements)))
(symbols (filter identity (map (lambda (elt)
(ly:grob-property elt
'break-align-symbol #f))
elts))))
(and (= (ly:item-break-dir grob) RIGHT)
(not (memq 'staff-bar symbols))
(ly:grob-translate-axis! grob (interval-length
(ly:grob-extent parent parent X)) X))
(ly:side-position-interface::move-to-extremal-staff grob)))
}
}
http://lists.gnu.org/archive/html/lilypond-user/2011-08/msg00131.html
_______________________________________________
bug-lilypond mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-lilypond