lilypond-user
[Top][All Lists]
Advanced

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

Re: header anomalies LP2.13.60


From: Bill Mooney
Subject: Re: header anomalies LP2.13.60
Date: Mon, 09 May 2011 10:00:07 +1200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110424 Thunderbird/3.1.10

Greetings again...

On 08/05/11 22:15, Phil Holmes wrote:

----- Original Message ----- From: "Bill Mooney" <address@hidden>
To: "Lilypond-User List" <address@hidden>
Sent: Saturday, May 07, 2011 4:43 AM
Subject: header anomalies LP2.13.60


Greetings!
Can someone please explain what is happening with the header block in
this code?
+++++++++++++++
\version "2.13.60"
\header {
title = \markup \center-column { \huge "XXXXXXXXXXX" "XXXXXXXXX" "-X-" }
subtitle =\markup \center-column { "NNNN" "-N-" }
subsubtitle = \markup \center-column { "ZZZZ" }
}
\score { { a' b' c'' d'' } \layout { } }
+++++++++++++++
The first line of Xs is rendered smaller than the second line, and the
-X- and the -N- are too close to the lines below them.
Is this behaviour due to something I've misunderstood, or is it
evidence of a bug?

Many thanks,
Bill


I reckon the \huge is only applying to the text block following, so the
second line of XXs adopt the default header size, which is larger.

I also reckon Lily doesn't space header text very well with multiple
lines from a center-column. The following works around this for me:

\version "2.13.60"
\header {
title = \markup \center-column { "XXXXXXXXXXX" "XXXXXXXXX" "-X-" " " }
subtitle =\markup \center-column { "NNNN" "-N-" }
subsubtitle = \markup \center-column { "ZZZZ" }
}
\score { { a' b' c'' d'' } \layout { } }

Result is the same on 2.12

--
Phil Holmes


Many thanks for that, Phil and James

++++++++
...from James

Yes, if you change
title = \markup \center-column { \huge "XXXXXXXXXXX" "XXXXXXXXX" "-X-" }
to
title = \markup \center-column { \huge { "XXXXXXXXXXX" "XXXXXXXXX" "-X-" } }
Then all the 'X's are the same size.
++++++++

Aaaahhhhh - the subtleties of LP and its grammar/syntax! :)

Should the spacing thing be submitted as a bug?
I have enough trouble getting to grips with the simple things that submitting a bug report is quite beyond me! :) - if it is a bug could I ask one of you to forward it?

Regards
Bill



reply via email to

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