[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Proposed syntax change: renaming of \center-align markup command
From: |
Neil Puttock |
Subject: |
Re: Proposed syntax change: renaming of \center-align markup command |
Date: |
Sun, 17 Aug 2008 18:48:22 +0100 |
2008/8/17 Mats Bengtsson <address@hidden>:
> I just realized that \column and \left-column isn't the same thing
> (or at least that it shouldn't be the same thing). If you compare the
> implementation of the current \column and \center-align commands,
> you will notice that \column just stacks the markups using their
> already existing horizontal alignment points, whereas \center-align
> also sets the horizontal alignment point of each markup in the column.
> In other words, \center-align is equivalent to \column \hcenter, as
> the following example illustrates:
> \version "2.11.50"
> \markup{\column{ \left-align { AAAAA BBB C }}}
> \markup{\column { AAAAA BBB C }}
> \markup{\column{ \hcenter { \right-align AAAAA BBB C }}}
> \markup{\center-align { \right-align AAAAA BBB C }}
>
>
> Similarly, a \left-column that does what the name says, should
> explicitly set the horizontal alignment point of all the markups
> to be left aligned, i.e. be equivalent to \column \left-align.
> The following example illustrates the difference:
> \version "2.11.50"
> \markup{\column { \right-align AAAAA BBB C }}
> % What a proper implementation of \left-column should do:
> \markup{\column{ \left-align { \right-align AAAAA BBB C }}}
Ah yes; \center-align uses a lambda function to remap the alignment.
So there's no question of either/or; we need both commands.
Regards,
Neil
- Re: Proposed syntax change: renaming of \center-align markup command, (continued)
- Re: Proposed syntax change: renaming of \center-align markup command, Neil Puttock, 2008/08/16
- Re: Proposed syntax change: renaming of \center-align markup command, James E. Bailey, 2008/08/16
- Re: Proposed syntax change: renaming of \center-align markup command, Neil Puttock, 2008/08/16
- Re: Proposed syntax change: renaming of \center-align markup command, James E. Bailey, 2008/08/17
- Re: Proposed syntax change: renaming of \center-align markup command, Mats Bengtsson, 2008/08/17
- Re: Proposed syntax change: renaming of \center-align markup command, Trevor Daniels, 2008/08/17
- Re: Proposed syntax change: renaming of \center-align markup command, Mats Bengtsson, 2008/08/17
- Re: Proposed syntax change: renaming of \center-align markup command, James E. Bailey, 2008/08/17
- Re: Proposed syntax change: renaming of \center-align markup command, Neil Puttock, 2008/08/17
- Re: Proposed syntax change: renaming of \center-align markup command, James E. Bailey, 2008/08/17
- Re: Proposed syntax change: renaming of \center-align markup command,
Neil Puttock <=
- Re: Proposed syntax change: renaming of \center-align markup command, Patrick Horgan, 2008/08/17
- Re: Proposed syntax change: renaming of \center-align markup command, Mats Bengtsson, 2008/08/17
- Re: Proposed syntax change: renaming of \center-align markup command, Patrick Horgan, 2008/08/17