X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fregression%2Fspacing-multi-tuplet.ly;h=fb2e46f39752550a51e61607300ae633c9044689;hb=ecf2b5e9dcfa7654803fb0050d7127e0ec7fd934;hp=b4d67b07a55ad43fbf70cecf41963bbf6ffc98fe;hpb=955f829883aa125b2b633b1e71f6256da5b773fa;p=lilypond.git diff --git a/input/regression/spacing-multi-tuplet.ly b/input/regression/spacing-multi-tuplet.ly index b4d67b07a5..fb2e46f397 100644 --- a/input/regression/spacing-multi-tuplet.ly +++ b/input/regression/spacing-multi-tuplet.ly @@ -1,35 +1,31 @@ -#(ly:set-option 'old-relative) -\version "1.9.0" -\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.10.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] } + } + >> } +