lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: centering title and THEN adding something to the left of it


From: Kieren MacMillan
Subject: Re: centering title and THEN adding something to the left of it
Date: Mon, 16 Dec 2013 05:25:22 -0500

Hi all,

Thanks for the help… until someone comes up with a truly “automated” method, 
I’m simply going to hand-code the extra spacing “strut", e.g.

\version "2.17.29"

\paper {
 bookTitleMarkup = \markup \fill-line { \abs-fontsize #18 \fromproperty 
#'header:title }
 scoreTitleMarkup = \markup \center-column {
   \fill-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 
")" }
       }
       \hspace #6.9
     }
   }
 }
}

\header {
 no = "1"
 title = "My Awesome Song"
 performers = "Me and You"
}

\score { c’ }

Cheers,
Kieren.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]