X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fregression%2Ftuplet-properties.ly;h=6d7ab0ddd555e583bf7b1ab5a144f7075fab70e4;hb=5564a8ee55ff88bcad109ef80e204373d04c8375;hp=789e680455314c5450f9de0d8c6c9b65315f7dd0;hpb=15e565fef41ab50d140c3028bc6d9cff1a43a56a;p=lilypond.git diff --git a/input/regression/tuplet-properties.ly b/input/regression/tuplet-properties.ly index 789e680455..6d7ab0ddd5 100644 --- a/input/regression/tuplet-properties.ly +++ b/input/regression/tuplet-properties.ly @@ -1,44 +1,38 @@ +\version "2.14.0" + \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.16" - - -\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 #'edge-widen = #'(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 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 #'stencil = ##f + \times 2/3 { c8^""^""^"up, no digit" c[ c] } + \revert TupletNumber #'stencil + + \override TupletBracket #'bracket-visibility = ##t + \override TupletBracket #'edge-height = #'(0 . 0) + \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 } } -%% new-chords-done %%