Spacing out percent repeats with hidden notes: Difference between revisions
Appearance
Import snippet from LSR |
m New category |
||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
If you don't like the spacing used for percent repeats, you can enlarge the percent bars by suitably adding hidden notes. | If you don't like the spacing used for percent repeats, you can enlarge the percent bars by suitably adding hidden notes. | ||
<lilypond version="2.24 | <lilypond version="2.24"> | ||
%% http://lsr.di.unimi.it/LSR/Item?id=11 | %% http://lsr.di.unimi.it/LSR/Item?id=11 | ||
| Line 23: | Line 23: | ||
[[Category:Symbols and glyphs]] | [[Category:Symbols and glyphs]] | ||
[[Category:Workaround]] | [[Category:Workaround]] | ||
[[Category:Snippet]] | |||
Latest revision as of 23:32, 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
}
>>