]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/multi-measure-rest-text.ly
* lily/midi-item.cc (to_string): use to_int() iso. int cast.
[lilypond.git] / input / regression / multi-measure-rest-text.ly
index 7b182420c62c333c58ab055dbcd4d3cbdadcabca..486eba714445c29690375fda0f85afd87f3a9587 100644 (file)
@@ -1,22 +1,30 @@
-\version "1.9.2"
+\version "2.6.0"
 
 \header  {
 
-texidoc = "
-Texts may be added to the multi measure rests.
+  texidoc = "
+Texts may be added to the multi-measure rests.
+
+By setting the appropriate @code{spacing-procedure}, we can make
+measures stretch to accomodate wide texts.
 
 "
 
 
 }
 
-\score { \notes {
+\layout { raggedright = ##t }
+{
   \time 3/4
-  \property Score.skipBars = ##t
-  R2._\markup { \center << \musicglyph  #"scripts-dfermata" \roman "Ad lib"  >>  }
+  \set Score.skipBars = ##t
+  R2._\markup { \center-align { \musicglyph  #"scripts.dfermata" \roman "Ad lib"  }  }
   R2.^\fermataMarkup
   R2.^"4"
   R2.*3_\markup { \roman "a1b2c3" }
   R2.*10^"inner"^"top"_"inner"_"bot"
+  \override MultiMeasureRestText #'spacing-procedure
+    = #Multi_measure_rest::set_text_rods
+
+  R2.^"very very very very very very long text"
   c'2.
-}}
+}