bug-lilypond
[Top][All Lists]
Advanced

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

Re: \center-column sometimes appears not to reserve space.


From: Reinhold Kainhofer
Subject: Re: \center-column sometimes appears not to reserve space.
Date: Wed, 15 Dec 2010 18:08:03 +0100
User-agent: KMail/1.13.5 (Linux/2.6.35-23-generic; KDE/4.5.4; i686; ; )

Am Mittwoch, 15. Dezember 2010, um 15:43:42 schrieb David Kastrup:
> Take a look at the following:
> 
> \markup { \concat { \center-column { Ooooooh ah }
>         \center-column { Ah oooooooh }
>         \center-column { Ooooooh ah }
>         } }
> 
> It would appear that the middle column has no horizontal size at all.
> I think that's a regression in comparison to the last stable version.

No. The issue is rather that center-column has an alignment point at the 
center, so the center of the column is placed where the left edge should be. 
As a result, for each center-column, the left half collides with the previous 
markups.
A long while ago, I created a patch, but that caused severe problems with fret 
diagrams. Furthermore, I reimplemented the code where I ran into those 
problems, so I no longer had a problem with the mis-alignment. The patch was 
subsequently lost completely.

As a workaround, you can wrap \left-align around each center-column... (See 
also my mail to -user last saturday about the time signature formatting - 
Thread "double time signatures").

Cheers,
Reinhold

-- 
------------------------------------------------------------------
Reinhold Kainhofer, address@hidden, http://reinhold.kainhofer.com/
 * Financial & Actuarial Math., Vienna Univ. of Technology, Austria
 * http://www.fam.tuwien.ac.at/, DVR: 0005886
 * LilyPond, Music typesetting, http://www.lilypond.org



reply via email to

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