Next: , Previous: Repeats and MIDI, Up: Repeats



3.8.3 Manual repeat commands

The property repeatCommands can be used to control the layout of repeats. Its value is a Scheme list of repeat commands, where each repeat command can be

the symbol start-repeat,
which prints a |: bar line,
the symbol end-repeat,
which prints a :| bar line,
the list (volta text),
which prints a volta bracket saying text: The text can be specified as a text string or as a markup text, see Text markup. Do not forget to change the font, as the default number font does not contain alphabetic characters. Or,
the list (volta #f), which
stops a running volta bracket
     c4
       \set Score.repeatCommands = #'((volta "93") end-repeat)
     c4 c4
       \set Score.repeatCommands = #'((volta #f))
     c4 c4

[image of music]

See also

Program reference: VoltaBracket, RepeatedMusic, VoltaRepeatedMusic, UnfoldedRepeatedMusic, and FoldedRepeatedMusic.

Read comments on this page, or add one.

This page is for LilyPond-2.2.6 (stable-branch).

Report errors to <bug-lilypond@gnu.org>.