[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[AUCTeX-devel] New column specifiers w and W in array.sty
From: |
Arash Esbati |
Subject: |
[AUCTeX-devel] New column specifiers w and W in array.sty |
Date: |
Thu, 10 Jan 2019 21:59:50 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 |
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. This is
essentially what we do for `*' contructs in tables.
Any comments?
Best, Arash
- [AUCTeX-devel] New column specifiers w and W in array.sty,
Arash Esbati <=