Hi again, On 11/02/2008, Risto Vääräniemi wrote: > Thanks for the tip, Gilles. However, that was the first thing I tried > because I wanted to align the rhythm mark at the key signature. It > doesn't quite work even if I align the mark at the time signature as > you suggested. It does drop the first mark on the same level as the > other ones but there's still a considerable gap between the mark and > the staff. :-(
I think I found the reason why 2.11 creates a bigger gap between the staff and the rhythm mark than 2.10. It's the negative padding for the RehearsalMark. \override Score.RehearsalMark #'padding = #-2 2.10 obeys this but 2.11 ignores it. Is there a way to fool 2.11 to accept that, too? Any other workarounds? -Risto %%%%% \version "2.10.33" \paper { ragged-right = ##t } rhyMarkDottedEighths = { \override Score.SpacingSpanner #'common-shortest-duration = #(ly:make-moment 3 16) % even { b'8. b16 } } empty = \markup { \tiny "" } rhythmMarkStaffReduce = #-3 rhythmMarkLabelFontSize = #-2 rhythmMark = #(define-music-function (parser location musicI ) (ly:music?) #{ \mark \markup { \line \vcenter { \combine % 1st column in line \empty \transparent \italic \fontsize #rhythmMarkLabelFontSize f % This fakes a uniform baseline %(ie. create common anchor for vcenter) \score { % 2nd column in line \new Staff \with { fontSize = #rhythmMarkStaffReduce \override StaffSymbol #'staff-space = #(magstep rhythmMarkStaffReduce) \override StaffSymbol #'line-count = #0 } \relative { \stemUp $musicI } \layout { ragged-right= ##t indent = 0 \context { \Staff \remove "Clef_engraver" \remove "Time_signature_engraver" } } % layout } % 1st Score end } % line end } % markup end #}) \relative c'' { \key c \major \time 4/4 \clef treble \override Score.RehearsalMark #'padding = #-2 c1 | \rhythmMark \rhyMarkDottedEighths c } %%%%%
<<attachment: swing_rhythm_padding_2_10.png>>
<<attachment: swing_rhythm_padding_2_11.png>>
_______________________________________________ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user