]> git.donarmstrong.com Git - lilypond.git/blob - input/test/blank-notes.ly
Added texinfo index tag.
[lilypond.git] / input / test / blank-notes.ly
1 \version "1.7.18"
2 % rename to invis-notes.ly
3 % check if other documents call this "blank notes", though.  I think
4 % invisible notes sounds better, but whatever it is, it should be
5 % consistent.
6 \header {
7     texidoc = "@cindex Invisible Notes
8 @cindex Blank Notes
9 You can suppress printing of Lilypond output.  This example shows you how to
10 print invisible (or blank) notes.  This can be very useful when you want to
11 do wierd tricks with Lilypond (especially with slurs, since you can't attach
12 a slur to a rest or spacer rest)."
13 }
14
15 blanknotes = { \property Voice.NoteHead
16                \override #'transparent  = ##t
17                \property Voice.Stem
18                \override #'transparent = ##t }
19 unblanknotes = { \property Voice.NoteHead
20                  \revert #'transparent
21                  \property Voice.Stem
22                  \revert #'transparent }
23
24
25 \score {
26     \notes { c4 d4 
27     \blanknotes e4 f4   \unblanknotes
28              g4 a 
29              }}
30
31 %% new-chords-done %%