Tugger the SLUGger!SLUG Mailing List Archives

[SLUG] Latex, tabular screwed


I'm having trouble with tabular environemt in latex atm[1]. Basically,
it just finding errors that don't give a clue.


\begin{tabular}{|p|c|c|c|c|c|c|} \hline
mass (M g) 	& 10.0	& 10.5	& 11.0	& 11.5	& 12.0	& 12.5 \\ \hline
Extension ( e mm) & 16	& 18	& 22	& 25	& 26	& 30 \\ \hline
\end{tabular}

gives the error
! Missing number, treated as zero.
m
 ass (M g) 	& 10.0	& 10.5	& 11.0	& 11.5	& 12.0	& 12.5 \\ \hline

Basically, what frigging number does it want?
and why is it looking for it on the first line?


and inserting the only number I can think of

\begin{tabular}{150mm}{|p|c|c|c|c|c|c|} \hline
mass (M g) 	& 10.0	& 10.5	& 11.0	& 11.5	& 12.0	& 12.5 \\ \hline
Extension ( e mm) & 16	& 18	& 22	& 25	& 26	& 30 \\ \hline
\end{tabular}

gets the error

! LaTeX Error: Illegal character in array arg.


TIA



[1]
Debian sarge in case it matters

-- 
   Terry Collins {:-)}}}
   email: terryc at woa.com.au  www: http://www.woa.com.au
   Wombat Outdoor Adventures <Bicycles, Computers, Outdoors, Publishing>

 "Any society that would give up a little liberty to gain a little
  security will deserve neither and lose both." Benjamin Franklin