]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/new/making-an-object-invisible-with-the-transparent-property.ly
Merge branch 'master' of ssh://jomand@git.sv.gnu.org/srv/git/lilypond
[lilypond.git] / input / new / making-an-object-invisible-with-the-transparent-property.ly
index 46975c1ec6337bc00958f35e661601e998bd2d31..801955d2db372bb7f83ea13ecd2c6bbff5beffd0 100644 (file)
@@ -1,7 +1,5 @@
 \version "2.11.23"
-\layout { ragged-right = ##t }
 \header {
-  doctitle = "Making an object invisible with the transparent property"
   lsrtags = "rhythms,tweaks-and-overrides"
   texidoc = "
 Setting the @code{transparent} property will cause an object to be
@@ -9,13 +7,14 @@ 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
 flag from interfering with tie positioning, the stem is extended.
-" }
+"
+  doctitle = "Making an object invisible with the transparent property"
+}
 
 \relative c'' {
   \time 2/4
@@ -25,8 +24,8 @@ 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
+    g8 ~ g\noBeam
   } \\ {
-    b g g e
+    b8 g g e
   } >>
 }