[texhax] \newcolumntype Troubles

Axel E. Retif axretif at igo.com.mx
Fri Jun 8 06:21:30 CEST 2007


On  7 Jun, 2007, at 22:56, Keith Hellman wrote:


> I've attached a bare bones LaTeX document, it uses the array  
> package and
> defines a new 'C' centered column type.
>
> The first table in the document is processed OK, but note that the  
> third
> column type is not a 'C'.
>
> The second table has the third column type a 'C'.  LaTeX processes the
> the first row of the table OK, but chokes on the last line.
>

Try with

\newcolumntype{C}[1]{>{\centering\arraybackslash}p{#1}}

TLC 2nd ed., p. 249


Best,

Axel



More information about the texhax mailing list