]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/tuplet-number-kneed-beam-horizontal-fit.ly
Merge remote-tracking branch 'origin/translation' into staging
[lilypond.git] / input / regression / tuplet-number-kneed-beam-horizontal-fit.ly
1 \version "2.19.3"
2
3 \header {
4   texidoc = "Tuplet numbers are placed next to the beam unless there is
5 insufficient horizontal space for them, in which case bracket-based
6 positioning is used and a programming error is issued.
7
8 The first tuplet number should be between stems; the second should be
9 below the noteheads."
10 }
11
12 #(ly:expect-warning (_ "not enough space for tuplet number against beam"))
13 #(ly:expect-warning (_ "not enough space for tuplet number against beam"))
14
15 \layout {
16   indent = 0
17   ragged-right = ##t
18 }
19
20 \score {
21   \relative c' {
22     \time 2/4
23     \override Beam.auto-knee-gap = 1
24     \tuplet 6/4 4 {
25       \once \override TupletNumber.text =
26         #tuplet-number::calc-fraction-text
27       c16 c'' c,, c'' c,, c''
28       \once \override TupletNumber.text =
29         #(tuplet-number::fraction-with-notes "16" "16")
30       c,,16 c'' c,, c'' c,, c''
31     }
32   }
33 }