X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fregression%2Ftuplet-properties.ly;h=06681150f5861690ab2cf09b59309c439bfb3e28;hb=dcab4f0a3ce9ab526bce4777d9cba36c3d81201c;hp=0209fe7747469bf03f660047387da3bd2885124b;hpb=955f829883aa125b2b633b1e71f6256da5b773fa;p=lilypond.git diff --git a/input/regression/tuplet-properties.ly b/input/regression/tuplet-properties.ly index 0209fe7747..06681150f5 100644 --- a/input/regression/tuplet-properties.ly +++ b/input/regression/tuplet-properties.ly @@ -1,45 +1,44 @@ -#(ly:set-option 'old-relative) + \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.9.0" - - -\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 } + } +