]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/lsr/positioning-segno-and-coda-with-line-break.ly
LSR: Update.
[lilypond.git] / input / lsr / positioning-segno-and-coda-with-line-break.ly
index 26ccccc4e1ee7780f000d71b6d7ad8030359e662..b4ce1e97d8a37acb51942f478379caa6e0979dc3 100644 (file)
@@ -1,17 +1,20 @@
 %% 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.50"
 
 \header {
   lsrtags = "repeats, breaks"
- texidoc = "
+
+  texidoc = "
 If you want to place an exiting segno sign and add text like \"D.S. al
 Coda\" next to it where usually the staff lines are you can use this
 snippet. The coda will resume in a new line. There is a variation
 documented in this snippet, where the coda will remain on the same
 line.
-" }
-% begin verbatim
+
+"
+  doctitle = "Positioning segno and coda (with line break)"
+} % begin verbatim
 { 
   \clef treble
   \key g \major
@@ -68,8 +71,10 @@ line.
         % text and symbols center-aligned
         % ===============================
         % Move text to the desired position and tweak spacing for optimum text alignment
-        \once \override TextScript #'extra-offset = #'( 8 . -5.5 )
+        %\once \override TextScript #'extra-offset = #'( 8 . -5.5 )
         \once \override TextScript #'word-space = #1.5
+        \once \override TextScript #'X-offset = #8
+        \once \override TextScript #'Y-offset = #1.5
         | s1*0^\markup { \center-align { "D.S. al Coda" \line { \musicglyph #"scripts.coda" \musicglyph #"scripts.tenuto" \musicglyph #"scripts.coda"} } }
         
         % Increasing the unfold counter will expand the staff-free space