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