In earlier versions of LilyPond I avoided the use of \repeat percent 2
{} syntax by overwriting the stencil for a whole bar rest:

\version "2.20.0"
{ c c c c
\once \override MultiMeasureRest.stencil  = #ly:multi-measure-rest::percent 
\once \override MultiMeasureRest #'thickness = #0.48
R1*4/4
}

The stencil ly:multi-measure-rest::percent has gone in versin 2.24 and
I see that the symbol ly:percent-repeat-interface::percent at the same
place in the source code. However this results in the "%" glyph not
being centered as was the old one:

\version "2.24.0"
{ c c c c
\once \override MultiMeasureRest.stencil  = 
#ly:percent-repeat-interface::percent
\once \override MultiMeasureRest #'thickness = #0.48
R1*4/4
}

Is there an easy fix - the extra-offset needed varies according to the
width of the bar...

Richard Shann




Reply via email to