]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/snippets/making-an-object-invisible-with-the-transparent-property.ly
Doc-es: update Changes.
[lilypond.git] / Documentation / snippets / making-an-object-invisible-with-the-transparent-property.ly
index 65df013548c194ee6652c44b5f22e6976b9588c2..b39f9375c24b1f2c054106f2d11a5ab3e1bc433a 100644 (file)
@@ -4,8 +4,8 @@
 % 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.21
+\version "2.19.21"
 
 \header {
   lsrtags = "rhythms, simultaneous-notes, tweaks-and-overrides"
@@ -26,18 +26,18 @@ in that voice, the tie appears to cross voices.
   doctitle = "Making an object invisible with the 'transparent property"
 } % begin verbatim
 
-\relative c'' {
+
+\relative {
   \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
-    } % begin verbatim
-
+      \once \hide Stem
+      \once \override Stem.length = #8
+      b'8 ~ 8\noBeam
+      \once \hide Stem
+      \once \override Stem.length = #8
+      g8 ~ 8\noBeam
+    }
     \\
     {
       b8 g g e