Massive changes - see ChangeLog.
[lilypond.git] / input / regression / tuplet-properties.ly
blob0209fe7747469bf03f660047387da3bd2885124b
1 #(ly:set-option 'old-relative)
2 \header {
3 texidoc = "Tuplet bracket formatting supports numerous options:
4 NB should have no bracket, B should have bracket.
9 \version "1.9.0"
12 \score {
13 \context Voice \notes\relative c'' {
15 \times 2/3 { c'8 c,, c }
16 \times 2/3 { c'8 c'' c,, }
19 \times 2/3 { c8-[^"NB" c c] }
21 \times 2/3 { c8^"B" c-[ c] }
22 \times 2/4 { r8_"B" c,-[ c'] r8 }
24 \property Voice.TupletBracket \override #'bracket-visibility = #'if-no-beam
25 \times 2/3 { c8-[ c c] }
27 \property Voice.TupletBracket \override #'direction = #1
28 \property Voice.TupletBracket \override #'number-visibility = ##f
29 \times 2/3 { c8^""^""^"up, no digit" c-[ c] }
30 \property Voice.TupletBracket \revert #'number-visibility
32 \property Voice.TupletBracket \override #'bracket-visibility = ##t
33 \property Voice.TupletBracket \override #'edge-height = #'(0.0 . 0.0)
34 \property Voice.TupletBracket \override #'shorten-pair = #'(2.0 . 2.0)
35 \times 4/6 { c_"shorter, no edges" f b b f c}
36 \property Voice.TupletBracket \revert #'edge-height
37 \property Voice.TupletBracket \revert #'shorten-pair
38 \property Voice.TupletBracket \override #'bracket-flare = #'(0.5 . 0.5)
39 \times 2/3 { b^""^""^"angled edges" b b }
40 \property Voice.TupletBracket \revert #'direction
41 \times 2/3 { b b b }