]> 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 7596a4ebcbc2ea6a5e261a57697034bef09296fc..2596aebc36c98d0d8768035295fd4e5a0fa42d7b 100644 (file)
@@ -1,4 +1,4 @@
-\version "2.16.0"
+\version "2.19.2"
 
 \header {
   lsrtags = "rhythms, simultaneous-notes, tweaks-and-overrides"
@@ -23,12 +23,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
     }
     \\
     {