[OS X TeX] tabularx and textwidth

Cameron Hooper chooper at umich.edu
Wed Apr 27 12:52:47 EDT 2005


On Apr 27, 2005, at 12:37 PM, Morten Høgholm wrote:

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

Thanks for the quick response. Your suggestion fixed the problem.

Cameron

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