]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/multi-measure-rest-markup.ly
Update snippets from today's LSR with changed makelsr.py
[lilypond.git] / Documentation / snippets / multi-measure-rest-markup.ly
1 %% DO NOT EDIT this file manually; it is automatically
2 %% generated from LSR http://lsr.dsi.unimi.it
3 %% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
4 %% and then run scripts/auxiliar/makelsr.py
5 %%
6 %% This file is in the public domain.
7 \version "2.14.2"
8
9 \header {
10   lsrtags = "text, rhythms"
11
12   texidoc = "
13 Markups attached to a multi-measure rest will be centered above or
14 below it.  Long markups attached to multi-measure rests do not cause
15 the measure to expand.  To expand a multi-measure rest to fit the
16 markup, use a spacer rest with an attached markup before the
17 multi-measure rest.
18
19 Note that the spacer rest causes a bar line to be inserted.  Text
20 attached to a spacer rest in this way is left-aligned to the position
21 where the note would be placed in the measure, but if the measure
22 length is determined by the length of the text, the text will appear to
23 be centered.
24
25 "
26   doctitle = "Multi-measure rest markup"
27 } % begin verbatim
28
29
30 \relative c' {
31   \compressFullBarRests
32   \textLengthOn
33   s1*0^\markup { [MAJOR GENERAL] }
34   R1*19
35   s1*0_\markup { \italic { Cue: ... it is yours } }
36   s1*0^\markup { A }
37   R1*30^\markup { [MABEL] }
38   \textLengthOff
39   c4^\markup { CHORUS } d f c
40 }