]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/spacing-multi-tuplet.ly
Rerun scripts/auxiliar/update-with-convert-ly.sh
[lilypond.git] / input / regression / spacing-multi-tuplet.ly
index e43609066affc70b12b38c45c8fc8b3849e11fc0..2ac5360241f8a7f7af9afbaba838ea2eb8e7716f 100644 (file)
@@ -1,35 +1,32 @@
-#(ly:set-option 'old-relative)
-\version "1.9.2"
-\header{
-texidoc =  "Concurrent tuplets should be spaced equidistantly on
-all staffs.
+\version "2.17.6"
 
-Note that this only spaces correctly (exactly) when raggedright
-is. For non-raggedright, 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 =  \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 
+\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] } 
     }
-
-%    \paper { 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] } 
+    }
+  >>
 }
 
 
+