auctex-devel
[Top][All Lists]
Advanced

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

Re: [AUCTeX-devel] New column specifiers w and W in array.sty


From: Mosè Giordano
Subject: Re: [AUCTeX-devel] New column specifiers w and W in array.sty
Date: Thu, 10 Jan 2019 23:30:04 +0100

Hi Arash,

On Thu, Jan 10, 2019 at 10:17 PM Arash Esbati <address@hidden> wrote:
>
> Hi all,
>
> array.sty now comes with 2 new column specifiers w and W.  From the
> manual:
>
>     w{align}{width}
>     Sets the cell content in a box of the specified width aligned
>     according to the align parameter which could be either l, c
>     or r.  Works essentially like \makebox[width][align]{cell}
>     so silently overprints if the cell content is wider than the
>     specified width. If that is not desired use W instead.
>
> This can be easily added to array.el with:
>
>     @@ -95,7 +95,7 @@ and make it buffer local. "
>
>         ;; `array.sty' adds some new column specification letters.
>         (set (make-local-variable 'LaTeX-array-column-letters)
>     -       (concat LaTeX-array-column-letters "m" "b"))
>     +       (concat LaTeX-array-column-letters "m" "b" "w" "W"))
>
>
> The fun part begins with this sentence in the manual:
>
>     A declaration like w{l}{3cm} (or even shorter wl{3cm})
>
> This notation confuses `LaTeX-array-count-columns' as it counts the l as
> a new specifier and not as an argument to w.
>
> My suggestion is to add the above patch to array.el and mention in the
> News that AUCTeX supports only the version with braces.

I agree on this!

> Any comments?

No, please go ahead!

Bye,
Mosè



reply via email to

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