]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/snippets/making-an-object-invisible-with-the-transparent-property.ly
Merge remote-tracking branch 'origin/translation'
[lilypond.git] / Documentation / snippets / making-an-object-invisible-with-the-transparent-property.ly
index 2b1e8e5e69781aae2d0b85dccd2ae815b81849ec..8ff1608b09eff34b55c3d9e6ebd180b6cd52db91 100644 (file)
@@ -1,14 +1,18 @@
-%% Do not edit this file; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
-%% This file is in the public domain.
-\version "2.13.4"
+% DO NOT EDIT this file manually; it is automatically
+% generated from Documentation/snippets/new
+% Make any changes in Documentation/snippets/new/
+% and then run scripts/auxiliar/makelsr.py
+%
+% This file is in the public domain.
+%% Note: this file works from version 2.19.2
+\version "2.19.2"
 
 \header {
   lsrtags = "rhythms, simultaneous-notes, tweaks-and-overrides"
 
   texidoc = "
 Setting the @code{transparent} property will cause an object to be
-printed in \"invisible ink\": the object is not printed, but all its
+printed in @qq{invisible ink}: the object is not printed, but all its
 other behavior is retained.  The object still takes up space, it takes
 part in collisions, and slurs, ties and beams can be attached to it.
 
@@ -22,16 +26,17 @@ 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
     }
     \\
     {