LEFT | RIGHT |
1 \version "2.17.11" | 1 \version "2.17.11" |
2 \header { | 2 \header { |
3 | 3 |
4 texidoc = "Tuplet brackets' outside staff priority can be | 4 texidoc = "Tuplet brackets' outside staff priority can be |
5 set. Brackets, by default, carry their numbers with them." | 5 set. Brackets, by default, carry their numbers with them." |
6 | 6 |
7 } | 7 } |
8 | 8 |
9 \relative c'' { | 9 \relative c'' { |
10 \override TupletBracket.avoid-scripts = ##f | 10 \override TupletBracket.avoid-scripts = ##f |
11 % Plain old tuplet | 11 % Plain old tuplet |
12 \tuplet 3/2 { a8 r a } | 12 \tuplet 3/2 { a8 r a } |
13 % With nothing set, collisions abound both horizontally and | 13 % With nothing set, collisions abound both horizontally and |
14 % vertically | 14 % vertically |
15 \tuplet 3/2 { a8^\espressivo r a^\espressivo } | 15 \tuplet 3/2 { a8^\espressivo r a^\espressivo } |
16 % Setting the staff priority prevents collisions | 16 % Setting the staff priority prevents collisions |
17 \override TupletBracket.outside-staff-priority = #1 | 17 \tupletOutsideStaffPriority #1 |
18 \override TupletBracket.Y-offset = #ly:side-position-interface::outside-staff-
aligned-side | |
19 \tuplet 3/2 { a8^\espressivo r a^\espressivo } | 18 \tuplet 3/2 { a8^\espressivo r a^\espressivo } |
20 % Note that, with the outside-staff-priority set, this bracket | 19 % Note that, with the outside-staff-priority set, this bracket |
21 % should be at the same vertical level as the first one | 20 % should be at the same vertical level as the first one |
22 \tuplet 3/2 { a8 r a } | 21 \tuplet 3/2 { a8 r a } |
23 } | 22 } |
LEFT | RIGHT |