]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/user/cheatsheet.itely
lilypond-book robustness: ensure EOL at the end of @verbatim
[lilypond.git] / Documentation / user / cheatsheet.itely
index 1bef3ccfebc123b77783438034da6b9f50f7c11d..d6c83933450a824a721ad0f02158d91f06438031 100644 (file)
@@ -7,6 +7,8 @@
     version that you are working on.  See TRANSLATION for details.
 @end ignore
 
+@c \version "2.12.0"
+
 
 @c TODO: add tablature.
 
@@ -21,7 +23,7 @@
 @tab @b{Example}
 
 @item @code{1 2 8 16}
-@tab durations 
+@tab durations
 @tab
 @lilypond[fragment,relative=2,notime]
 \set Staff.autoBeaming = ##f
@@ -34,18 +36,18 @@ c1 c2 c8 c16
 @tab
 @lilypond[fragment,relative=2,notime]
 \override Staff.Clef #'break-visibility = #all-invisible
-c4. c4..  
+c4. c4..
 @end lilypond
 
 @item @code{c d e f g a b }
-@tab scale 
+@tab scale
 @tab
 @lilypond[fragment,relative=1,notime]
 c d e f g a b
 @end lilypond
 
 @item @code{fis bes}
-@tab alteration 
+@tab alteration
 @tab
 @lilypond[fragment,relative=1,notime]
 fis bes
@@ -65,7 +67,7 @@ s4_" "
 @tab time signature
 @tab
 @lilypond[fragment]
-\override Staff.Clef #'transparent = ##t 
+\override Staff.Clef #'stencil = #empty-stencil
 \time 3/4
 s4_" "
 \time 4/4
@@ -74,7 +76,7 @@ s16_" "
 
 
 @item @code{r4 r8}
-@tab rest 
+@tab rest
 @tab
 @lilypond[relative=2,notime,fragment]
 \override Staff.Clef #'break-visibility = #all-invisible
@@ -96,7 +98,8 @@ d ~ d
 @lilypond[notime,fragment]
 \clef treble
 \key es \major
-s4 
+\hideNotes
+c128
 @end lilypond
 
 @item @var{note}@code{'}
@@ -155,11 +158,17 @@ a8-[ b-]
 @tab more staves
 @tab
 @lilypond[fragment]
-<< \new Staff { c'1 }
-  \new Staff { c'1 } >>
+<< \new Staff {
+     \set Staff.implicitTimeSignatureVisibility = #all-invisible
+     c'1
+   }
+   \new Staff {
+     \set Staff.implicitTimeSignatureVisibility = #all-invisible
+     c'1
+   } >>
 @end lilypond
 
-  
+
 @item @code{c-> c-.}
 @tab articulations
 @tab
@@ -169,12 +178,12 @@ c-> c-.
 @end lilypond
 
 
-@item @code{c\mf c\sfz}
+@item @code{c2\mf c\sfz}
 @tab dynamics
 @tab
 @lilypond[fragment,relative=2]
 \set Staff.implicitTimeSignatureVisibility = #all-invisible
-c\mf c\sfz
+c2\mf c\sfz
 @end lilypond
 
 
@@ -203,12 +212,13 @@ a\> a a\!
 @tab chord
 @tab
 @lilypond[fragment,relative=2]
-<c e> 
+\set Staff.implicitTimeSignatureVisibility = #all-invisible
+<c e>
 @end lilypond
 
 
 @item @code{\partial 8}
-@tab upstep
+@tab pickup / upbeat
 @tab
 @lilypond[fragment,relative=2]
 \partial 8
@@ -220,6 +230,7 @@ f8 c2 d e
 @tab triplets
 @tab
 @lilypond[relative=1,fragment]
+\set Staff.implicitTimeSignatureVisibility = #all-invisible
 \times 2/3 { f8 g a }
 @end lilypond
 
@@ -228,6 +239,7 @@ f8 c2 d e
 @tab grace notes
 @tab
 @lilypond[relative=2,fragment]
+\set Staff.implicitTimeSignatureVisibility = #all-invisible
 \context Voice { \grace b16 c4 }
 @end lilypond
 
@@ -245,24 +257,26 @@ twinkle
 @end lilypond
 
 @item @code{twin -- kle}
-@tab lyric hyphen 
+@tab lyric hyphen
 @tab
 @lilypond[fragment,relative=2]
+\set Staff.implicitTimeSignatureVisibility = #all-invisible
 <<
    { g'1 g }
   \new Lyrics \lyricsto "" { twin -- kle }
->> 
+>>
 @end lilypond
 
 @item @code{\chordmode @{ c:dim f:maj7 @}}
-@tab chords 
+@tab chords
 @tab
 @lilypond[fragment,relative=2]
+\set Staff.implicitTimeSignatureVisibility = #all-invisible
 \chordmode { c:dim f:maj7 }
 @end lilypond
 
 @item @code{\context ChordNames}
-@tab printing chord names 
+@tab printing chord names
 @tab
 @lilypond[fragment,relative=2]
 \chords { c:dim f:maj7 }
@@ -272,6 +286,7 @@ twinkle
 @tab polyphony
 @tab
 @lilypond[fragment,relative=2]
+\set Staff.implicitTimeSignatureVisibility = #all-invisible
 \context Staff <<{e f} \\ {c d}>>
 @end lilypond