Patrick Schmidt wrote:
is it possible to align the coda signs underneath "D.S. al"?
Well, this makes the markup narrower
and then you start to see that we had no horizontal centering.
Using a breathing sign instead of a note head makes it easy to
anchor the markup in the middle of the measure.
By default you get a half-measure gap on either side.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\stopStaff
s2
\once \override BreathingSign #'text = #dsalcodacoda
\once \override BreathingSign #'Y-offset = 0 % vertical anchor
\once \override BreathingSign #'X-extent = #'(-1 . 1) % change side gaps
\breathe
s2
\startStaff
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
And the markup must be centered both horizontally and vertically:
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
dsalcodacoda =
\markup \vcenter \override #'(baseline-skip . 2) \center-column {
\line { D.S. al }
\line { \musicglyph #"scripts.coda" - \hspace #0.5
\musicglyph #"scripts.coda" } }
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Cheers,
Robin
_______________________________________________
lilypond-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-user