LSR: Update.
[lilypond.git] / input / lsr / volta-text-markup-using-repeatcommands.ly
blobdb4c5be9efe2fe8b3593fb57da2e0c50b0bada85
1 %% Do not edit this file; it is auto-generated from input/new
2 %% This file is in the public domain.
3 \version "2.11.53"
5 \header {
6 lsrtags = "repeats"
7 texidoc = "Though volte are best specified using
8 @code{\\repeat volta}, the context property @code{repeatCommands}
9 must be used in cases where the volta text needs more advanced
10 formatting with @code{\\markup}.
12 Since @code{repeatCommands} takes a list, the simplest method of
13 including markup is to use an identifier for the text and embed
14 it in the command list using the Scheme syntax
15 @w{@code{#(list (list 'volta textIdentifier))}}. Start- and end-repeat commands
16 can be added as separate list elements:"
17 doctitle = "Volta text markup using @code{repeatCommands}"
18 } % begin verbatim
20 voltaAdLib = \markup { 1. 2. 3... \text \italic { ad lib. } }
22 \relative c'' {
24 \set Score.repeatCommands = #(list (list 'volta voltaAdLib) 'start-repeat)
25 c4 b d e
26 \set Score.repeatCommands = #'((volta #f) (volta "4.") end-repeat)
28 \set Score.repeatCommands = #'((volta #f))