Spacing out percent repeats with hidden notes: Difference between revisions
Appearance
m Replace version="2.24.0" with version="2.24" now that the LilyWiki extension supports auto-selecting the latest release in a stable series |
No edit summary |
||
| Line 22: | Line 22: | ||
[[Category:Spacing]] | [[Category:Spacing]] | ||
[[Category:Symbols and glyphs]] | [[Category:Symbols and glyphs]] | ||
[[Category:Workaround]] | [[Category:Workaround]][[Category:Snippet]] | ||
Revision as of 23:00, 21 November 2025
If you don't like the spacing used for percent repeats, you can enlarge the percent bars by suitably adding hidden notes.
\version "2.24"
%% http://lsr.di.unimi.it/LSR/Item?id=11
\new Staff <<
\new Voice {
\repeat percent 3 \relative c'' { e e e e }
\repeat percent 3 \relative c'' { e e e e }
}
\new Voice {
s1 s s
s1 \hideNotes \repeat unfold 8 c4 \unHideNotes
}
>>