X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fregression%2Ftuplet-properties.ly;h=06681150f5861690ab2cf09b59309c439bfb3e28;hb=5532801f30af2000fa4085e2e3853efe2f6b095b;hp=ef7f0871e10c12a0e630c4790f5dd53d81e595b9;hpb=df8f3a0336bb58a017ed5c7ff0019d8314b4de1b;p=lilypond.git diff --git a/input/regression/tuplet-properties.ly b/input/regression/tuplet-properties.ly index ef7f0871e1..06681150f5 100644 --- a/input/regression/tuplet-properties.ly +++ b/input/regression/tuplet-properties.ly @@ -1,44 +1,44 @@ + \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 } - - } + + +\version "2.12.0" + + + +\context Voice \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 } + + \override TupletBracket #'bracket-visibility = #'if-no-beam + \times 2/3 { c8[ c c] } + + \tupletUp + \override TupletNumber #'transparent = ##t + \times 2/3 { c8^""^""^"up, no digit" c[ c] } + \revert TupletNumber #'transparent + + \override TupletBracket #'bracket-visibility = ##t + \override TupletBracket #'shorten-pair = #'(2.0 . 2.0) + \times 4/6 { 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) + \times 2/3 { b^""^""^"angled edges" b b } + \tupletNeutral + \times 2/3 { b b b } + } +