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