]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/new/making-an-object-invisible-with-the-transparent-property.ly
Merge master into nested-bookparts
[lilypond.git] / input / new / making-an-object-invisible-with-the-transparent-property.ly
index 30fe17870f9056f1ae4fbc152120e5da45de22d6..7dcc5ebe49f25e44c8dd9fddcc746db76173d5dd 100644 (file)
@@ -1,15 +1,13 @@
-\version "2.11.23"
-\layout { ragged-right = ##t }
+\version "2.11.61"
 \header {
   lsrtags = "rhythms,tweaks-and-overrides"
   texidoc = "
-Setting the @code{transparent} property will cause an object to be
+Setting the @code{'transparent} property will cause an object to be
 printed in \"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.
 
-
-The snippet demonstrates how to connect different voices using ties. 
+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.  To prevent the blanked stem's
@@ -26,8 +24,10 @@ flag from interfering with tie positioning, the stem is extended.
     b8 ~ b\noBeam
     \once \override Stem #'transparent = ##t
     \once \override Stem #'length = #8
-    g ~ g\noBeam
-  } \\ {
-    b g g e
+    g8 ~ g\noBeam
+  }
+  \\
+  {
+    b8 g g e
   } >>
 }