]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/spacing-multi-tuplet.ly
Merge commit 'origin' into beamlets2
[lilypond.git] / input / regression / spacing-multi-tuplet.ly
index d9e17e36de0915c42be215e40bddae7bed6b85b6..f6b578fdf0e1d93ebb8dbee42cbbc5943765a93f 100644 (file)
@@ -1,34 +1,31 @@
-\version "2.1.22"
-\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 << 
-                \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] } 
-                }
-            >>
-       }
-    
-\score{
-    \notes { 
-       \multipart 
-    }
+\version "2.12.0"
+
+ \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] } 
+    }
+  >>
 }
 
 
+