]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/tuplet-number-kneed-beam-even-stem-count.ly
Improve positioning of tuplet numbers for kneed beams.
[lilypond.git] / input / regression / tuplet-number-kneed-beam-even-stem-count.ly
1 \version "2.19.3"
2
3 \header {
4   texidoc = "In tuplets with an even number of stems, the number
5 may be placed on either side of the beam when the central stems
6 point in different directions.  The exception to this is when
7 there is a fractional beam on one of the central stems, in which
8 case the number is placed opposite the partial beam."
9 }
10
11 \layout {
12   indent = 0
13   ragged-right = ##t
14 }
15
16 \relative c' {
17   \time 2/4
18   \override Beam.auto-knee-gap = 1
19   \tuplet 6/4 4 {
20     c16 c'' c,, c'' c,, c''
21     \once \override TupletNumber.direction = #UP
22     c,,16 c'' c,, c'' c,, c''
23   }
24   \time 6/16
25   \tuplet 4/3 8. {
26     c,,8. c''16
27     %% The following override has no effect:
28     \override TupletNumber.direction = #DOWN
29     c,,16 c''8.
30   }
31 }