]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/new/making-an-object-invisible-with-the-transparent-property.ly
Merge commit 'origin/dev/jneeman' into systems-per-page
[lilypond.git] / input / new / making-an-object-invisible-with-the-transparent-property.ly
index 801955d2db372bb7f83ea13ecd2c6bbff5beffd0..47014eea84109061e870f004f681a4f25e5b09cc 100644 (file)
@@ -1,8 +1,8 @@
-\version "2.11.23"
+\version "2.12.0"
 \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.
@@ -18,14 +18,18 @@ flag from interfering with tie positioning, the stem is extended.
 
 \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
-  } \\ {
-    b8 g g e
-  } >>
+  <<
+    {
+      \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
+    }
+    \\
+    {
+      b8 g g e
+    }
+  >>
 }