]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/beam-extreme.ly
Docs: run convert-ly for 2.14.0.
[lilypond.git] / input / regression / beam-extreme.ly
1
2 \version "2.14.0"
3 \header{
4 texidoc="
5 Beams should behave reasonably well, even under extreme circumstances.
6 Stems may be short, but noteheads should never touch the beam.  Note that
7 under normal circumstances, these beams would get knees.  Here
8 @code{Beam.auto-knee-gap} was set to false.
9 "
10 }
11
12 \layout{
13   %%    ragged-right = ##t
14   ragged-right = ##t
15 }
16
17 extreme = \relative c'' {
18   \stemNeutral
19    g8[ c c,]
20    c16[ c'' a f]
21   \stemUp 
22    c,,32[ c'' a f]
23
24   %%%%%%%
25   \stemNeutral
26   \times 2/3{ d16[ fis' d,]} \times 2/3{ cis[ g'' cis,,]}
27   a'16 cis a, g''' % Used to give a nice beam directed upwards.
28   \stemNeutral
29
30   \transpose c c {
31           \stemDown  e'8[ e e']
32       }
33 }
34
35 {
36                                 % If we want to test extreme beams,
37                                 % we should not have them auto-kneed
38   \override Beam  #'auto-knee-gap = ##f
39   \extreme
40 }