Manual repeat commands - GNU LilyPond
Description: GNU LilyPond

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

#### 6.7.4 Manual repeat commands

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

`start-repeat`
  Print a `|:` bar line.
`end-repeat`
  Print a `:|` bar line.
`(volta` text`)`
  Print 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;
`(volta #f)`
  Stop a running volta bracket.

>          c4
>            \set Score.repeatCommands = #'((volta "93") end-repeat)
>          c4 c4
>            \set Score.repeatCommands = #'((volta #f))
>          c4 c4

##### See also

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

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

Other languages: English.
Using automatic language selection.