]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/test/blank-notes.ly
* input/test/figured-bass-alternative.ly: fix accidental.
[lilypond.git] / input / test / blank-notes.ly
index 3283d811165bef9ba8cbfede737c6f0ffb9574e4..e8b10ac47bd42291254c7c40b581baa0f1b15835 100644 (file)
@@ -1,10 +1,17 @@
-\version "1.7.16"
 
+\version "2.1.7"
+% possible rename to invis-notes.ly
+% check if other documents call this "blank notes", though.  I think
+% invisible notes sounds better, but whatever it is, it should be
+% consistent.
 \header {
-    
-    texidoc = " print lesson sheets that contain blank lines and just portions of blank lines."
-
-}
+    texidoc = "@cindex Invisible Notes
+@cindex Blank Notes
+You can suppress printing of LilyPond output.  This example shows you how to
+print invisible (or blank) notes.  This can be very useful when you want to
+do wierd tricks with LilyPond (especially with slurs, since you can't attach
+a slur to a rest or spacer rest).
+" }
 
 blanknotes = { \property Voice.NoteHead
               \override #'transparent  = ##t
@@ -17,9 +24,11 @@ unblanknotes = { \property Voice.NoteHead
 
 
 \score {
-    \notes { c4 d4 
+    \notes \relative c'' { c4 d4 
     \blanknotes e4 f4   \unblanknotes
             g4 a 
-            }}
+            }
+\paper{raggedright = ##t}
+}
+
 
-%% new-chords-done %%