]> git.donarmstrong.com Git - lilypond.git/blob - input/new/multi--measure-rest-markup.ly
Merge master into nested-bookparts
[lilypond.git] / input / new / multi--measure-rest-markup.ly
1 \version "2.11.61"
2
3 \header {
4   lsrtags = "rhythms, text"
5   texidoc = "Markups attached to a multi-measure rest will be
6 centered above or below it.  Long markups attached to multi-measure
7 rests do not cause the measure to expand.  To expand a multi-measure
8 rest to fit the markup, use a spacer rest with an attached markup
9 before the multi-measure rest.
10
11 Note that the spacer rest causes a bar line to be inserted.  Text attached
12 to a spacer rest in this way is left-aligned to the position where
13 the note would be placed in the measure, but if the measure length is
14 determined by the length of the text, the text will appear to be
15 centered."
16   doctitle = "Multi-measure rest markup"
17 }
18
19 \relative c' {
20   \compressFullBarRests
21   \textLengthOn
22   s1*0^\markup { [MAJOR GENERAL] }
23   R1*19
24   s1*0_\markup { \italic { Cue: ... it is yours } }
25   s1*0^\markup { A }
26   R1*30^\markup { [MABEL] }
27   \textLengthOff
28   c4^\markup { CHORUS } d f c
29 }