1 %% DO NOT EDIT this file manually; it is automatically
2 %% generated from LSR http://lsr.di.unimi.it
3 %% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
4 %% and then run scripts/auxiliar/makelsr.py
6 %% This file is in the public domain.
10 lsrtags = "repeats, symbols-and-glyphs, text"
13 Though volte are best specified using @code{\\repeat volta}, the
14 context property @code{repeatCommands} must be used in cases where the
15 volta text needs more advanced formatting with @code{\\markup}.
18 Since @code{repeatCommands} takes a list, the simplest method of
19 including markup is to use an identifier for the text and embed it in
20 the command list using the Scheme syntax @code{#(list (list 'volta
21 textIdentifier))}. Start- and end-repeat commands can be added as
22 separate list elements:
25 doctitle = "Volta text markup using repeatCommands"
28 voltaAdLib = \markup { 1. 2. 3... \text \italic { ad lib. } }
32 \set Score.repeatCommands = #(list (list 'volta voltaAdLib) 'start-repeat)
34 \set Score.repeatCommands = #'((volta #f) (volta "4.") end-repeat)
36 \set Score.repeatCommands = #'((volta #f))