]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/spacing-multi-tuplet.ly
Merge branch 'master' into dev/texi2html
[lilypond.git] / input / regression / spacing-multi-tuplet.ly
index fa484ad01401195f2dcdfa1d5d113ecff9a8b141..aafa19a53124412c2262044d64225a3763b6bc79 100644 (file)
@@ -1,35 +1,31 @@
-#(ly:set-option 'old-relative)
-\version "1.9.1"
-\header{
-texidoc =  "Concurrent tuplets should be spaced equidistantly on
-all staffs.
-
-Note that this only spaces correctly (exactly) when raggedright
-is. For non-raggedright, it still shows a bug: uneven spacing. 
-"  }
-
-
-
-multipart =  \notes \relative c'{ 
-    \context StaffGroup < 
-                \context Staff = ten  \context Voice { 
-                   \times 2/10 {  c8[ c c c c c c c c c] } 
-                   \times 2/10 {  c[  c c c c c c c c c] } 
-               }
-                \context Staff = eleven  \context Voice { 
-                   \times 2/11 {  c8[ c c c c c c c c c c] } 
-                   \times 2/11 {  c[  c c c c c c c c c c] } 
-                }
-            >
-       }
-    
-\score{
-    \notes { 
-       \multipart 
-    }
+\version "2.11.51"
+
+ \header{
+
+  texidoc = "Concurrent tuplets should be equidistant on all staves.
+Such equidistant spacing is at odds with elegant engraver spacing;
+hence it must be switched on explicitly with the
+@code{uniform-stretching} property of @code{SpacingSpanner}."
+}
 
-%    \paper { raggedright = ##t }
 
+
+\relative c' { 
+  \new Score \with
+  {
+    \override SpacingSpanner #'uniform-stretching = ##t 
+  }
+  \context StaffGroup << 
+    \new Staff  \context Voice { 
+      \times 2/10 {  c8[ c c c c c c c c c] } 
+      \times 2/10 {  c[  c c c c c c c c c] } 
+    }
+    \new Staff  \context Voice { 
+      \times 2/11 {  c8[ c c c c c c c c c c] } 
+      \times 2/11 {  c[  c c c c c c c c c c] } 
+    }
+  >>
 }
 
 
+