lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

The demise of ly:multi-measure-rest::percent


From: Richard Shann
Subject: The demise of ly:multi-measure-rest::percent
Date: Fri, 03 May 2024 11:42:30 +0100
User-agent: Evolution 3.46.4-2

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

[Prev in Thread] Current Thread [Next in Thread]