]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/spacing-multi-tuplet.ly
Docs: run convert-ly for 2.14.0.
[lilypond.git] / input / regression / spacing-multi-tuplet.ly
index 2e0eb4094b42c5e57830b108373ab0723c8c3bbf..6fe2acea27d2c0d9d95a42bd3a64de150a8d1547 100644 (file)
@@ -1,34 +1,32 @@
-\version "2.4.0"
-\header{
-texidoc = "Concurrent tuplets should be equidistant on all staffs.
+\version "2.14.0"
 
-Note that this only spaces correctly (exactly) when @code{raggedright}
-is enabled. For a non-@code{raggedright} case, it still shows a bug: 
-uneven spacing. 
-"  }
+ \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}."
+}
 
+\layout{
+  \context{
+    \Score
+    \override SpacingSpanner #'uniform-stretching = ##t
+  }
+}
 
-multipart =  \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{
-     { 
-       \multipart 
+\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] } 
     }
-
-%    \layout { raggedright = ##t }
-
+    \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] } 
+    }
+  >>
 }
 
 
+