]> git.donarmstrong.com Git - lilypond.git/commitdiff
*** empty log message ***
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Fri, 26 Aug 2005 08:42:43 +0000 (08:42 +0000)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Fri, 26 Aug 2005 08:42:43 +0000 (08:42 +0000)
Documentation/topdocs/NEWS.tely
input/regression/multi-measure-rest-text.ly
scm/define-grobs.scm

index 05d533d416b51ce75f9f15d03d4fefe16d0a65d0..fced60c528fdd5eff92a4b7511c5193343a74118 100644 (file)
@@ -48,9 +48,12 @@ This document is also available in @uref{NEWS.pdf,PDF}.
 
 
 @item
-Texts over multi measure rests now stretch corresponding measure.
+Texts over multi measure rests can stretch corresponding measure, if
+the appropriate @code{spacing-procedure} property is set.
 
 @lilypond[relative=2,fragment,raggedright]
+\override MultiMeasureRestText #'spacing-procedure
+  = #Multi_measure_rest::set_spacing_rods
 c1 R1 R1^"Very long long long text" 
 @end lilypond
 
index 768708b9c03111c95affd1d2eaba1f7fa89954a0..7514ed43cd63c654923a6eee24f92df91fb7d7c7 100644 (file)
@@ -5,6 +5,9 @@
   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.
+
 "
 
 
@@ -19,6 +22,9 @@ Texts may be added to the multi-measure rests.
   R2.^"4"
   R2.*3_\markup { \roman "a1b2c3" }
   R2.*10^"inner"^"top"_"inner"_"bot"
+  \override MultiMeasureRestText #'spacing-procedure
+    = #Multi_measure_rest::set_spacing_rods
+
   R2.^"very very very very very very long text"
   c'2.
 }
index 47c1714d86080f6c85b3be42f3d810ce02824b6d..ccf5006c1fdfb65c2a20361d94b93a0eb1a7fcc2 100644 (file)
                                measure-grouping-interface))))))
     (MultiMeasureRest
      . (
-       (spacing-procedure . ,Multi_measure_rest::set_spacing_rods)
        (print-function . ,Multi_measure_rest::print)
        (Y-offset-callbacks . (,Staff_symbol_referencer::callback))
        (staff-position . 0)