On 12/16/2013 11:25 AM, Kieren MacMillan wrote:
Hi all,
Thanks for the help… until someone comes up with a truly “automated” method,
[...]
Hi Kieren,
how about the following? Uses
- \with-dimensions to fake zero extent for the markup that should not
be considered for spacing,
- \halign to make it right-aligned, and
- an \hspace inside all that to shift stuff slightly more to the left.
Still quite verbose, but no need to figure out any hspace values manually.
\paper {
bookTitleMarkup = \markup \fill-line { \abs-fontsize #18
\fromproperty #'header:title }
scoreTitleMarkup = \markup \fill-line {
\concat {
\abs-fontsize #18
\with-dimensions #'(0 . 0) #'(0 . 0) \halign #RIGHT \concat {
\override #'(box-padding . 0.5) \box \concat { "#"
\fromproperty #'header:no }
\hspace #0.5
}
\override #'(baseline-skip . 0) \center-column {
\abs-fontsize #18 \fromproperty #'header:title
\abs-fontsize #13 \concat { "(" \fromproperty
#'header:performers ")" }
}
}
}
}
HTH,
Alexander
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user