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