X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Flsr%2Fmaking-an-object-invisible-with-the-transparent-property.ly;h=32af8183d2c9b7186c49c7bcd395d32808a02d9b;hb=1423508c355989fa26a8cfe5985b0d6e1ab0a538;hp=92f47abba48590debd24639bd84fb489830c5bd1;hpb=1aea74028c07ffd9d3681ff6b3046d17fb5dddbd;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 92f47abba4..32af8183d2 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,33 +1,40 @@ -%% Do not edit this file; it is auto-generated from input/new +%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it %% This file is in the public domain. -\version "2.11.61" +\version "2.13.1" + \header { - lsrtags = "rhythms,tweaks-and-overrides" + lsrtags = "rhythms, simultaneous-notes, 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. +in that voice, the tie appears to cross voices. + " - doctitle = "Making an object invisible with the transparent property" + 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 - } >> + << + { + \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 + } + >> }