]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/user/cheatsheet.itely
* stepmake/GNUmakefile.in: remove nested stepmake packaging stuff.
[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{fis bes}
39 @tab alteration 
40 @tab
41 @lilypond[relative 1, notime]
42 \property Staff.Clef = \turnOff
43 fis bes
44 @end lilypond
45
46 @item @code{\clef treble \clef bass }
47 @tab clefs
48 @tab
49 @lilypond[notime]
50 \clef treble
51 s4_" "
52 \clef bass
53 s4_" "
54 @end lilypond
55
56 @item @code{\time 3/4 \time 4/4 }
57 @tab time signature
58 @tab
59 @lilypond
60 \property Staff.Clef \set #'transparent = ##t 
61 \time 3/4
62 s4_" "
63 \time 4/4
64 s16_" "
65 @end lilypond
66
67
68 @item @code{r4 r8}
69 @tab rest 
70 @tab
71 @lilypond[relative 1, notime]
72 \property Staff.Clef = \turnOff
73 r4 r8
74 @end lilypond
75
76 @item @code{~}
77 @tab tie
78 @tab
79 @lilypond[relative 1, notime]
80 \property Score.timing = ##f
81 \property Staff.autoBeaming = ##f
82 \property Staff.Clef = \turnOff
83 d ~ d
84 @end lilypond
85
86 @item @code{\key es \major }
87 @tab key signature
88 @tab
89 @lilypond[notime]
90 \clef treble
91 \key es \major
92 s4 
93 @end lilypond
94
95 @item @var{note}@code{'}
96 @tab raise octave
97 @tab
98 @lilypond[relative 1, notime]
99 \property Score.timing = ##f
100 \property Staff.autoBeaming = ##f
101 \property Staff.Clef = \turnOff
102 a a'
103 @end lilypond
104
105 @item @var{note}@code{,}
106 @tab lower octave
107 @tab
108 @lilypond[relative 1, notime]
109 \property Score.timing = ##f
110 \property Staff.autoBeaming = ##f
111 \property Staff.Clef = \turnOff
112 c c,
113 @end lilypond
114
115
116 @item @code{( )}
117 @tab slur
118 @tab
119 @lilypond[fragment, relative 1]
120 \property Score.timing = ##f
121 \property Staff.TimeSignature = \turnOff
122 \property Staff.autoBeaming = ##f
123 \property Staff.Clef = \turnOff
124 c( d e)
125 @end lilypond
126
127
128 @item @code{\( \)}
129 @tab phrasing slur
130 @tab
131 @lilypond[fragment, relative 1]
132 \property Score.timing = ##f
133 \property Staff.TimeSignature = \turnOff
134 \property Staff.autoBeaming = ##f
135 \property Staff.Clef = \turnOff
136 c\(  c( d) e\)
137 @end lilypond
138
139
140 @item @code{-[ -]}
141 @tab beam
142 @tab
143 @lilypond[fragment, relative 1]
144 \property Score.timing = ##f
145 \property Staff.TimeSignature = \turnOff
146 \property Staff.autoBeaming = ##f
147 \property Staff.Clef = \turnOff
148 a8-[ b-]
149 @end lilypond
150
151
152 @item @code{<< \new Staff ... >>}
153 @tab more staves
154 @tab
155 @lilypond[fragment]
156 << \new Staff { c'1 }
157   \new Staff { c'1 } >>
158 @end lilypond
159
160   
161 @item @code{-> -.}
162 @tab articulations
163 @tab
164 @lilypond[fragment, relative 1]
165 \property Staff.TimeSignature = \turnOff
166 \property Staff.Clef = \turnOff
167 c-> c-.
168 @end lilypond
169
170
171 @item @code{\mf \sfz}
172 @tab dynamics
173 @tab
174 @lilypond[fragment, relative 1]
175 \property Staff.TimeSignature = \turnOff
176 \property Staff.Clef = \turnOff
177 c\mf c\sfz
178 @end lilypond
179
180
181 @item @code{\< \!}
182 @tab crescendo
183 @tab
184 @lilypond[fragment, relative 1]
185 \property Score.timing = ##f
186 \property Staff.TimeSignature = \turnOff
187 \property Staff.autoBeaming = ##f
188 \property Staff.Clef = \turnOff
189 a\< a \!a
190 @end lilypond
191
192 @item @code{\> \!}
193 @tab decrescendo
194 @tab
195 @lilypond[fragment, relative 1]
196 \property Score.timing = ##f
197 \property Staff.TimeSignature = \turnOff
198 \property Staff.autoBeaming = ##f
199 \property Staff.Clef = \turnOff
200 a\> a a\!
201 @end lilypond
202
203
204 @item @code{< >}
205 @tab chord
206 @tab
207 @lilypond[fragment, relative 1]
208 <c e> 
209 @end lilypond
210
211
212 @item @code{\partial 8}
213 @tab upstep
214 @tab
215 @lilypond[fragment,relative 1]
216   \partial 8
217   f8 c2 d e
218 @end lilypond 
219
220
221 @item @code{\times 2/3}
222 @tab triplets
223 @tab
224 @lilypond[relative 1,fragment]
225   \times 2/3 { f8 g a }
226 @end lilypond
227
228
229 @item @code{\grace}
230 @tab grace notes
231 @tab
232 @lilypond[relative 1,fragment]
233 \context Voice {  \grace b16 c4 }
234 @end lilypond
235
236 @item @code{\lyrics @{ @dots{} @}}
237 @tab entering lyrics
238 @tab
239
240 @item @code{\context Lyrics}
241 @tab printing lyrics
242 @tab
243
244 @item @code{twin -- kle}
245 @tab lyric hyphen 
246 @tab
247 @lilypond[fragment,relative 1]
248 \addlyrics \notes { g'4 g }
249   \context Lyrics \lyrics {  twin -- kle }
250 @end lilypond 
251
252 @item @code{\chords @{ c:dim f:maj7 @}}
253 @tab chords 
254 @tab
255 @lilypond[fragment,relative 1]
256   \chords { c:dim f:maj7 }
257 @end lilypond 
258
259 @item @code{\context ChordNames}
260 @tab printing chord names 
261 @tab
262 @lilypond[fragment,relative 1]
263   \context ChordNames \chords { c:dim f:maj7 }
264 @end lilypond 
265
266 @item @code{<< @dots{} \\ @dots{} >>}
267 @tab polyphony
268 @tab
269 @lilypond[fragment,relative 1]
270 \context Staff << c \\ g' >>
271 @end lilypond
272
273
274 @item @code{s4 s8 s16}
275 @tab spacer rests
276 @tab
277
278 @end multitable
279