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