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