Greetings again...

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

----- Original Message ----- From: "Bill Mooney" <[email protected]>
To: "Lilypond-User List" <[email protected]>
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

_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to