[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
centering title and THEN adding something to the left of it
From: |
Kieren MacMillan |
Subject: |
centering title and THEN adding something to the left of it |
Date: |
Sun, 15 Dec 2013 20:24:06 -0500 |
Hello all,
Please consider the following snippet:
\version "2.17.29"
\paper {
bookTitleMarkup = \markup \fill-line { \abs-fontsize #18 \fromproperty
#'header:title }
scoreTitleMarkup = \markup \center-column {
\fill-line {
\line {
\line {
\line { \abs-fontsize #18 \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
")" }
}
}
}
}
}
}
\header {
no = "1"
title = "My Awesome Song"
performers = "Me and You"
}
\score { c' }
I’d like to have the score title (i.e., the whole two-line column)
automatically centered (i.e., it should be lined up exactly with the book
title, in this case), and the boxed song number (which may have two or three
digits in other songs!) “float” to the left accordingly. What’s the easiest way
to accomplish this, without having to manually tweak each song?
Thanks,
Kieren.
- centering title and THEN adding something to the left of it,
Kieren MacMillan <=
- Re: centering title and THEN adding something to the left of it, Urs Liska, 2013/12/16
- Re: centering title and THEN adding something to the left of it, Kieren MacMillan, 2013/12/16
- Re: centering title and THEN adding something to the left of it, David Kastrup, 2013/12/16
- Re: centering title and THEN adding something to the left of it, Kieren MacMillan, 2013/12/16
- Re: centering title and THEN adding something to the left of it, Alexander Kobel, 2013/12/16
- Re: centering title and THEN adding something to the left of it, Kieren MacMillan, 2013/12/16
- Re: centering title and THEN adding something to the left of it, Alex Loomis, 2013/12/16
- Re: centering title and THEN adding something to the left of it, Alexander Kobel, 2013/12/16
- Re: centering title and THEN adding something to the left of it, Kieren MacMillan, 2013/12/16
- Re: centering title and THEN adding something to the left of it, Kieren MacMillan, 2013/12/16