]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/tuplet-properties.ly
Run scripts/auxiliar/update-with-convert-ly.sh
[lilypond.git] / input / regression / tuplet-properties.ly
1 \version "2.16.0"
2
3 \header {
4   texidoc = "Tuplet bracket formatting supports numerous options,
5 for instance, bracketed (B) and non-bracketed (NB).
6 "
7 }
8
9 \context Voice \relative c'' {
10
11   \times 2/3 { c'8 c,, c }
12   \times 2/3 { c'8 c'' c,, }
13
14   \times 2/3 { c8[^"NB" c c] }
15
16   \times 2/3 { c8^"B"  c[ c] }
17   \times 2/4 { r8_"B"  c,[ c'] r8 }
18
19   \override TupletBracket #'bracket-visibility = #'if-no-beam  
20   \times 2/3 { c8[ c c] }
21
22   \tupletUp
23   \override TupletNumber #'stencil = ##f
24   \times 2/3 { c8^""^""^"up, no digit" c[ c] }
25   \revert TupletNumber #'stencil
26
27   \override TupletBracket #'bracket-visibility = ##t
28   \override TupletBracket #'edge-height = #'(0 . 0)
29   \override TupletBracket #'shorten-pair = #'(2.0 . 2.0)
30   \times 4/6 { c_"shorter, no edges" f b  b f c}        
31   \revert TupletBracket #'edge-height
32   \revert TupletBracket #'shorten-pair
33
34   \override TupletBracket #'bracket-flare = #'(0.5 . 0.5)
35   \times 2/3 { b^""^""^"angled edges" b b }
36   \tupletNeutral
37   \times 2/3 { b b b }
38 }