[OS X TeX] Center a "tabbing" environment

ITS Mail mail at its.org.uk
Thu Apr 14 13:27:03 EDT 2005


Yes! This (centering of the tabbing environment as a whole) was the
effect expected, looked for, desired and dreamt of! Many thanks to all
of you. I have just been trying it in the real text with Arabic inserts
and all, and it works just fine.

Muchas gracias

Juan

-------------------
The Islamic Texts Society
22A Brooklands Avenue
Cambridge CB2 2DQ
United Kingdom
Telephone: +44 (0)1223 314387
Fax: +44 (0)1223 324342
Website: http://www.its.org.uk
Regd. Charity 283832


-----Original Message-----
From: MacOSX-TeX at email.esm.psu.edu [mailto:MacOSX-TeX at email.esm.psu.edu]
On Behalf Of Bruno Voisin
Sent: 14 April 2005 17:42
To: TeX on Mac OS X Mailing List
Subject: Re: [OS X TeX] Center a "tabbing" environment


Le 14 avr. 05, à 18:18, Herb Schulz a écrit :

> The strange thing is that it didn't seem to make any difference in 
> positioning---at least with the example given---when I changed the 
> \parbox width in the range 0cm--10cm!? I settled on 0cm to try to 
> guarantee centering of the display. Will this always work?

It seems the specified width is of no influence at all, and only the 
actual width of the tabbing environment is taken into account. From the 
LaTeXbook p. 218, regarding \parbox{width}{text} and 
\begin{minipage}{width} text \end{minipage}:

"The list-making environments listed in Section 6.6 and the tabular 
environment may appear in "text" with the minipage environment, but not 
with the \parbox command. (If "text" consists of only a tabbing 
environment, then the width of the resulting box is the actual width of 
the longest line rather than the "width" argument.)"

That said, I don't understand Gary's answer:

> Alas, even then, only the minipage will be centered. The material in
> the tabbed environment will still be left-justified in the minipage.

I thought this effect (centering of the tabbing environment as a whole) 
was the one expected and looked for.

Bruno



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




--------------------- 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 MacOSX-TeX mailing list