In the percent style, a note pattern can be repeated. It is
printed once, and then the pattern is replaced with a special sign.
Patterns of one and two measures are replaced by percent-like signs,
patterns that divide the measure length are replaced by slashes
\new Voice \relative c' {
\repeat "percent" 4 { c4 }
\repeat "percent" 2 { c2 es2 f4 fis4 g4 c4 }
}
Program reference: RepeatSlash (lilypond-internals) , PercentRepeat (lilypond-internals) , PercentRepeatedMusic (lilypond-internals) , and DoublePercentRepeat (lilypond-internals) .
This page is for LilyPond-2.4.5 (stable-branch).