]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/user/cheatsheet.itely
updates
[lilypond.git] / Documentation / user / cheatsheet.itely
1 @c -*-texinfo-*-
2
3 @node Cheat sheet
4 @appendix Cheat sheet
5
6
7 @multitable @columnfractions  .3 .3 .4  
8
9 @item @b{Syntax}
10 @tab @b{Description}
11 @tab @b{Example}
12
13 @item @code{1 2 8 16}
14 @tab durations 
15 @tab
16 @lilypond[relative 1, notime]
17 \property Staff.autoBeaming = ##f
18 \property Staff.Clef = \turnOff
19 c1 c2 c8 c16
20 @end lilypond
21
22 @item @code{. ..}
23 @tab augmentation dots
24 @tab
25 @lilypond[relative 1, notime]
26 \property Staff.Clef = \turnOff
27 c4. c4..  
28 @end lilypond
29
30 @item @code{c d e f g a b }
31 @tab scale 
32 @tab
33 @lilypond[relative 1, notime]
34 \property Staff.Clef = \turnOff
35 c d e f g a b
36 @end lilypond
37
38 @item @code{\clef treble \clef bass }
39 @tab clefs
40 @tab
41 @lilypond[notime]
42 \clef treble
43 s4_" "
44 \clef bass
45 s4_" "
46 @end lilypond
47
48 @item @code{\time 3/4 \time 4/4 }
49 @tab time signature
50 @tab
51 @lilypond
52 \property Staff.Clef \set #'transparent = ##t 
53 \time 3/4
54 s4_" "
55 \time 4/4
56 s16_" "
57 @end lilypond
58
59
60 @item @code{r4 r8}
61 @tab rest 
62 @tab
63 @lilypond[relative 1, notime]
64 \property Staff.Clef = \turnOff
65 r4 r8
66 @end lilypond
67
68 @item @code{~}
69 @tab tie
70 @tab
71 @lilypond[relative 1, notime]
72 \property Score.timing = ##f
73 \property Staff.autoBeaming = ##f
74 \property Staff.Clef = \turnOff
75 d ~ d
76 @end lilypond
77
78 @item @code{\key es \major }
79 @tab key signature
80 @tab
81 @lilypond[notime]
82 \clef treble
83 \key es \major
84 s4 
85 @end lilypond
86
87 @item @var{note}@code{'}
88 @tab raise octave
89 @tab
90 @lilypond[relative 1, notime]
91 \property Score.timing = ##f
92 \property Staff.autoBeaming = ##f
93 \property Staff.Clef = \turnOff
94 a a'
95 @end lilypond
96
97 @item @var{note}@code{,}
98 @tab lower octave
99 @tab
100 @lilypond[relative 1, notime]
101 \property Score.timing = ##f
102 \property Staff.autoBeaming = ##f
103 \property Staff.Clef = \turnOff
104 c c,
105 @end lilypond
106
107
108 @item @code{( )}
109 @tab slur
110 @tab
111 @lilypond[fragment, relative 1]
112 \property Score.timing = ##f
113 \property Staff.TimeSignature = \turnOff
114 \property Staff.autoBeaming = ##f
115 \property Staff.Clef = \turnOff
116 c-( d e-)
117 @end lilypond
118
119
120 @item @code{\( \)}
121 @tab phrasing slur
122 @tab
123 @lilypond[fragment, relative 1]
124 \property Score.timing = ##f
125 \property Staff.TimeSignature = \turnOff
126 \property Staff.autoBeaming = ##f
127 \property Staff.Clef = \turnOff
128 c-\(  c-( d-) e-\)
129 @end lilypond
130
131
132 @item @code{[ ]}
133 @tab beam
134 @tab
135 @lilypond[fragment, relative 1]
136 \property Score.timing = ##f
137 \property Staff.TimeSignature = \turnOff
138 \property Staff.autoBeaming = ##f
139 \property Staff.Clef = \turnOff
140 a8-[ b-]
141 @end lilypond
142
143
144 @item @code{< \context Staff ... >}
145 @tab more staffs
146 @tab
147 @lilypond[fragment]
148 < \context Staff = SA { c'1 }
149   \context Staff = SB { c'1 } >
150 @end lilypond
151
152   
153 @item @code{-> -.}
154 @tab articulations
155 @tab
156 @lilypond[fragment, relative 1]
157 \property Staff.TimeSignature = \turnOff
158 \property Staff.Clef = \turnOff
159 c-> c-.
160 @end lilypond
161
162
163 @item @code{-\mf -\sfz}
164 @tab dynamics
165 @tab
166 @lilypond[fragment, relative 1]
167 \property Staff.TimeSignature = \turnOff
168 \property Staff.Clef = \turnOff
169 c-\mf c-\sfz
170 @end lilypond
171
172
173 @item @code{\< \!}
174 @tab crescendo
175 @tab
176 @lilypond[fragment, relative 1]
177 \property Score.timing = ##f
178 \property Staff.TimeSignature = \turnOff
179 \property Staff.autoBeaming = ##f
180 \property Staff.Clef = \turnOff
181 a\< a \!a
182 @end lilypond
183
184 @item @code{\> \!}
185 @tab decrescendo
186 @tab
187 @lilypond[fragment, relative 1]
188 \property Score.timing = ##f
189 \property Staff.TimeSignature = \turnOff
190 \property Staff.autoBeaming = ##f
191 \property Staff.Clef = \turnOff
192 a-\> a a-\!
193 @end lilypond
194
195
196 @item @code{<< >>}
197 @tab chord
198 @tab
199 @lilypond[fragment, relative 1]
200 <<c e>> 
201 @end lilypond
202
203
204 @item @code{\partial 8}
205 @tab upstep
206 @tab
207 @lilypond[fragment]
208   \partial 8
209   f8 c2 d e
210 @end lilypond 
211
212
213 @item @code{\times 2/3}
214 @tab triplets
215 @tab
216 @lilypond[relative 1,verbatim,fragment]
217   \times 2/3 { f8 g a }
218 @end lilypond
219
220 @item @code{\lyrics @{ @dots{} @}}
221 @tab entering lyrics
222 @tab
223
224 @item @code{\context Lyrics}
225 @tab printing lyrics
226 @tab
227
228 @item @code{twin -- kle}
229 @tab lyric hyphen 
230 @tab
231 @lilypond[fragment,relative 1]
232 \addlyrics \notes { g'4 g }
233   \context Lyrics \lyrics {  twin -- kle }
234 @end lilypond 
235
236 @item @code{\chords @{ c:dim f:maj7 @}}
237 @tab chords 
238 @tab
239 @lilypond[fragment,relative 1]
240   \chords { c:dim f:maj7 }
241 @end lilypond 
242
243 @item @code{\context ChordNames}
244 @tab printing chord names 
245 @tab
246 @lilypond[fragment,relative 1]
247   \context ChordNames \chords { c:dim f:maj7 }
248 @end lilypond 
249
250 @end multitable
251