According to section 56.2 of the LaTeX2e sources (which is summarized here), it is possible to use the syntax *{N}{x} to specify xx...x (N times) in the preamble of an array.
I would like to be able to use *{0}{l}. I'm concerned with the fact that the following two pieces of code do not behave the same:
\[\begin{array}{*{0}{l} *{2}{l}}
a & b
\end{array}\]
\[\begin{array}{*{2}{l} *{0}{l}}
a & b
\end{array}\]
I'm able to compile the second array but not the first (pdflatex complains about a missing # inserted in alignment preamble).
Is there anything I need to be aware of? As far as I can see, there is no mention of the case N=0 in the documentation, and nothing is said about the first use of the star notation in an array preamble.
If this is a bug in the LaTeX2e implementation, who should I warn?
arraypackage, i.e.\usepackage{array}– StefanH Feb 28 '17 at 15:51arrayas a package requirement then :-) Thank you for your help ! @campa I will accept your answer if you post it – Fabian Pijcke Feb 28 '17 at 15:56array.styit seems you need version 2.1 or later. I don't know when this is in time, but the latest version seems to be 2.4d from October 2016. You can specify it in yoursty-file as\RequirePackage[<options>]{array}[<version>]but then I think<version>is the date of the version. – StefanH Feb 28 '17 at 16:10arrayhas status as a required package, relying on it is probably fine. – Torbjørn T. Feb 28 '17 at 16:15arrayis absolutely required as part of a LaTeX installation and is therefore assume to be available by the standard documentation. – Joseph Wright Feb 28 '17 at 16:31\tbl{leftpartheader}{rightpartheader}{values}where each partheader is a (possibly empty) sequence of names and values is a semicolon-separated sequence of comma-separated tuples. – Fabian Pijcke Feb 28 '17 at 18:05