X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fregression%2Fspacing-multi-tuplet.ly;h=c1af9532356744e32a1787c91fd546de77285807;hb=169a91c8514e3dcea29d1aa01653a684fb60457d;hp=68ab438227938eb96ee92a7751cb28be345f2991;hpb=4c8187e65dd9708d7733692842acc696da121bf1;p=lilypond.git diff --git a/input/regression/spacing-multi-tuplet.ly b/input/regression/spacing-multi-tuplet.ly index 68ab438227..c1af953235 100644 --- a/input/regression/spacing-multi-tuplet.ly +++ b/input/regression/spacing-multi-tuplet.ly @@ -1,35 +1,32 @@ -#(ly:set-option 'old-relative) -\version "2.1.7" -\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.10.0" \header{ + -% \paper { raggedright = ##t } + texidoc = "Concurrent tuplets should be equidistant on all staffs. +Such equidistant spacing is it at odds with elegant engraver spacing; +hence it must be switched on explicitly with the +@code{uniform-stretching} property of @code{SpacingSpanner}. +" } + +\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] } + } + >> +} + + +