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