]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/user/cheatsheet.itely
(Editor support): Fix typo.
[lilypond.git] / Documentation / user / cheatsheet.itely
index 8508c016061345cbfe1c132971125f0f0b4fa720..44507391ddc2219d6682da190bef84185192d24c 100644 (file)
 @item @code{1 2 8 16}
 @tab durations 
 @tab
-@lilypond[relative 1, notime]
+@lilypond[relative=1,notime]
 \property Staff.autoBeaming = ##f
 \property Staff.Clef = \turnOff
 c1 c2 c8 c16
 @end lilypond
 
-@item @code{..}
+@item @code{c4. c4..}
 @tab augmentation dots
 @tab
-@lilypond[relative 1, notime]
+@lilypond[relative=1,notime]
 \property Staff.Clef = \turnOff
 c4. c4..  
 @end lilypond
@@ -30,16 +30,14 @@ c4. c4..
 @item @code{c d e f g a b }
 @tab scale 
 @tab
-@lilypond[relative 1, notime]
-\property Staff.Clef = \turnOff
+@lilypond[relative=1,notime]
 c d e f g a b
 @end lilypond
 
 @item @code{fis bes}
 @tab alteration 
 @tab
-@lilypond[relative 1, notime]
-\property Staff.Clef = \turnOff
+@lilypond[relative,notime]
 fis bes
 @end lilypond
 
@@ -68,18 +66,17 @@ s16_" "
 @item @code{r4 r8}
 @tab rest 
 @tab
-@lilypond[relative 1, notime]
+@lilypond[relative=1,notime]
 \property Staff.Clef = \turnOff
 r4 r8
 @end lilypond
 
-@item @code{~}
+@item @code{d ~ d}
 @tab tie
 @tab
-@lilypond[relative 1, notime]
+@lilypond[relative=1,notime]
 \property Score.timing = ##f
 \property Staff.autoBeaming = ##f
-\property Staff.Clef = \turnOff
 d ~ d
 @end lilypond
 
@@ -95,136 +92,135 @@ s4
 @item @var{note}@code{'}
 @tab raise octave
 @tab
-@lilypond[relative 1, notime]
+@lilypond[relative=1,notime]
 \property Score.timing = ##f
 \property Staff.autoBeaming = ##f
-\property Staff.Clef = \turnOff
 a a'
 @end lilypond
 
 @item @var{note}@code{,}
 @tab lower octave
 @tab
-@lilypond[relative 1, notime]
+@lilypond[relative=1,notime]
 \property Score.timing = ##f
 \property Staff.autoBeaming = ##f
-\property Staff.Clef = \turnOff
 c c,
 @end lilypond
 
 
-@item @code{-( -)}
+@item @code{c( d e)}
 @tab slur
 @tab
-@lilypond[fragment, relative 1]
+@lilypond[fragment,relative=1]
 \property Score.timing = ##f
 \property Staff.TimeSignature = \turnOff
 \property Staff.autoBeaming = ##f
-\property Staff.Clef = \turnOff
-c-( d e-)
+c( d e)
 @end lilypond
 
 
-@item @code{-\( -\)}
+@item @code{c\( c( d) e\)}
 @tab phrasing slur
 @tab
-@lilypond[fragment, relative 1]
+@lilypond[fragment,relative=1]
 \property Score.timing = ##f
 \property Staff.TimeSignature = \turnOff
 \property Staff.autoBeaming = ##f
-\property Staff.Clef = \turnOff
-c-\(  c-( d-) e-\)
+c\(  c( d) e\)
 @end lilypond
 
 
-@item @code{-[ -]}
+@item @code{a8[ b]}
 @tab beam
 @tab
-@lilypond[fragment, relative 1]
+@lilypond[fragment,relative=1]
 \property Score.timing = ##f
 \property Staff.TimeSignature = \turnOff
 \property Staff.autoBeaming = ##f
-\property Staff.Clef = \turnOff
 a8-[ b-]
 @end lilypond
 
 
-@item @code{< \context Staff ... >}
-@tab more staffs
+@item @code{<< \new Staff ... >>}
+@tab more staves
 @tab
 @lilypond[fragment]
-< \context Staff = SA { c'1 }
-  \context Staff = SB { c'1 } >
+<< \new Staff { c'1 }
+  \new Staff { c'1 } >>
 @end lilypond
 
   
-@item @code{-> -.}
+@item @code{c-> c-.}
 @tab articulations
 @tab
-@lilypond[fragment, relative 1]
+@lilypond[fragment,relative=1]
 \property Staff.TimeSignature = \turnOff
-\property Staff.Clef = \turnOff
 c-> c-.
 @end lilypond
 
 
-@item @code{-\mf -\sfz}
+@item @code{c\mf c\sfz}
 @tab dynamics
 @tab
-@lilypond[fragment, relative 1]
+@lilypond[fragment,relative=1]
 \property Staff.TimeSignature = \turnOff
-\property Staff.Clef = \turnOff
-c-\mf c-\sfz
+c\mf c\sfz
 @end lilypond
 
 
-@item @code{-\< -\!}
+@item @code{a\< b\!}
 @tab crescendo
 @tab
-@lilypond[fragment, relative 1]
+@lilypond[fragment,relative=1]
 \property Score.timing = ##f
 \property Staff.TimeSignature = \turnOff
 \property Staff.autoBeaming = ##f
-\property Staff.Clef = \turnOff
 a\< a \!a
 @end lilypond
 
-@item @code{-\> -\!}
+@item @code{a\> b\!}
 @tab decrescendo
 @tab
-@lilypond[fragment, relative 1]
+@lilypond[fragment,relative=1]
 \property Score.timing = ##f
 \property Staff.TimeSignature = \turnOff
 \property Staff.autoBeaming = ##f
-\property Staff.Clef = \turnOff
-a-\> a a-\!
+a\> a a\!
 @end lilypond
 
 
-@item @code{<< >>}
+@item @code{< >}
 @tab chord
 @tab
-@lilypond[fragment, relative 1]
-<<c e>
+@lilypond[fragment,relative=1]
+<c e
 @end lilypond
 
 
 @item @code{\partial 8}
 @tab upstep
 @tab
-@lilypond[fragment]
+@lilypond[fragment,relative=1]
   \partial 8
   f8 c2 d e
 @end lilypond 
 
 
-@item @code{\times 2/3}
+@item @code{\times 2/3 @{f g a@}}
 @tab triplets
 @tab
-@lilypond[relative 1,fragment]
+@lilypond[relative=1,fragment]
   \times 2/3 { f8 g a }
 @end lilypond
 
+
+@item @code{\grace}
+@tab grace notes
+@tab
+@lilypond[relative=1,fragment]
+\context Voice {  \grace b16 c4 }
+@end lilypond
+
 @item @code{\lyrics @{ @dots{} @}}
 @tab entering lyrics
 @tab
@@ -236,24 +232,36 @@ a-\> a a-\!
 @item @code{twin -- kle}
 @tab lyric hyphen 
 @tab
-@lilypond[fragment,relative 1]
-\addlyrics \notes { g'4 g }
-  \context Lyrics \lyrics {  twin -- kle }
+@lilypond[fragment,relative=1]
+ \notes { g'4 g }
+  \lyricsto "" \new LyricsVoice \lyrics {  twin -- kle }
 @end lilypond 
 
 @item @code{\chords @{ c:dim f:maj7 @}}
 @tab chords 
 @tab
-@lilypond[fragment,relative 1]
+@lilypond[fragment,relative=1]
   \chords { c:dim f:maj7 }
 @end lilypond 
 
 @item @code{\context ChordNames}
 @tab printing chord names 
 @tab
-@lilypond[fragment,relative 1]
+@lilypond[fragment,relative=1]
   \context ChordNames \chords { c:dim f:maj7 }
 @end lilypond 
 
+@item @code{<<@{e f@} \\@{c d@}>>}
+@tab polyphony
+@tab
+@lilypond[fragment,relative=2]
+\context Staff <<{e f} \\ {c d}>>
+@end lilypond
+
+
+@item @code{s4 s8 s16}
+@tab spacer rests
+@tab
+
 @end multitable