-\version "2.1.26"
+\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
\header {
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).
+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 = { \override NoteHead #'transparent = ##t
\score {
- \notes \relative c'' { c4 d4
+ \relative c'' { c4 d4
\blanknotes e4 f4 \unblanknotes
g4 a
}