bug-lilypond
[Top][All Lists]
Advanced

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

Re: feature or bug with \right-align


From: Janek Warchoł
Subject: Re: feature or bug with \right-align
Date: Mon, 18 Mar 2013 08:47:27 +0100

Hi Mike,

On Mon, Mar 18, 2013 at 7:55 AM, address@hidden
<address@hidden> wrote:
> Hey all,
>
> Should the following two commands yield the same output?
>
> \markup \right-column { foooooooooo barr }
> \markup \column \right-align { foooooooooo barr }
>
> It is not clear to me what the output should be for the second example...

The output seems to be consistent with documentation (see
http://www.lilypond.org/doc/v2.17/Documentation/notation/align).
I suppose that the idea of right-align is that it only moves the
"child markup" relative to its "parent markup" so that right edge of
child is aligned with refpoint of parent.  It does nothing with the
parent (column), so the parent refpoint (and thus the child refpoints
as well) stays near the left margin of the page.
You may want to take a look at my alignment patch
(https://codereview.appspot.com/7768043) - there's a comment trying to
explain these alignment nuances. ;-P

Bottom line: a feature, albeit with an admittedly awkward interface.

hth,
Janek



reply via email to

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