]> 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 60252674590dd98e1485c96e4cb22a1b8bbaa2b0..f6b578fdf0e1d93ebb8dbee42cbbc5943765a93f 100644 (file)
@@ -1,34 +1,31 @@
-\version "1.7.18"
-\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.12.0"
 
-%    \paper { raggedright = ##t }
+ \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}."
 }
 
-%% new-chords-done %%
+
+
+\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] } 
+    }
+  >>
+}
+
+
+