]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/notation/cheatsheet.itely
711be9782ad8f0bcc30b4d2b4ba6bad3cb6078b1
[lilypond.git] / Documentation / notation / cheatsheet.itely
1 @c -*- coding: utf-8; mode: texinfo; -*-
2
3 @ignore
4     Translation of GIT committish: FILL-IN-HEAD-COMMITTISH
5
6     When revising a translation, copy the HEAD committish of the
7     version that you are working on.  For details, see the Contributors'
8     Guide, node Updating translation committishes..
9 @end ignore
10
11 @c \version "2.17.11"
12
13
14 @c TODO: add tablature.
15
16 @node Cheat sheet
17 @appendix Cheat sheet
18
19
20 @multitable @columnfractions .35 .3 .35
21
22 @item @b{Syntax}
23 @tab @b{Description}
24 @tab @b{Example}
25
26 @item @code{1 2 8 16}
27 @tab durations
28 @tab
29 @lilypond[relative=2,notime]
30 \set Staff.autoBeaming = ##f
31 \override Staff.Clef.break-visibility = #all-invisible
32 c1 c2 c8 c16
33 @end lilypond
34
35 @item @code{c4. c4..}
36 @tab augmentation dots
37 @tab
38 @lilypond[relative=2,notime]
39 \override Staff.Clef.break-visibility = #all-invisible
40 c4. c4..
41 @end lilypond
42
43 @item @code{c d e f g a b }
44 @tab scale
45 @tab
46 @lilypond[relative=1,notime]
47 c d e f g a b
48 @end lilypond
49
50 @item @code{fis bes}
51 @tab alteration
52 @tab
53 @lilypond[relative=1,notime]
54 fis bes
55 @end lilypond
56
57 @item @code{\clef treble \clef bass }
58 @tab clefs
59 @tab
60 @lilypond[relative=1,notime]
61 \clef treble
62 s4_" "
63 \clef bass
64 s4_" "
65 @end lilypond
66
67 @item @code{\time 3/4 \time 4/4 }
68 @tab time signature
69 @tab
70 @lilypond[relative=1]
71 \override Staff.Clef.stencil = #empty-stencil
72 \time 3/4
73 s4_" "
74 \time 4/4
75 s16_" "
76 @end lilypond
77
78
79 @item @code{r4 r8}
80 @tab rest
81 @tab
82 @lilypond[relative=2,notime]
83 \override Staff.Clef.break-visibility = #all-invisible
84 r4 r8
85 @end lilypond
86
87 @item @code{d ~ d}
88 @tab tie
89 @tab
90 @lilypond[relative=2,notime]
91 \set Score.timing = ##f
92 \set Staff.autoBeaming = ##f
93 d ~ d
94 @end lilypond
95
96 @item @code{\key es \major }
97 @tab key signature
98 @tab
99 @lilypond[notime,relative=1]
100 \clef treble
101 \key es \major
102 \hideNotes
103 c128
104 @end lilypond
105
106 @item @var{note}@code{'}
107 @tab raise octave
108 @tab
109 @lilypond[relative=2,notime]
110 \set Score.timing = ##f
111 \set Staff.autoBeaming = ##f
112 a a'
113 @end lilypond
114
115 @item @var{note}@code{,}
116 @tab lower octave
117 @tab
118 @lilypond[relative=2,notime]
119 \set Score.timing = ##f
120 \set Staff.autoBeaming = ##f
121 c c,
122 @end lilypond
123
124
125 @item @code{c( d e)}
126 @tab slur
127 @tab
128 @lilypond[relative=2]
129 \set Score.timing = ##f
130 \set Staff.implicitTimeSignatureVisibility = #all-invisible
131 \set Staff.autoBeaming = ##f
132 c( d e)
133 @end lilypond
134
135
136 @item @code{c\( c( d) e\)}
137 @tab phrasing slur
138 @tab
139 @lilypond[relative=2]
140 \set Score.timing = ##f
141 \set Staff.implicitTimeSignatureVisibility = #all-invisible
142 \set Staff.autoBeaming = ##f
143 c\( c( d) e\)
144 @end lilypond
145
146
147 @item @code{a8[ b]}
148 @tab beam
149 @tab
150 @lilypond[relative=2]
151 \set Score.timing = ##f
152 \set Staff.implicitTimeSignatureVisibility = #all-invisible
153 \set Staff.autoBeaming = ##f
154 a8-[ b-]
155 @end lilypond
156
157
158 @item @code{<< \new Staff @dots{} >>}
159 @tab more staves
160 @tab
161 @lilypond[relative=1]
162 << \new Staff {
163      \set Staff.implicitTimeSignatureVisibility = #all-invisible
164      c1
165    }
166    \new Staff {
167      \set Staff.implicitTimeSignatureVisibility = #all-invisible
168      c1
169    } >>
170 @end lilypond
171
172
173 @item @code{c-> c-.}
174 @tab articulations
175 @tab
176 @lilypond[relative=2]
177 \set Staff.implicitTimeSignatureVisibility = #all-invisible
178 c-> c-.
179 @end lilypond
180
181
182 @item @code{c2\mf c\sfz}
183 @tab dynamics
184 @tab
185 @lilypond[relative=2]
186 \set Staff.implicitTimeSignatureVisibility = #all-invisible
187 c2\mf c\sfz
188 @end lilypond
189
190
191 @item @code{a\< a a\!}
192 @tab crescendo
193 @tab
194 @lilypond[relative=2]
195 \set Score.timing = ##f
196 \set Staff.implicitTimeSignatureVisibility = #all-invisible
197 \set Staff.autoBeaming = ##f
198 a\< a a\!
199 @end lilypond
200
201 @item @code{a\> a a\!}
202 @tab decrescendo
203 @tab
204 @lilypond[relative=2]
205 \set Score.timing = ##f
206 \set Staff.implicitTimeSignatureVisibility = #all-invisible
207 \set Staff.autoBeaming = ##f
208 a\> a a\!
209 @end lilypond
210
211
212 @item @code{< >}
213 @tab chord
214 @tab
215 @lilypond[relative=2]
216 \set Staff.implicitTimeSignatureVisibility = #all-invisible
217 <c e>
218 @end lilypond
219
220
221 @item @code{\partial 8}
222 @tab pickup / upbeat
223 @tab
224 @lilypond[relative=2]
225 \partial 8
226 f8 c2 d e
227 @end lilypond
228
229
230 @item @code{\tuplet 3/2 @{f g a@}}
231 @tab triplets
232 @tab
233 @lilypond[relative=1]
234 \set Staff.implicitTimeSignatureVisibility = #all-invisible
235 \tuplet 3/2 { f8 g a }
236 @end lilypond
237
238
239 @item @code{\grace}
240 @tab grace notes
241 @tab
242 @lilypond[relative=2]
243 \set Staff.implicitTimeSignatureVisibility = #all-invisible
244 \context Voice { \grace b16 c4 }
245 @end lilypond
246
247 @item @code{\lyricmode @{ twinkle @}}
248 @tab entering lyrics
249 @tab
250 twinkle
251
252
253 @item @code{\new Lyrics}
254 @tab printing lyrics
255 @tab
256 @lilypond[relative=1]
257 \new Lyrics \lyricmode { twinkle }
258 @end lilypond
259
260 @item @code{twin -- kle}
261 @tab lyric hyphen
262 @tab
263 @lilypond[relative=2]
264 \set Staff.implicitTimeSignatureVisibility = #all-invisible
265 <<
266    { g'1 g }
267   \new Lyrics \lyricsto "" { twin -- kle }
268 >>
269 @end lilypond
270
271 @item @code{\chordmode @{ c:dim f:maj7 @}}
272 @tab chords
273 @tab
274 @lilypond[relative=2]
275 \set Staff.implicitTimeSignatureVisibility = #all-invisible
276 \chordmode { c:dim f:maj7 }
277 @end lilypond
278
279 @item @code{\context ChordNames}
280 @tab printing chord names
281 @tab
282 @lilypond[relative=2]
283 \chords { c:dim f:maj7 }
284 @end lilypond
285
286 @item @code{<<@{e f@} \\ @{c d@}>>}
287 @tab polyphony
288 @tab
289 @lilypond[relative=2]
290 \set Staff.implicitTimeSignatureVisibility = #all-invisible
291 \context Staff <<{e f} \\ {c d}>>
292 @end lilypond
293
294
295 @item @code{s4 s8 s16}
296 @tab spacer rests
297 @tab
298
299 @end multitable
300