]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/snippets/making-an-object-invisible-with-the-transparent-property.ly
Imported Upstream version 2.19.45
[lilypond.git] / Documentation / snippets / making-an-object-invisible-with-the-transparent-property.ly
index fd1668089cb43edec449cfd31dc533d5f3025302..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.16.0"
+%% Note: this file works from version 2.19.21
+\version "2.19.21"
 
 \header {
   lsrtags = "rhythms, simultaneous-notes, tweaks-and-overrides"
@@ -27,16 +27,16 @@ in that voice, the tie appears to cross voices.
 } % 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
+      \once \hide Stem
+      \once \override Stem.length = #8
+      b'8 ~ 8\noBeam
+      \once \hide Stem
+      \once \override Stem.length = #8
+      g8 ~ 8\noBeam
     }
     \\
     {