]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/snippets/multi-measure-rest-markup.ly
Issue 3687 (part 3) Update snippets to use \compressMMRests
[lilypond.git] / Documentation / snippets / multi-measure-rest-markup.ly
index 864205be431cfa0c3d25a98615b9368d7190fb02..d7958d004afc29da4fa952820aba38c46a1f539c 100644 (file)
@@ -1,10 +1,10 @@
 %% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
 %% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
 %% and then run scripts/auxiliar/makelsr.py
 %%
 %% This file is in the public domain.
-\version "2.14.2"
+\version "2.19.20"
 
 \header {
   lsrtags = "rhythms, text"
 Markups attached to a multi-measure rest will be centered above or
 below it.  Long markups attached to multi-measure rests do not cause
 the measure to expand.  To expand a multi-measure rest to fit the
-markup, use a spacer rest with an attached markup before the
+markup, use an empty chord with an attached markup before the
 multi-measure rest.
 
-Note that the spacer rest causes a bar line to be inserted.  Text
-attached to a spacer rest in this way is left-aligned to the position
-where the note would be placed in the measure, but if the measure
-length is determined by the length of the text, the text will appear to
-be centered.
+Text attached to a spacer rest in this way is left-aligned to the
+position where the note would be placed in the measure, but if the
+measure length is determined by the length of the text, the text will
+appear to be centered.
 
 "
   doctitle = "Multi-measure rest markup"
 } % begin verbatim
 
-
 \relative c' {
-  \compressFullBarRests
-  \textLengthOn
-  s1*0^\markup { [MAJOR GENERAL] }
-  R1*19
-  s1*0_\markup { \italic { Cue: ... it is yours } }
-  s1*0^\markup { A }
-  R1*30^\markup { [MABEL] }
-  \textLengthOff
-  c4^\markup { CHORUS } d f c
+  \compressMMRests {
+    \textLengthOn
+    <>^\markup { [MAJOR GENERAL] }
+    R1*19
+    <>_\markup { \italic { Cue: ... it is yours } }
+    <>^\markup { A }
+    R1*30^\markup { [MABEL] }
+    \textLengthOff
+    c4^\markup { CHORUS } d f c
+  }
 }