]> git.donarmstrong.com Git - lilypond.git/blob - input/new/other/making-an-object-invisibile-with-the-transparent-property.ly
Fix Snippets link
[lilypond.git] / input / new / other / making-an-object-invisibile-with-the-transparent-property.ly
1 \version "2.11.23"
2
3 \header { texidoc = "
4 Setting the @code{transparent} property will cause an object to be
5 printed in `invisible ink': the object is not printed, but all its
6 other behavior is retained.  The object still takes up space, it takes
7 part in collisions, and slurs, and ties and beams can be attached to it.
8
9
10 The snippet demonstrates how to connect different voices using ties. 
11 Normally, ties only connect two notes in the same voice.  By
12 introducing a tie in a different voice, and blanking the first up-stem
13 in that voice, the tie appears to cross voices. 
14 " }
15
16 \relative c'' {
17 << {
18   \once \override Stem #'transparent = ##t
19   b8~ b8\noBeam
20 } \\ {
21   b[ g8]
22 } >>
23 }