On 27/10/12 20:46, Phil Holmes wrote: > ----- Original Message ----- From: "Nick Payne" > <nick.pa...@internode.on.net> > To: <lilypond-user@gnu.org> > Sent: Saturday, October 27, 2012 4:51 AM > Subject: Space containing text between two bars > > >> How can I achieve an output that looks like the attached example, where >> the final bar of the piece is separated from the preceding bars by some >> text? Is there an LSR snippet that has this sort of layout? >> >> Nick > > http://lsr.dsi.unimi.it/LSR/Item?id=198 > > and > > http://lsr.dsi.unimi.it/LSR/Item?id=190
Well, the following gives the output layout that I want. I get a warning message on the console that I haven't been able to get rid of: "already have a volta spanner, ending that one prematurely", but it doesn't seem to affect the output. \version "2.16.0" DCSegnoTextSymbolCenter = { <>-\tweak #'extra-offset #'(-1 . 5.5)_\markup\small { \center-column { \concat { "D.C. hasta " \halign #-1 \raise #1 \tiny { \musicglyph #"scripts.segno" } " y" } \line { "salta a Fin" } } } } barspace = #(define-music-function (parser location extent) (pair?) #{ \once \override Staff.BarLine #'extra-spacing-width = #extent #}) makeGap = { \repeat unfold 3 { \barspace #'(-2 . 2) \hideNotes a2. \unHideNotes \noBreak } } \relative c'' { \time 3/4 \repeat volta 2 { c4 c c \once \override Score.RehearsalMark #'self-alignment-X = #RIGHT \mark\markup\normalsize { \musicglyph #"scripts.segno" } \once \override Score.VoltaBracket #'shorten-pair = #'(0.5 . 0) } \alternative { { c c c } { c c c } } \noBreak \stopStaff \cadenzaOn \bar "" \DCSegnoTextSymbolCenter \makeGap \cadenzaOff \startStaff \repeat volta 1 { } \alternative { << { \set Score.repeatCommands = #`((volta ,#{ \markup { \text \fontsize #4 "Fin" } #})) c c c | } >> } \bar"|." }
<<attachment: test1.png>>
_______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user