X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fregression%2Ftuplet-nest.ly;h=3bba0989e7f0a6c9d06831596d36d990002468cc;hb=13da8b27aabc5d5a752d00ed1e2b99ad20f0f264;hp=f67a0391b2d5a5edf53bf90ae9a36190d94a5d28;hpb=5956be580d291c1460f1c4b5f6e4a1c3e6549602;p=lilypond.git diff --git a/input/regression/tuplet-nest.ly b/input/regression/tuplet-nest.ly index f67a0391b2..3bba0989e7 100644 --- a/input/regression/tuplet-nest.ly +++ b/input/regression/tuplet-nest.ly @@ -1,40 +1,49 @@ -\version "2.3.16" - +\version "2.17.6" \header { + texidoc=" Tuplets may be nested." +} - texidoc=" Nested tuplets can be printed, using a manual hack to - move the outer bracket up." - +\paper { + ragged-right = ##t + indent = 0.0 } -#(define (make-text-checker-once text) - (lambda (grob) (and text-checker-once - (if (equal? text (ly:grob-property grob 'text)) - (begin - (set! text-checker-once #f) #t) - #f)))) - -#(define text-checker-once #t) - -\score { - \relative c'' { - - \set tupletNumberFormatFunction = #fraction-tuplet-formatter - - \applyoutput #(lambda (gr org cur) - (if (equal? (ly:grob-property gr 'text) "6:4") - (set! (ly:grob-property gr 'extra-offset) '(0 . 1.5)))) - \times 4/6 { - \times 2/3 { - a a a - } - \times 3/5 { - a a a a a - } +\relative c'' { + \times 4/3 { + \times 2/3 { c8[ c c] } + \times 2/3 { c8[ c c] } + \times 2/3 { c8[ c c] } + } + + \times 4/3 { + \times 2/3 { a8[ a a] } + \times 2/3 { a8[ a a] } + \times 2/3 { a8[ a a] } + } + + \override TupletNumber.text = #tuplet-number::calc-fraction-text + \times 4/6 { + \times 2/3 { + a4 a a + } + \times 3/5 { + a4 a a a a + } + } + + s1*1/6 + + \stemUp + \times 4/6 { + \times 2/3 { + a1*1/6 a f' + } + \times 3/5 { + c f g a b } } - \paper { raggedright = ##t} + }