]> git.donarmstrong.com Git - lilypond.git/blob - input/test/beam-neutral-direction.ly
2381f495005fb6340c9bc415315137e1c540b992
[lilypond.git] / input / test / beam-neutral-direction.ly
1
2 \version "1.9.4"
3 \header{
4         texidoc="@cindex Beam Neutral Direction
5 When a beam falls in the middle of the staff, LilyPond normally
6 prints the beam pointing down.  However, this behaviour can be
7 altered if desired.
8 " }
9
10 fragment = \notes {
11    b''8[ b]
12   \property Voice.Beam \set #'neutral-direction = #-1
13    b[ b]
14   \property Voice.Beam \set #'neutral-direction = #1
15    b[ b]
16 }
17
18 \paper { raggedright = ##t} 
19
20 \score {
21   \notes\relative c \fragment
22   \paper {raggedright = ##t }  
23 }
24