[OS X TeX] Table formatting

Ross Moore ross.moore at mq.edu.au
Mon Jul 11 00:40:21 EDT 2011


Hello Alireza,

On 11/07/2011, at 2:29 PM, Alireza Dehghani wrote:

> 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}|}

Try changing these  'm{2cm}'  to  'p{2cm}' in each case,
or just use  'c' for some of them.


> \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:
> <image.tiff>
> why this happens? 
> thank you...


Hope this helps,

	Ross

------------------------------------------------------------------------
Ross Moore                                       ross.moore at mq.edu.au 
Mathematics Department                           office: E7A-419      
Macquarie University                             tel: +61 (0)2 9850 8955
Sydney, Australia  2109                          fax: +61 (0)2 9850 8114
------------------------------------------------------------------------






More information about the MacOSX-TeX mailing list