]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/test/blank-notes.ly
*** empty log message ***
[lilypond.git] / input / test / blank-notes.ly
index 771fcb6cfc38189ee251326189a3b8b4da4e3b5f..e050241d60f9bc2ac294f18d20f829826a32bfbf 100644 (file)
@@ -1,25 +1,28 @@
-\version "1.7.18"
 
+\version "2.3.4"
+% 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
+Invisible (or transparent) notes can be useful, when weird tricks are needed; 
+especially, a slur cannot be attach to a rest or spacer rest.
+" }
 
-}
-
-blanknotes = { \property Voice.NoteHead
-              \override #'transparent  = ##t
-              \property Voice.Stem
-              \override #'transparent = ##t }
-unblanknotes = { \property Voice.NoteHead
-                \revert #'transparent
-                \property Voice.Stem
-                \revert #'transparent }
+blanknotes = { \override NoteHead  #'transparent = ##t
+              \override Stem  #'transparent = ##t }
+unblanknotes = { \revert NoteHead #'transparent
+                \revert Stem #'transparent }
 
 
 \score {
-    \notes { c4 d4 
+     \relative c'' { c4 d4 
     \blanknotes e4 f4   \unblanknotes
             g4 a 
-            }}
+            }
+\paper{raggedright = ##t}
+}
+
 
-%% new-chords-done %%