[OS X TeX] Center a "tabbing" environment
Gary L. Gray
gray at engr.psu.edu
Thu Apr 14 18:02:33 CEST 2005
On Apr 14, 2005, at 11:56 AM, Bruno Voisin wrote:
> Le 14 avr. 05, à 17:40, ITS Mail a écrit :
>
>> How do you center a "tabbing" environment????
>
> Probably you need to put the tabbing environment inside a minipage,
> something like:
>
> \begin{center}
> \begin{minipage}{10cm}
> \begin{tabbing}
> aa\=aa\kill
> a\>b\\
> \end{tabbing}
> \end{minipage}
> \end{center}
>
> The ability to put a tabbing structure inside a minipage is mentioned
> briefly on p. 218 of LaTeX: A Document Preparation System.
>
> The rationale, I think, is that a tabbing environment is not something
> that can be centred, it's taking the whole width of the page; hence
> the need to put it inside a minipage before centring it.
Alas, even then, only the minipage will be centered. The material in
the tabbed environment will still be left-justified in the minipage.
-- Gary
--------------------- Info ---------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
& FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Post: <mailto:MacOSX-TeX at email.esm.psu.edu>
More information about the macostex-archives
mailing list