2014-08-25 21:50 GMT+02:00 Craig Dabelstein <[email protected]>:
> 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 {
\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"
}
\tag individual {
\tweak break-visibility #end-of-line-visible
\tweak self-alignment-X #RIGHT
\tweak direction #DOWN
\mark "D.C. al Fine"
}
}
myDynamics = {
\startMeasureCount
s1*4 \break s1*3
\tag ensemble {
\once\override MeasureCounter.extra-offset = #'(0 . -2)
s1 \stopMeasureCount
}
\tag individual {
s1 \stopMeasureCount
}
}
\score {
\new StaffGroup
\keepWithTag ensemble
<<
\new Staff \myMusic
\new Staff \myMusic
\new Staff \myMusic
\new Dynamics \myDynamics
>>
\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"
}
}
}
\score {
\keepWithTag individual
<<
\new Staff \myMusic
\new Dynamics \myDynamics
>>
\layout { }
}
Cheers,
Pierre
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user