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: Nick Payne
Subject: Re: center text in the middle of the page
Date: Thu, 07 Jan 2010 06:38:28 +1100
User-agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-GB; rv:1.9.1.5) Gecko/20091204 Thunderbird/3.0

You have to fiddle with the value for \lower depending on the paper and font size, but this does it:

\version "2.13.10"

\markup { \fill-line { \lower #70 { "Centred text" } } }

Nick

On 06/01/10 23:42, Federico Bruni wrote:
Centering horizontally is very simple: I use \fill-line and just one text.
There's anything as simple to center the text vertically as well?

So far I only managed to get it working with a silly workaround: \column and a long list of \line { \null } (see attached example).

I'm sure there's some better solution, can you help me to find it?





reply via email to

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