X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Flsr%2Fpositioning-segno-and-coda-with-line-break.ly;h=56b76912bccc8bd042e00442d9b44f7d9c3882ac;hb=cb47f0d75cc88e34d5cb06fcfbf4104ce0780c90;hp=c372f48df0c035893128711505c1b0257524f741;hpb=4c1b01719b22ed0ae8d1aa393f14d1c205c3ac88;p=lilypond.git diff --git a/input/lsr/positioning-segno-and-coda-with-line-break.ly b/input/lsr/positioning-segno-and-coda-with-line-break.ly index c372f48df0..56b76912bc 100644 --- a/input/lsr/positioning-segno-and-coda-with-line-break.ly +++ b/input/lsr/positioning-segno-and-coda-with-line-break.ly @@ -1,16 +1,21 @@ %% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it %% This file is in the public domain. -%% Tags: repeats, breaks -\version "2.11.35" +\version "2.12.0" -\header { texidoc = " +\header { + lsrtags = "repeats, breaks" + + 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. Theres a variation +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 @@ -62,14 +67,16 @@ line. % ==================== % Move text to the desired position % \once \override TextScript #'extra-offset = #'( 6 . -5.0 ) - % | s1*0^\markup { \center-align { D.S. "al Coda" } } + % | s1*0^\markup { \center-column { D.S. "al Coda" } } % 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 - | s1*0^\markup { \center-align { "D.S. al Coda" \line { \musicglyph #"scripts.coda" \musicglyph #"scripts.tenuto" \musicglyph #"scripts.coda"} } } + \once \override TextScript #'X-offset = #8 + \once \override TextScript #'Y-offset = #1.5 + | s1*0^\markup { \center-column { "D.S. al Coda" \line { \musicglyph #"scripts.coda" \musicglyph #"scripts.tenuto" \musicglyph #"scripts.coda"} } } % Increasing the unfold counter will expand the staff-free space \repeat unfold 4 {