X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fregression%2Ftuplet-properties.ly;h=4e5e839c8ab9360ad9f8eb32ed0ab95855f3ce4a;hb=5d84bfad4626892bcffd05adcced53c8a2329047;hp=ef7f0871e10c12a0e630c4790f5dd53d81e595b9;hpb=df8f3a0336bb58a017ed5c7ff0019d8314b4de1b;p=lilypond.git diff --git a/input/regression/tuplet-properties.ly b/input/regression/tuplet-properties.ly index ef7f0871e1..4e5e839c8a 100644 --- a/input/regression/tuplet-properties.ly +++ b/input/regression/tuplet-properties.ly @@ -1,44 +1,38 @@ +\version "2.19.21" + \header { -texidoc = "Tuplet bracket formatting supports numerous options: -NB should have no bracket, B should have bracket. + texidoc = "Tuplet bracket formatting supports numerous options, +for instance, bracketed (B) and non-bracketed (NB). " } - - -\version "1.7.18" - - -\score { - \context Voice \notes\relative c'' { - - \times 2/3 { c'8 c,, c } - \times 2/3 { c'8 c'' c,, } - - - \times 2/3 { c8-[^"NB" c c] } - - \times 2/3 { c8^"B" c-[ c] } - \times 2/4 { r8_"B" c,-[ c'] r8 } - - \property Voice.TupletBracket \override #'bracket-visibility = #'if-no-beam - \times 2/3 { c8-[ c c] } - - \property Voice.TupletBracket \override #'direction = #1 - \property Voice.TupletBracket \override #'number-visibility = ##f - \times 2/3 { c8^""^""^"up, no digit" c-[ c] } - \property Voice.TupletBracket \revert #'number-visibility - - \property Voice.TupletBracket \override #'bracket-visibility = ##t - \property Voice.TupletBracket \override #'edge-height = #'(0.0 . 0.0) - \property Voice.TupletBracket \override #'shorten-pair = #'(2.0 . 2.0) - \times 4/6 { c_"shorter, no edges" f b b f c} - \property Voice.TupletBracket \revert #'edge-height - \property Voice.TupletBracket \revert #'shorten-pair - \property Voice.TupletBracket \override #'bracket-flare = #'(0.5 . 0.5) - \times 2/3 { b^""^""^"angled edges" b b } - \property Voice.TupletBracket \revert #'direction - \times 2/3 { b b b } - - } -} +\context Voice \relative { + + \tuplet 3/2 { c'''8 c,, c } + \tuplet 3/2 { c'8 c'' c,, } + + \tuplet 3/2 { c8[^"NB" c c] } + + \tuplet 3/2 { c8^"B" c[ c] } + \tuplet 4/2 { r8_"B" c,[ c'] r8 } + + \override TupletBracket.bracket-visibility = #'if-no-beam + \tuplet 3/2 { c8[ c c] } + + \tupletUp + \omit TupletNumber + \tuplet 3/2 { c8^"up, no digit" c[ c] } + \undo \omit TupletNumber + + \override TupletBracket.bracket-visibility = ##t + \override TupletBracket.edge-height = #'(0 . 0) + \override TupletBracket.shorten-pair = #'(2.0 . 2.0) + \tuplet 6/4 { c_"shorter, no edges" f b b f c} + \revert TupletBracket.edge-height + \revert TupletBracket.shorten-pair + + \override TupletBracket.bracket-flare = #'(0.5 . 0.5) + \tuplet 3/2 { b^"angled edges" b b } + \tupletNeutral + \tuplet 3/2 { b b b } +}