]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/tuplet-bracket-outside-staff-priority.ly
Imported Upstream version 2.16.0
[lilypond.git] / input / regression / tuplet-bracket-outside-staff-priority.ly
1 \version "2.16.0"
2 \header {
3
4   texidoc = "Tuplet brackets' outside staff priority can be
5 set.  Brackets, by default, carry their numbers with them."
6
7 }
8
9 \relative c'' {
10   \override TupletBracket #'avoid-scripts = ##f
11   % Plain old tuplet
12   \times 2/3 { a8 r a }
13   % With nothing set, collisions abound both horizontally and
14   % vertically
15   \times 2/3 { a8^\espressivo r a^\espressivo }
16   % Setting the staff priority prevents collisions
17   \override TupletBracket #'outside-staff-priority = #1
18   \times 2/3 { a8^\espressivo r a^\espressivo }
19   % Note that, with the outside-staff-priority set, this bracket
20   % should be at the same vertical level as the first one
21   \times 2/3 { a8 r a }
22 }