|
From: | Craig Dabelstein |
Subject: | Re: \mark under score clashing with measure numbers |
Date: | Tue, 26 Aug 2014 10:46:57 +1000 |
2014-08-25 21:50 GMT+02:00 Craig Dabelstein <address@hidden>:
This works brilliantly on the score, but on the individual parts where there are no measure numbers, the \mark text "D.C. al Fine" is pushed up and overlaps the staff.Ok, I see.
Any more ideas?I'd use tags :
\version "2.18.2"
myMusic = {
s1*4 \break s1*4
\bar "||"
\tag ensemble {\tag individual {
\tweak break-visibility #end-of-line-visible
\tweak self-alignment-X #RIGHT
\tweak direction #DOWN
\tweak extra-offset #'(0 . 3)
\mark "D.C. al Fine"
}\mark "D.C. al Fine"
\tweak break-visibility #end-of-line-visible
\tweak self-alignment-X #RIGHT
\tweak direction #DOWN
}
}
myDynamics = {
\startMeasureCount
s1*4 \break s1*3
\tag ensemble {\tag individual {
\once\override MeasureCounter.extra-offset = #'(0 . -2)
s1 \stopMeasureCount
}
s1 \stopMeasureCount
}
}
\score {
\new StaffGroup
\keepWithTag ensemble
<<
\new Staff \myMusic
\new Staff \myMusic
\new Staff \myMusic
\new Dynamics \myDynamics\score {
>>
\layout {
\context {
\Dynamics
\consists #Measure_counter_engraver
\override MeasureCounter.direction = #DOWN
\override MeasureCounter.font-encoding = #'latin1
\override MeasureCounter.font-shape = #'italic
% to control the distance of the Dynamics context from the staff:
\override VerticalAxisGroup.nonstaff-relatedstaff-spacing.padding = #2
}
\context {
\Score
\remove "Bar_number_engraver"
}
}
}
\keepWithTag individual
<<
\new Staff \myMusic
\new Dynamics \myDynamics
>>
\layout { }
}Cheers,
Pierre
[Prev in Thread] | Current Thread | [Next in Thread] |