]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/snippets/making-an-object-invisible-with-the-transparent-property.ly
Merge remote-tracking branch 'origin/translation' into staging
[lilypond.git] / Documentation / snippets / making-an-object-invisible-with-the-transparent-property.ly
index a69fb2e0140cd4b44551bba28cd26e0c8f49bef3..8ff1608b09eff34b55c3d9e6ebd180b6cd52db91 100644 (file)
@@ -1,7 +1,11 @@
-%% 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"
@@ -16,22 +20,23 @@ part in collisions, and slurs, ties and beams can be attached to it.
 This snippet demonstrates how to connect different voices using ties.
 Normally, ties only connect two notes in the same voice.  By
 introducing a tie in a different voice, and blanking the first up-stem
-in that voice, the tie appears to cross voices. 
+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
     }
     \\
     {