]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/multi-measure-rest-markup.ly
d7958d004afc29da4fa952820aba38c46a1f539c
[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.di.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.19.20"
8
9 \header {
10   lsrtags = "rhythms, text"
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 an empty chord with an attached markup before the
17 multi-measure rest.
18
19 Text attached to a spacer rest in this way is left-aligned to the
20 position where the note would be placed in the measure, but if the
21 measure length is determined by the length of the text, the text will
22 appear to be centered.
23
24 "
25   doctitle = "Multi-measure rest markup"
26 } % begin verbatim
27
28 \relative c' {
29   \compressMMRests {
30     \textLengthOn
31     <>^\markup { [MAJOR GENERAL] }
32     R1*19
33     <>_\markup { \italic { Cue: ... it is yours } }
34     <>^\markup { A }
35     R1*30^\markup { [MABEL] }
36     \textLengthOff
37     c4^\markup { CHORUS } d f c
38   }
39 }