Hello Harm,
You don’t live up to your name, you help does no harm, quite the contrary...
Thanks a lot!
JM
2017-05-22 10:27 GMT+02:00 Menu Jacques <address@hidden>: Hello folks,
How exactly does \repeat percent interact with voices?
It seems that the percent displayed is a staff feature, so I tried to have more that one voice.
But in the example below, the color is not applied to the percent.
Because the coloring overrides are applied only to the initial Voice,not to the new ones you created later.To see the coloring work put them in \layout. Thanks for your help!
JM
%%%%%%%%%%%%%%%% \version "2.19.55"
\new Staff {
\override PercentRepeat.color = #red \override DoublePercentRepeat.color = #yellow \override RepeatSlash.color = #cyan \override DoubleRepeatSlash.color = #green
<>^"PercentRepeat, red" \repeat percent 2 { <c' e'>1 }
\break
<< \new Voice { \voiceOne <>^"PercentRepeat, red" \repeat percent 2 {
%% The PercentRepeat are printed now one on top of the other, toverify compile with the extra-offset-overrides \override PercentRepeat.extra-offset = #'(-1 . 0) <c' e'>1 } }
\new Voice { \voiceTwo <>^"PercentRepeat, red" \repeat percent 2 { <d' f'>1
\override PercentRepeat.extra-offset = #'(1 . 0) } }
} %%%%%%%%%%%%%%%%
HTH, Harm_______________________________________________lilypond-user mailing listaddress@hiddenhttps://lists.gnu.org/mailman/listinfo/lilypond-user
|