[texhax] problem with array package

tom sgouros tomfool at as220.org
Wed Apr 26 04:30:51 CEST 2006

Brilliant.  Thank you.


E. Krishnan <ekmath at asianetindia.com> wrote:

> The problem arises because the "\raggedright" command redefines the
> linebreaking command "\\". The workaround is to redefine "\\" locally,
> which is done by the command "\arraybackslash" in the "array" package.  
> So, just change your "newcolumntypes" to read
>    \newcolumntype{X}{>{\raggedright\arraybackslash}p{1.2in}}
>    \newcolumntype{P}{>{\raggedright\arraybackslash}p{3in}}
> and everything would be fine.

 tomfool at as220 dot org

More information about the texhax mailing list