|
From: | David Nalesnik |
Subject: | Re: Overriding staff-padding for MeasureCounter fails |
Date: | Fri, 14 Feb 2014 08:34:52 -0600 |
Hi David,This has effect but the numbers don't align. The padding is relative to the notes as well.
Huh--that's strange. This will involve some investigation to get at the cause, determine if there's a bug.
Anyway, overriding outside-staff-padding instead should give you what you want:
\override Staff.MeasureCounter.outside-staff-padding = #4
\layout {
\context {
\Dynamics
\consists #Measure_counter_engraver
% to control the distance of the Dynamics context from the staff:
\override VerticalAxisGroup.nonstaff-relatedstaff-spacing.padding = #4
}
}
<<
\new Dynamics {
\startMeasureCount
s1*4
\stopMeasureCount
}
\new Staff {
\repeat percent 4 { g''4 g'' g'' g'' }
}
>>
%%%%
(Based on "Centered measure numbers" http://www.lilypond.org/doc/v2.19/Documentation/snippets/repeats)
--David
[Prev in Thread] | Current Thread | [Next in Thread] |