5 texidoc = "Though volte are best specified using
6 @code{\\repeat volta}, the context property @code{repeatCommands}
7 must be used in cases where the volta text needs more advanced
8 formatting with @code{\\markup}.
10 Since @code{repeatCommands} takes a list, the simplest method of
11 including markup is to use an identifier for the text and embed
12 it in the command list using the Scheme syntax
13 @w{@code{#(list (list 'volta textIdentifier))}}. Start- and end-repeat commands
14 can be added as separate list elements:"
15 doctitle = "Volta text markup using @code{repeatCommands}"
18 voltaAdLib = \markup { 1. 2. 3... \text \italic { ad lib. } }
22 \set Score.repeatCommands = #(list (list 'volta voltaAdLib) 'start-repeat)
24 \set Score.repeatCommands = #'((volta #f) (volta "4.") end-repeat)
26 \set Score.repeatCommands = #'((volta #f))