]> git.donarmstrong.com Git - lilypond.git/blob - input/lsr/flat-flags-and-beam-nibs.ly
Merge branch 'master' into nested-bookparts
[lilypond.git] / input / lsr / flat-flags-and-beam-nibs.ly
1 %% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
2 %% This file is in the public domain.
3 \version "2.11.62"
4
5 \header {
6   lsrtags = "rhythms"
7
8   texidoc = "
9  Flat flags on lone notes and beam nibs at the ends of beamed figures
10 are both possible with a combination of @code{stemLeftBeamCount}, 
11 @code{stemRightBeamCount} and paired @code{[ ]} beam indicators.
12
13
14
15
16 For right-pointing flat flags on lone notes, use paired @code{[ ]} beam
17 indicators and set @code{stemLeftBeamCount} to zero (see Example 1).
18
19
20
21
22 For left-pointing flat flags, set @code{stemRightBeamCount} instead
23 (Example 2).
24
25
26
27
28 For right-pointing nibs at the end of a run of beamed notes, set
29 @code{stemRightBeamCount} to a positive value. And for left-pointing
30 nibs at the start of a run of beamed notes, set
31 @code{stemLeftBeamCount} instead (Example 3).
32
33
34
35
36 Sometimes it may make sense for a lone note surrounded by rests to
37 carry both a left- and right-pointing flat flag. Do this with paired
38 @code{[ ]} beam indicators alone (Example 4).  
39
40
41
42
43 (Note that @code{\\set stemLeftBeamCount}is always equivalent to 
44 @code{\\once \\set}.  In other words, the beam count settings aren't 
45 \"sticky\", so the pair of flat flags attached to the lone  @code{c'16
46 [ ]} in the last example have nothing to do with the  @code{\\set} two
47 notes prior.)
48
49
50
51
52 "
53   doctitle = "Flat flags and beam nibs"
54 } % begin verbatim
55
56 \score {
57 <<
58 % Example 1
59 \new RhythmicStaff {
60   \set stemLeftBeamCount = #0
61   c'16 [ ]
62   r8.
63 }
64
65 % Example 2
66 \new RhythmicStaff {
67   r8.
68   \set stemRightBeamCount = #0
69   c'16 [ ]
70 }
71
72 % Example 3
73 \new RhythmicStaff {
74   c'16
75   c'16
76   \set stemRightBeamCount = #2
77   c'16
78   r16
79   r16
80   \set stemLeftBeamCount = #2
81   c'16
82   c'16
83   c'16
84 }
85
86 % Example 4
87 \new RhythmicStaff {
88    c'16
89    c'16
90    \set stemRightBeamCount = #2
91    c'16
92    r16
93    c'16 [ ]
94    r16
95    \set stemLeftBeamCount = #2
96    c'16
97    c'16
98 }
99 >>
100 }