bug-lilypond
[Top][All Lists]
Advanced

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

Re: title not centered


From: James Bailey
Subject: Re: title not centered
Date: Sat, 12 Jun 2010 00:45:34 +0200


On 11.06.2010, at 23:14, Xavier Scheuer wrote:

2010/6/11 James Bailey <address@hidden>:

It seems that titles aren't centered on non-a4 size paper.
Additionally, it appears that this is a regression that broke
between 2.13.11 and 2.13.12.

Hi!

Yes, several people reported a bug when using \center-column for
\header fields (or in combination with \fill-line) on lilypond-user:
http://lists.gnu.org/archive/html/lilypond-user/2010-02/msg00653.html
http://lists.gnu.org/archive/html/lilypond-user/2010-03/msg00334.html
http://lists.gnu.org/archive/html/lilypond-user/2010-05/msg00013.html

A workaround that has been given is to use
  \markup \left-align \center-column
but that doesn't seem to work here since your title is too long
(same if you use simply your title between quotes)...

But you are right to submit to bug- since there is no issue about this
on the tracker AFAICS.

Cheers,
Xavier

Hmm, after looking at it a little longer, it looks like the functions have changed. \fill-line works here instead of \center-column, so:
\version "2.12.3"
\header { title = \markup \fill-line { "How Razorback Jumping Frogs Level Six Piqued Gymnasts" } }
   \score { {s1} \layout {} }

yields expected output, while

\header { title = \markup \center-column { "How Razorback Jumping Frogs Level Six Piqued Gymnasts" } }
   \score { {s1} \layout {} }

yields unexpected output. I think this is possibly more a documentation issue. Although, trying to make heads or tails of the documentation concerning alignment is a daunting task.



reply via email to

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