]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/snippets/making-an-object-invisible-with-the-transparent-property.ly
Merge remote-tracking branch 'origin/translation' into staging
[lilypond.git] / Documentation / snippets / making-an-object-invisible-with-the-transparent-property.ly
index df9fd2605167bf59a4f2770d514c8f8edd496073..8ff1608b09eff34b55c3d9e6ebd180b6cd52db91 100644 (file)
@@ -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.19.2
+\version "2.19.2"
 
 \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,12 +31,12 @@ in that voice, the tie appears to cross voices.
   \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
+      \once \hide Stem
+      \once \override Stem.length = #8
+      b8 ~ 8\noBeam
+      \once \hide Stem
+      \once \override Stem.length = #8
+      g8 ~ 8\noBeam
     }
     \\
     {