On Fri, Apr 21, 2006 at 05:30:42PM -0700, Ling Li wrote:
> Hi,
> 
> Table column options like l, r, c, @{}, >{}, are well supported in
> LyX for tables (tabular environment). I am wondering whether the
> same thing can be supported for math array. Were there
> discussions, conclusions, or plans? I am willing to help in coding
> but I am not sure how hard it is. I am also afraid that some
> structural change might be needed, since currently there is no
> interface for setting options for math insets.
> 
> Would like to hear your options.

Actually l, r and c are already supported. You can enter them into the
dialog when creating a math array (the "horizontal" entry box, which
takes lrc, and | to create a vertical line), or you can edit using
Edit->Math or Edit->Rows&Columns. 

It doesn't seem @{} or >{} are supported though, and it would be
challenging to do -- unless you do it in the same way as Tabular, by
allowing raw LaTeX user input. The code to look at is MathGridInset.

Note BTW that the Tabular user interface for doing this has been
criticized and should probably be reworked as well.

- Martin

Attachment: pgpLAYIHCJxGD.pgp
Description: PGP signature

Reply via email to