]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/snippets/new/making-an-object-invisible-with-the-transparent-property.ly
Merge remote-tracking branch 'origin/translation'
[lilypond.git] / Documentation / snippets / new / making-an-object-invisible-with-the-transparent-property.ly
index f84fdedbc4b47f6c15d7d3037234134b467c6575..2596aebc36c98d0d8768035295fd4e5a0fa42d7b 100644 (file)
@@ -1,4 +1,4 @@
-\version "2.15.15"
+\version "2.19.2"
 
 \header {
   lsrtags = "rhythms, simultaneous-notes, tweaks-and-overrides"
@@ -17,18 +17,18 @@ in that voice, the tie appears to cross voices.
 
 "
   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
+      \once \hide Stem
+      \once \override Stem.length = #8
+      b8 ~ 8\noBeam
+      \once \hide Stem
+      \once \override Stem.length = #8
+      g8 ~ 8\noBeam
     }
     \\
     {