[OS X TeX] Table formatting

Alireza Dehghani dehghani at me.com
Mon Jul 11 06:29:35 CEST 2011


Hello, 
when i am using the table environment i use the following code to typeset a table:

\begin{table}
\caption {Mechanical properties of natural fibers (Saira Taj \emph{et al}. 2007)}
\label{Natural fibers}
\begin{tabular}{|m{2cm}| m{2cm}| m{2cm}| m{2cm}| m{2cm}| m{2cm}|}
\hline 
Fiber & Category & Specific gravity & Tensile strength MPa & Tensile modulus MPa & Specific modulus\\
\hline
Sisal & Leaf & 1.3 & 510 & 28 & 22\\
\hline
Jute & Bast & 1.3 & 393 & 55 & 38\\
\hline
Flax & Bast & 1.5 & 344 & 27 & 50\\
\hline
Pineapple & --- & 1.56 & 170 & 62 & 40\\
\hline
Glass fiber-E & --- & 2.5 & 3400 & 72 & 28\\
\hline
\end{tabular}
\end{table}
but the resulting table is unformatted and looks like the following image:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.tiff
Type: image/tiff
Size: 45118 bytes
Desc: not available
URL: <http://tug.org/pipermail/macostex-archives/attachments/20110711/34f1b13e/attachment.tiff>
-------------- next part --------------

why this happens? 
thank you...


More information about the macostex-archives mailing list