Hi Ed,

On Fri, Feb 14, 2014 at 8:05 AM, Ed Gordijn <[email protected]> wrote:

> Hi David,
>
>
>  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
>>
>
> This has effect but the numbers don't align. The padding is relative to
> the notes as well.
>

True.  In that case your best bet its to use a Dynamics context:

%%%%

\version "2.18.0"

 \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
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to