Hello I generated latex from my lyx file and then seperately compile it (in 
order to use a particular document class not part of the lyx distribution). 
Normally there's no problem, but when I adjust the widths of columns in my 
table in Lyx, and then compile the generated latex, I get the following 
error message from  latex:

! Use of \@array doesn't match its definition.
\new@ifnextchar ...served@d = #1\def \reserved@a {
                                                  #2}\def \reserved@b 
{#3}\f...
l.1275 ...{\centering}p{1in}|>{\centering}p{1in}|}

?

The offending line is:

\begin{tabular}{|c|>{\centering}p{1in}|>{\centering}p{1in}|>{\centering}p{1in}|>{\centering}p{1in}|}

Incidentally, not adjusting the column widths generates the following latex 
which compiles fine:

\begin{tabular}{|c|c|c|c|c|}

Any ideas? 



Reply via email to