]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/user/cheatsheet.itely
($(outdir)/%.pdf): add DVIPS_FLAGS. This will
[lilypond.git] / Documentation / user / cheatsheet.itely
index bf879584beca568d9e167b5f6664dbfc6a01a5de..a5dbf28612b680af60e0e182a9a4c6cf88ca25a5 100644 (file)
@@ -1,3 +1,4 @@
+\version "2.1.22"
 @c -*-texinfo-*-
 
 @node Cheat sheet
 @item @code{1 2 8 16}
 @tab durations 
 @tab
-@lilypond[relative 1, notime]
-\property Staff.autoBeaming = ##f
-\property Staff.Clef = \turnOff
+@lilypond[relative=1,notime]
+\set Staff.autoBeaming =  ##f
+\set Staff.Clef =  \turnOff
 c1 c2 c8 c16
 @end lilypond
 
-@item @code{..}
+@item @code{c4. c4..}
 @tab augmentation dots
 @tab
-@lilypond[relative 1, notime]
-\property Staff.Clef = \turnOff
+@lilypond[relative=1,notime]
+\set 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
+@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
 
@@ -57,7 +56,7 @@ s4_" "
 @tab time signature
 @tab
 @lilypond
-\property Staff.Clef \set #'transparent = ##t 
+\override Staff.Clef   #'transparent = ##t 
 \time 3/4
 s4_" "
 \time 4/4
@@ -68,18 +67,17 @@ s16_" "
 @item @code{r4 r8}
 @tab rest 
 @tab
-@lilypond[relative 1, notime]
-\property Staff.Clef = \turnOff
+@lilypond[relative=1,notime]
+\set Staff.Clef =  \turnOff
 r4 r8
 @end lilypond
 
-@item @code{~}
+@item @code{d ~ d}
 @tab tie
 @tab
-@lilypond[relative 1, notime]
-\property Score.timing = ##f
-\property Staff.autoBeaming = ##f
-\property Staff.Clef = \turnOff
+@lilypond[relative=1,notime]
+\set Score.timing =  ##f
+\set Staff.autoBeaming =  ##f
 d ~ d
 @end lilypond
 
@@ -95,133 +93,124 @@ s4
 @item @var{note}@code{'}
 @tab raise octave
 @tab
-@lilypond[relative 1, notime]
-\property Score.timing = ##f
-\property Staff.autoBeaming = ##f
-\property Staff.Clef = \turnOff
+@lilypond[relative=1,notime]
+\set Score.timing =  ##f
+\set Staff.autoBeaming =  ##f
 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
+@lilypond[relative=1,notime]
+\set Score.timing =  ##f
+\set Staff.autoBeaming =  ##f
 c c,
 @end lilypond
 
 
-@item @code{)}
+@item @code{c( d e)}
 @tab slur
 @tab
-@lilypond[fragment, relative 1]
-\property Score.timing = ##f
-\property Staff.TimeSignature = \turnOff
-\property Staff.autoBeaming = ##f
-\property Staff.Clef = \turnOff
+@lilypond[fragment,relative=1]
+\set Score.timing =  ##f
+\set Staff.TimeSignature =  \turnOff
+\set Staff.autoBeaming =  ##f
 c( d e)
 @end lilypond
 
 
-@item @code{\( \)}
+@item @code{c\( c( d) e\)}
 @tab phrasing slur
 @tab
-@lilypond[fragment, relative 1]
-\property Score.timing = ##f
-\property Staff.TimeSignature = \turnOff
-\property Staff.autoBeaming = ##f
-\property Staff.Clef = \turnOff
+@lilypond[fragment,relative=1]
+\set Score.timing =  ##f
+\set Staff.TimeSignature =  \turnOff
+\set Staff.autoBeaming =  ##f
 c\(  c( d) e\)
 @end lilypond
 
 
-@item @code{-[ -]}
+@item @code{a8[ b]}
 @tab beam
 @tab
-@lilypond[fragment, relative 1]
-\property Score.timing = ##f
-\property Staff.TimeSignature = \turnOff
-\property Staff.autoBeaming = ##f
-\property Staff.Clef = \turnOff
+@lilypond[fragment,relative=1]
+\set Score.timing =  ##f
+\set Staff.TimeSignature =  \turnOff
+\set Staff.autoBeaming =  ##f
 a8-[ b-]
 @end lilypond
 
 
-@item @code{< \new Staff ... >}
+@item @code{<< \new Staff ... >>}
 @tab more staves
 @tab
 @lilypond[fragment]
-< \new Staff { c'1 }
-  \new Staff { 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]
-\property Staff.TimeSignature = \turnOff
-\property Staff.Clef = \turnOff
+@lilypond[fragment,relative=1]
+\set Staff.TimeSignature =  \turnOff
 c-> c-.
 @end lilypond
 
 
-@item @code{\mf \sfz}
+@item @code{c\mf c\sfz}
 @tab dynamics
 @tab
-@lilypond[fragment, relative 1]
-\property Staff.TimeSignature = \turnOff
-\property Staff.Clef = \turnOff
+@lilypond[fragment,relative=1]
+\set Staff.TimeSignature =  \turnOff
 c\mf c\sfz
 @end lilypond
 
 
-@item @code{\< \!}
+@item @code{a\< b\!}
 @tab crescendo
 @tab
-@lilypond[fragment, relative 1]
-\property Score.timing = ##f
-\property Staff.TimeSignature = \turnOff
-\property Staff.autoBeaming = ##f
-\property Staff.Clef = \turnOff
+@lilypond[fragment,relative=1]
+\set Score.timing =  ##f
+\set Staff.TimeSignature =  \turnOff
+\set Staff.autoBeaming =  ##f
 a\< a \!a
 @end lilypond
 
-@item @code{\> \!}
+@item @code{a\> b\!}
 @tab decrescendo
 @tab
-@lilypond[fragment, relative 1]
-\property Score.timing = ##f
-\property Staff.TimeSignature = \turnOff
-\property Staff.autoBeaming = ##f
-\property Staff.Clef = \turnOff
+@lilypond[fragment,relative=1]
+\set Score.timing =  ##f
+\set Staff.TimeSignature =  \turnOff
+\set Staff.autoBeaming =  ##f
 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,relative 1]
+@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
 
@@ -229,7 +218,7 @@ a\> a a\!
 @item @code{\grace}
 @tab grace notes
 @tab
-@lilypond[relative 1,fragment]
+@lilypond[relative=1,fragment]
 \context Voice {  \grace b16 c4 }
 @end lilypond
 
@@ -244,30 +233,30 @@ 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 Lyrics \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{< @dots{} \\ @dots{} >}
+@item @code{<<@{e f@} \\@{c d@}>>}
 @tab polyphony
 @tab
-@lilypond[fragment,relative 1]
-\context Staff < c \\ g' >
+@lilypond[fragment,relative=2]
+\context Staff <<{e f} \\ {c d}>>
 @end lilypond