]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/beam-extreme.ly
release: 1.3.146
[lilypond.git] / input / regression / beam-extreme.ly
1 \version "1.3.146"
2 \header{
3 texidoc="
4 Beams should behave reasonably well, even under extreme circumstances.
5 Stems may be short, but noteheads should never touch the beam.  Note that
6 under normal circumstances, these beams would get knees here
7 Beam.auto-knee-gap was set to false.
8 "
9 }
10
11 \score{
12         \notes\relative c''{
13                 [g8 c c,]
14                 [c16 c'' a f]
15                 \stemUp 
16                 [c,,32 c'' a f]
17
18         }
19         \paper{
20                 linewidth=-1.
21                 \translator {
22                         \VoiceContext
23                         % If we want to test extreme beams,
24                         % we should not have them auto-kneed
25                         Beam \override #'auto-knee-gap = ##f
26                 }
27         }
28 }