[OS X TeX] How to fit a table into the letter size paper
Alain Schremmer
schremmer.alain at gmail.com
Tue Dec 30 11:22:35 EST 2008
On Dec 30, 2008, at 7:43 AM, Luis Sequeira wrote:
>>
>> On Dec 29, 2008, at 9:43 AM, Kuo-Hsien Chang wrote:
>>
>>> \begin{tabular}{lllllllllll}
>>> \hline
>>> Soil depth(cm) & Sand(\%) & Silt(\%) & Clay(\%) & BD(gcm-3) & FC
>>> (cm3cm-3) & K(cms-1) & WP(cm3cm-3) & pH & Root(\%) & OM(\%)
>>> \tabularnewline
>>> 0−2 & & & & & & & & & & \tabularnewline
>>> 2−5 & & & & & & & & & & \tabularnewline
>>> 5−10 & & & & & & & & & & \tabularnewline
>>> 10−20 & & & & & & & & & & \tabularnewline
>>> 20−30 & & & & & & & & & & \tabularnewline
>>> 30−45 & & & & & & & & & & \tabularnewline
>>> 45−60 & & & & & & & & & & \tabularnewline
>>> 60−75 & & & & & & & & & & \tabularnewline
>>> 75−90 & & & & & & & & & & \tabularnewline
>>> 90−105 & & & & & & & & & & \tabularnewline
>>> 105−120+ & & & & & & & & & & \tabularnewline
>>> \hline
>>> \end{tabular}----------- Please Consult the Following Before
>>> Posting -----------
>>
>>
>> Best I could come up with:
>>
>> \hspace{-35mm}\footnotesize{%
>> \begin{tabular}{lllllllllll}
>> \hline
>> Soil depth(cm) & Sand(\%) & Silt(\%) & Clay(\%) & BD(gcm-3) & FC
>> (cm3cm-3) & K(cms-1) & WP(cm3cm-3) & pH & Root(\%) & OM(\%)
>> \tabularnewline
>> 0−2 & & & & & & & & & & \tabularnewline
>> 2−5 & & & & & & & & & & \tabularnewline
>> 5−10 & & & & & & & & & & \tabularnewline
>> 10−20 & & & & & & & & & & \tabularnewline
>> 20−30 & & & & & & & & & & \tabularnewline
>> 30−45 & & & & & & & & & & \tabularnewline
>> 45−60 & & & & & & & & & & \tabularnewline
>> 60−75 & & & & & & & & & & \tabularnewline
>> 75−90 & & & & & & & & & & \tabularnewline
>> 90−105 & & & & & & & & & & \tabularnewline
>> 105−120+ & & & & & & & & & & \tabularnewline
>> \hline
>> \end{tabular}
>> }
>>
>> Regards
>> --schremmer
>
> Here is yet another possibility, which seems to be more flexible:
> scale the tabular environment to make it fit.
> You could do something like:
>
> \scalebox{0.75}{%
> \begin{tabular}{...}
> ....
> \end{tabular}
> }
>
>
> I tried and it seems to work. You may always chose another scaling
> factor, of course (this is why I think this solution is more
> flexible...)
I agree: I just didn't know of such a thing as \scalebox. But of
course, Moore's type of solution is the real one.
Grateful regards
--schremmer
More information about the MacOSX-TeX
mailing list