X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Flsr%2Fmaking-an-object-invisible-with-the-transparent-property.ly;h=aba26e3a0bbc4ceec8841f0da8623d98ff066b7d;hb=5c14a087ca6cbd665fd631452b7b1283ba0387c3;hp=037ccbddb2ed43eea38bc7e0001ebf04656c70fd;hpb=621fe2a06e3c2c2276ae588b6f16ecef463c7454;p=lilypond.git diff --git a/input/lsr/making-an-object-invisible-with-the-transparent-property.ly b/input/lsr/making-an-object-invisible-with-the-transparent-property.ly index 037ccbddb2..aba26e3a0b 100644 --- a/input/lsr/making-an-object-invisible-with-the-transparent-property.ly +++ b/input/lsr/making-an-object-invisible-with-the-transparent-property.ly @@ -1,34 +1,35 @@ %% Do not edit this file; it is auto-generated from input/new %% This file is in the public domain. -\version "2.11.38" -\layout { ragged-right = ##t } -\header { - doctitle = "Making an object invisible with the transparent property" - lsrtags = "rhythms,tweaks-and-overrides" - texidoc = " -Setting the @code{transparent} property will cause an object to be -printed in \"invisible ink\": the object is not printed, but all its -other behavior is retained. The object still takes up space, it takes -part in collisions, and slurs, ties and beams can be attached to it. - - -The snippet demonstrates how to connect different voices using ties. -Normally, ties only connect two notes in the same voice. By -introducing a tie in a different voice, and blanking the first up-stem -in that voice, the tie appears to cross voices. To prevent the blanked stem's -flag from interfering with tie positioning, the stem is extended. -" } - -\relative c'' { - \time 2/4 - << { - \once \override Stem #'transparent = ##t - \once \override Stem #'length = #8 - b8 ~ b\noBeam - \once \override Stem #'transparent = ##t - \once \override Stem #'length = #8 - g ~ g\noBeam - } \\ { - b g g e - } >> -} +\version "2.11.62" +\header { + lsrtags = "rhythms,tweaks-and-overrides" + texidoc = " +Setting the @code{'transparent} property will cause an object to be +printed in \"invisible ink\": the object is not printed, but all its +other behavior is retained. The object still takes up space, it takes +part in collisions, and slurs, ties and beams can be attached to it. + +This snippet demonstrates how to connect different voices using ties. +Normally, ties only connect two notes in the same voice. By +introducing a tie in a different voice, and blanking the first up-stem +in that voice, the tie appears to cross voices. To prevent the blanked stem's +flag from interfering with tie positioning, the stem is extended. +" + doctitle = "Making an object invisible with the transparent property" +} % begin verbatim + +\relative c'' { + \time 2/4 + << { + \once \override Stem #'transparent = ##t + \once \override Stem #'length = #8 + b8 ~ b\noBeam + \once \override Stem #'transparent = ##t + \once \override Stem #'length = #8 + g8 ~ g\noBeam + } + \\ + { + b8 g g e + } >> +}