[OS X TeX] Re : Stupid question about the tabular environment

Alain Schremmer schremmer.alain at gmail.com
Sat Jan 17 21:09:38 CET 2009


On Jan 17, 2009, at 2:39 PM, Josep Maria Font wrote:

> El 17/01/2009, a las 20:12, Herbert Schulz escribió:
>
>> On Jan 17, 2009, at 11:58 AM, philippe grandjean wrote:
>>
>>> With \begin{center} at the beginning and \end{center} at the en  
>>> on my mac i
>>> have a table perfectly balanced
>
>> Howdy,
>>
>> Not here! If the table width is <=\textwidth it will be ok but  
>> with a table width >\textwidth it will start at the left margin  
>> and only stick out into the right margin.
>
>
> Strange. It works well here (with *both* the \begin{center} ... \end 
> {center} and the tabular inside a \makebox[c].
>
> Anyway, I presume the definitive trick is to make LaTeX think the  
> table has width zero, and center its contents in a zero-width box:
>
> \begin{center}
> \makebox[0pt][c]{put your tabular here}
> \end{center}

Note here.
Whether with \makebox[\textwidth][c] or with \makebox[0pt][c] the  
left margin is about 6mm and the right margin is about 15mm.

Regards
--schremmer


More information about the macostex-archives mailing list