X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Fsnippets%2Fmaking-an-object-invisible-with-the-transparent-property.ly;h=1cbb7416a797ea86cf2112741f9f8caab83b094a;hb=8ff18a6c95a828912fd742684d8e414f18fc3665;hp=df9fd2605167bf59a4f2770d514c8f8edd496073;hpb=446dc1f3ac9bfff6bfee31de929698b0425da6fe;p=lilypond.git diff --git a/Documentation/snippets/making-an-object-invisible-with-the-transparent-property.ly b/Documentation/snippets/making-an-object-invisible-with-the-transparent-property.ly index df9fd26051..1cbb7416a7 100644 --- a/Documentation/snippets/making-an-object-invisible-with-the-transparent-property.ly +++ b/Documentation/snippets/making-an-object-invisible-with-the-transparent-property.ly @@ -4,28 +4,10 @@ % and then run scripts/auxiliar/makelsr.py % % This file is in the public domain. -%% Note: this file works from version 2.15.15 -\version "2.15.15" +%% Note: this file works from version 2.17.6 +\version "2.17.6" \header { -%% Translation of GIT committish: 57f9346bb030f49336a858fcbf1519366fe56454 - texidocfr = " -Une modification de la propriété @code{transparent} permet d'imprimer un -objet à « l'encre sympathique » : l'objet n'est pas affiché bien que tous -ses attributs soient préservés. L'objet en question occupe donc sa -place, est pris en compte lors de collisions, et peut se voir attaché -liaisons ou ligatures. - -Cet exemple illustre la manière de connecter deux voix par une liaison -de prolongation. Les liaisons de prolongation ne peuvent normalement -intervenir que dans la même voix. Dès lors que la liaison est entamée -dans une autre voix et que la première hampe ascendante est rendue -transparente dans cette même voix, la liaison semble passer d'une voix à -l'autre. - -" - doctitlefr = "Recours à la propriété 'transparent pour rendre des objets invisibles" - lsrtags = "rhythms, simultaneous-notes, tweaks-and-overrides" texidoc = " @@ -49,11 +31,11 @@ in that voice, the tie appears to cross voices. \time 2/4 << { - \once \override Stem #'transparent = ##t - \once \override Stem #'length = #8 + \once \override Stem.transparent = ##t + \once \override Stem.length = #8 b8 ~ b\noBeam - \once \override Stem #'transparent = ##t - \once \override Stem #'length = #8 + \once \override Stem.transparent = ##t + \once \override Stem.length = #8 g8 ~ g\noBeam } \\