]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/lsr/making-an-object-invisible-with-the-transparent-property.ly
Merge commit 'origin' into includes
[lilypond.git] / input / lsr / making-an-object-invisible-with-the-transparent-property.ly
index 037ccbddb2ed43eea38bc7e0001ebf04656c70fd..75c90e6579ac5621c024310d0c6474ce279c73be 100644 (file)
@@ -1,34 +1,38 @@
 %% Do not edit this file; it is auto-generated from input/new
 %% This file is in the public domain.
-\version "2.11.38"\r
-\layout { ragged-right = ##t }\r
-\header {\r
-  doctitle = "Making an object invisible with the transparent property"\r
-  lsrtags = "rhythms,tweaks-and-overrides"\r
-  texidoc = "\r
-Setting the @code{transparent} property will cause an object to be\r
-printed in \"invisible ink\": the object is not printed, but all its\r
-other behavior is retained.  The object still takes up space, it takes\r
-part in collisions, and slurs, ties and beams can be attached to it.\r
-\r
-\r
-The snippet demonstrates how to connect different voices using ties. \r
-Normally, ties only connect two notes in the same voice.  By\r
-introducing a tie in a different voice, and blanking the first up-stem\r
-in that voice, the tie appears to cross voices.  To prevent the blanked stem's\r
-flag from interfering with tie positioning, the stem is extended.\r
-" }\r
-\r
-\relative c'' {\r
-  \time 2/4\r
-  << {\r
-    \once \override Stem #'transparent = ##t\r
-    \once \override Stem #'length = #8\r
-    b8 ~ b\noBeam\r
-    \once \override Stem #'transparent = ##t\r
-    \once \override Stem #'length = #8\r
-    g ~ g\noBeam\r
-  } \\ {\r
-    b g g e\r
-  } >>\r
-}\r
+\version "2.12.0"
+\header {
+  lsrtags = "rhythms,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
+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.
+
+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"
+} % 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
+    }
+    \\
+    {
+      b8 g g e
+    }
+  >>
+}