lilypond-user
[Top][All Lists]
Advanced

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

Re: center text in the middle of the page


From: Kieren MacMillan
Subject: Re: center text in the middle of the page
Date: Wed, 6 Jan 2010 10:12:59 -0500

Hi Federico:

> What about this? (but now I have the borders of the box, can I remove them?)

Using \pad-to-box is probably even better in terms of spacing, since you can 
control x and y padding separately:

\version "2.13.9"
\markup \override #'(thickness . 0) {
  \fill-line {
     \box {
      \fontsize #10
      \pad-to-box #'(0 . 0) #'(-80 . 80) { "Chapter 1" }
    }
  }
}

However, I can't seem to get the thickness to [a true] 0 — maybe a bug?  =\

Cheers,
Kieren.





reply via email to

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