]> git.donarmstrong.com Git - lilypond.git/blob - input/test/beam-neutral-direction.ly
(conv): dashes rule.
[lilypond.git] / input / test / beam-neutral-direction.ly
1 #(ly:set-option 'old-relative)
2 \version "1.9.1"
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