]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/lsr/vertically-centered-dynamics-and-textscripts.ly
Split WWW target in two stages WWW-1 and WWW-2
[lilypond.git] / input / lsr / vertically-centered-dynamics-and-textscripts.ly
index 5d183b4fd25d6cd42a98a9c7635c43dd73d59c73..63b83a8c2dd59d6e5e02a97c0efe6823ef2f4436 100644 (file)
@@ -1,38 +1,32 @@
 %% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
 %% This file is in the public domain.
-\version "2.11.38"
+\version "2.11.46"
 
 \header {
   lsrtags = "tweaks-and-overrides, spacing"
- texidoc = "
-By setting the Y-extent property to a fixed value (here -1.5 . 1.5), we
-force LilyPond to align every elements of the DynamicLineSpanner (text
-elements and dynamics) to a common reference point, regardless to the
-actual extent of these objects. This way, every element will be
-vertically centered, for a nicer output (you can compare the first and
-the second line in this example; the trick is only applied on the
-second line).
+
+  texidoc = "
+By setting the @code{Y-extent} property to a fixed value, all
+@code{DynamicLineSpanner} objects (hairpins and dynamic texts) are
+aligned to a common reference point, regardless of their actual extent.
+This way, every element will be vertically centered, for a nicer output
+(you can compare the first and the second line in this example; the
+trick is only applied on the second line).
 
 The same idea is used to align the text scripts along their baseline.
-" }
-% begin verbatim
-\paper { indent = 0 line-width = 5\in }
 
-music = \relative c''
-{
-   c2\p^\markup { "gorgeous" } c\f^\markup { "fantastic" }
-   c4\p c \f \> c c \! \p
+"
+  doctitle = "Vertically centered dynamics and textscripts"
+} % begin verbatim
+music = \relative c'' {
+  c2\p^\markup { gorgeous } c\f^\markup { fantastic }
+  c4\p c\f\> c c\!\p
 }
 
-\score
 {
-   {
-       \music \break
-
-       \override DynamicLineSpanner #'staff-padding = #2.0
-       \override DynamicLineSpanner #'Y-extent = #'(-1.5 . 1.5)
-       \override TextScript #'Y-extent = #'(-1.5 . 1.5)
-       \music
-   }
+  \music \break
+  \override DynamicLineSpanner #'staff-padding = #2.0
+  \override DynamicLineSpanner #'Y-extent = #'(-1.5 . 1.5)
+  \override TextScript #'Y-extent = #'(-1.5 . 1.5)
+  \music
 }
-