]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/user/cheatsheet.itely
* Documentation/user/changing-defaults.itely (Page layout):
[lilypond.git] / Documentation / user / cheatsheet.itely
index f97a38c262193bae149a17e177938998b231908b..6b92acf663fea3130e64eeeab89f59db5f8a2e40 100644 (file)
@@ -1,5 +1,8 @@
 @c -*-texinfo-*-
 
+
+@c TODO: add tablature.
+
 @node Cheat sheet
 @appendix Cheat sheet
 
@@ -13,7 +16,7 @@
 @item @code{1 2 8 16}
 @tab durations 
 @tab
-@lilypond[relative=2,notime]
+@lilypond[fragment,relative=2,notime]
 \set Staff.autoBeaming = ##f
 \set Staff.Clef = \turnOff
 c1 c2 c8 c16
@@ -22,7 +25,7 @@ c1 c2 c8 c16
 @item @code{c4. c4..}
 @tab augmentation dots
 @tab
-@lilypond[relative=2,notime]
+@lilypond[fragment,relative=2,notime]
 \set Staff.Clef = \turnOff
 c4. c4..  
 @end lilypond
@@ -30,21 +33,21 @@ c4. c4..
 @item @code{c d e f g a b }
 @tab scale 
 @tab
-@lilypond[relative=1,notime]
+@lilypond[fragment,relative=1,notime]
 c d e f g a b
 @end lilypond
 
 @item @code{fis bes}
 @tab alteration 
 @tab
-@lilypond[relative=1,notime]
+@lilypond[fragment,relative=1,notime]
 fis bes
 @end lilypond
 
 @item @code{\clef treble \clef bass }
 @tab clefs
 @tab
-@lilypond[notime]
+@lilypond[fragment,notime]
 \clef treble
 s4_" "
 \clef bass
@@ -54,7 +57,7 @@ s4_" "
 @item @code{\time 3/4 \time 4/4 }
 @tab time signature
 @tab
-@lilypond
+@lilypond[fragment]
 \override Staff.Clef   #'transparent = ##t 
 \time 3/4
 s4_" "
@@ -66,7 +69,7 @@ s16_" "
 @item @code{r4 r8}
 @tab rest 
 @tab
-@lilypond[relative=2,notime]
+@lilypond[relative=2,notime,fragment]
 \set Staff.Clef = \turnOff
 r4 r8
 @end lilypond
@@ -74,7 +77,7 @@ r4 r8
 @item @code{d ~ d}
 @tab tie
 @tab
-@lilypond[relative=2,notime]
+@lilypond[relative=2,notime,fragment]
 \set Score.timing = ##f
 \set Staff.autoBeaming = ##f
 d ~ d
@@ -83,7 +86,7 @@ d ~ d
 @item @code{\key es \major }
 @tab key signature
 @tab
-@lilypond[notime]
+@lilypond[notime,fragment]
 \clef treble
 \key es \major
 s4 
@@ -92,7 +95,7 @@ s4
 @item @var{note}@code{'}
 @tab raise octave
 @tab
-@lilypond[relative=2,notime]
+@lilypond[relative=2,notime,fragment]
 \set Score.timing = ##f
 \set Staff.autoBeaming = ##f
 a a'
@@ -101,7 +104,7 @@ a a'
 @item @var{note}@code{,}
 @tab lower octave
 @tab
-@lilypond[relative=2,notime]
+@lilypond[relative=2,notime,fragment]
 \set Score.timing = ##f
 \set Staff.autoBeaming = ##f
 c c,
@@ -168,7 +171,7 @@ c\mf c\sfz
 @end lilypond
 
 
-@item @code{a\< b\!}
+@item @code{a\< a \!a}
 @tab crescendo
 @tab
 @lilypond[fragment,relative=2]
@@ -178,7 +181,7 @@ c\mf c\sfz
 a\< a \!a
 @end lilypond
 
-@item @code{a\> b\!}
+@item @code{a\> a a\!}
 @tab decrescendo
 @tab
 @lilypond[fragment,relative=2]
@@ -201,8 +204,8 @@ a\> a a\!
 @tab upstep
 @tab
 @lilypond[fragment,relative=2]
-  \partial 8
-  f8 c2 d e
+\partial 8
+f8 c2 d e
 @end lilypond
 
 
@@ -210,7 +213,7 @@ a\> a a\!
 @tab triplets
 @tab
 @lilypond[relative=1,fragment]
-  \times 2/3 { f8 g a }
+\times 2/3 { f8 g a }
 @end lilypond
 
 
@@ -218,10 +221,10 @@ a\> a a\!
 @tab grace notes
 @tab
 @lilypond[relative=2,fragment]
-\context Voice {  \grace b16 c4 }
+\context Voice { \grace b16 c4 }
 @end lilypond
 
-@item @code{\lyrics @{ twinkle @}}
+@item @code{\lyricmode @{ twinkle @}}
 @tab entering lyrics
 @tab
 
@@ -231,30 +234,31 @@ a\> a a\!
 @tab
 twinkle
 @lilypond[fragment]
-\lyrics \new Lyrics { twinkle }
+\new Lyrics \lyricmode { twinkle }
 @end lilypond
 
 @item @code{twin -- kle}
 @tab lyric hyphen 
 @tab
 @lilypond[fragment,relative=2]
- << \notes { g'4 g }
-    \lyricsto "" \new Lyrics \lyrics {  twin -- kle }
-    >> 
+<<
+   { g'4 g }
+  \lyricsto "" \new Lyrics { twin -- kle }
+>> 
 @end lilypond
 
-@item @code{\chords @{ c:dim f:maj7 @}}
+@item @code{\chordmode @{ c:dim f:maj7 @}}
 @tab chords 
 @tab
 @lilypond[fragment,relative=2]
-  \chords { c:dim f:maj7 }
+\chordmode { c:dim f:maj7 }
 @end lilypond
 
 @item @code{\context ChordNames}
 @tab printing chord names 
 @tab
 @lilypond[fragment,relative=2]
-  \context ChordNames \chords { c:dim f:maj7 }
+\context ChordNames \chordmode { c:dim f:maj7 }
 @end lilypond
 
 @item @code{<<@{e f@} \\@{c d@}>>}