[OS X TeX] tabularx and textwidth

Morten Høgholm morten.hoegholm at latex-project.org
Wed Apr 27 12:37:27 EDT 2005


On Wed, 27 Apr 2005 12:32:54 -0400, Cameron Hooper <chooper at umich.edu>  
wrote:

> Hi
>
> I'm trying to create a multicolumn table of width = \textwidth with one  
> column allowing multirow text. I expected this should work:
>
> \begin{tabularx}{\textwidth}{lX}
> Stuff
> \end{tabularx}
>
> However, this produces a table that is clearly wider than the main text  
> block. Here is a simple example:

tabularx produces a box of the specified width so when inserted you have  
to be aware of things like the paragraph indentation which you can  
suppress here with a \noindent.
-- 
Morten
--------------------- 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