Nitpick: ly:spanner-bound grob name slur -> spanner.
[lilypond.git] / input / lsr / making-an-object-invisible-with-the-transparent-property.ly
blobb1e0cb3c4010e31a85aaede5255935c0124fc8fb
1 %% Do not edit this file; it is auto-generated from input/new
2 %% This file is in the public domain.
3 %% Note: this file works from version 2.12.0
4 \version "2.13.1"
5 \header {
6 lsrtags = "rhythms,tweaks-and-overrides"
7 texidoc = "
8 Setting the @code{'transparent} property will cause an object to be
9 printed in \"invisible ink\": the object is not printed, but all its
10 other behavior is retained. The object still takes up space, it takes
11 part in collisions, and slurs, ties and beams can be attached to it.
13 This 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. To prevent the blanked stem's
17 flag from interfering with tie positioning, the stem is extended.
19 doctitle = "Making an object invisible with the transparent property"
20 } % begin verbatim
23 \relative c'' {
24 \time 2/4
27 \once \override Stem #'transparent = ##t
28 \once \override Stem #'length = #8
29 b8 ~ b\noBeam
30 \once \override Stem #'transparent = ##t
31 \once \override Stem #'length = #8
32 g8 ~ g\noBeam
36 b8 g g e