[OS X TeX] Center a "tabbing" environment

Bruno Voisin bvoisin at mac.com
Thu Apr 14 17:56:47 CEST 2005


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.

Bruno Voisin

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