@c -*-texinfo-*-

@node Cheat sheet
@appendix Cheat sheet


@multitable @columnfractions  .3 .3 .4  

@item @b{Syntax}
@tab @b{Description}
@tab @b{Example}

@item @code{1 2 8 16}
@tab durations 
@tab
@lilypond[relative 1, notime]
\property Staff.autoBeaming = ##f
\property Staff.Clef = \turnOff
c1 c2 c8 c16
@end lilypond

@item @code{. ..}
@tab augmentation dots
@tab
@lilypond[relative 1, notime]
\property Staff.Clef = \turnOff
c4. c4..  
@end lilypond

@item @code{c d e f g a b }
@tab scale 
@tab
@lilypond[relative 1, notime]
\property Staff.Clef = \turnOff
c d e f g a b
@end lilypond

@item @code{fis bes}
@tab alteration 
@tab
@lilypond[relative 1, notime]
\property Staff.Clef = \turnOff
fis bes
@end lilypond

@item @code{\clef treble \clef bass }
@tab clefs
@tab
@lilypond[notime]
\clef treble
s4_" "
\clef bass
s4_" "
@end lilypond

@item @code{\time 3/4 \time 4/4 }
@tab time signature
@tab
@lilypond
\property Staff.Clef \set #'transparent = ##t 
\time 3/4
s4_" "
\time 4/4
s16_" "
@end lilypond


@item @code{r4 r8}
@tab rest 
@tab
@lilypond[relative 1, notime]
\property Staff.Clef = \turnOff
r4 r8
@end lilypond

@item @code{~}
@tab tie
@tab
@lilypond[relative 1, notime]
\property Score.timing = ##f
\property Staff.autoBeaming = ##f
\property Staff.Clef = \turnOff
d ~ d
@end lilypond

@item @code{\key es \major }
@tab key signature
@tab
@lilypond[notime]
\clef treble
\key es \major
s4 
@end lilypond

@item @var{note}@code{'}
@tab raise octave
@tab
@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]
\property Score.timing = ##f
\property Staff.autoBeaming = ##f
\property Staff.Clef = \turnOff
c c,
@end lilypond


@item @code{-( -)}
@tab slur
@tab
@lilypond[fragment, relative 1]
\property Score.timing = ##f
\property Staff.TimeSignature = \turnOff
\property Staff.autoBeaming = ##f
\property Staff.Clef = \turnOff
c-( d e-)
@end lilypond


@item @code{-\( -\)}
@tab phrasing slur
@tab
@lilypond[fragment, relative 1]
\property Score.timing = ##f
\property Staff.TimeSignature = \turnOff
\property Staff.autoBeaming = ##f
\property Staff.Clef = \turnOff
c-\(  c-( d-) e-\)
@end lilypond


@item @code{-[ -]}
@tab beam
@tab
@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 staves
@tab
@lilypond[fragment]
< \context Staff = SA { c'1 }
  \context Staff = SB { c'1 } >
@end lilypond

  
@item @code{-> -.}
@tab articulations
@tab
@lilypond[fragment, relative 1]
\property Staff.TimeSignature = \turnOff
\property Staff.Clef = \turnOff
c-> c-.
@end lilypond


@item @code{-\mf -\sfz}
@tab dynamics
@tab
@lilypond[fragment, relative 1]
\property Staff.TimeSignature = \turnOff
\property Staff.Clef = \turnOff
c-\mf c-\sfz
@end lilypond


@item @code{-\< -\!}
@tab crescendo
@tab
@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{-\> -\!}
@tab decrescendo
@tab
@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{<< >>}
@tab chord
@tab
@lilypond[fragment, relative 1]
<<c e>> 
@end lilypond


@item @code{\partial 8}
@tab upstep
@tab
@lilypond[fragment,relative 1]
  \partial 8
  f8 c2 d e
@end lilypond 


@item @code{\times 2/3}
@tab triplets
@tab
@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

@item @code{\context Lyrics}
@tab printing lyrics
@tab

@item @code{twin -- kle}
@tab lyric hyphen 
@tab
@lilypond[fragment,relative 1]
\addlyrics \notes { g'4 g }
  \context Lyrics \lyrics {  twin -- kle }
@end lilypond 

@item @code{\chords @{ c:dim f:maj7 @}}
@tab chords 
@tab
@lilypond[fragment,relative 1]
  \chords { c:dim f:maj7 }
@end lilypond 

@item @code{\context ChordNames}
@tab printing chord names 
@tab
@lilypond[fragment,relative 1]
  \context ChordNames \chords { c:dim f:maj7 }
@end lilypond 

@item @code{< @dots{} \\ @dots{} >}
@tab polyphony
@tab
@lilypond[fragment,relative 1]
\context Staff < c \\ g' >
@end lilypond


@item @code{s4 s8 s16}
@tab spacer rests
@tab

@end multitable

