]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/tuplet-bracket-outside-staff-priority.ly
Issue 5167/6: Changes: show \markup xxx = ... \etc assignments
[lilypond.git] / input / regression / tuplet-bracket-outside-staff-priority.ly
1 \version "2.19.21"
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 {
10   \override TupletBracket.avoid-scripts = ##f
11   % Plain old tuplet
12   \tuplet 3/2 { a'8 r a }
13   % With nothing set, collisions abound both horizontally and
14   % vertically
15   \tuplet 3/2 { a8^\espressivo r a^\espressivo }
16   % Setting the staff priority prevents collisions
17   \override TupletBracket.outside-staff-priority = #1
18   \tuplet 3/2 { 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   \tuplet 3/2 { a8 r a }
22 }