[OS X TeX] tabularx and textwidth

Peter Dyballa Peter_Dyballa at Web.DE
Thu Apr 28 06:05:56 EDT 2005


Am 28.04.2005 um 11:58 schrieb Morten Høgholm:

> On Thu, 28 Apr 2005 11:40:42 +0200, Peter Dyballa 
> <Peter_Dyballa at Web.DE> wrote:
>
>> or, a bit more clever:
>>
>> 	{\noindent\begin{tabularx}{\textwidth}{lX}
>> 	...}
>
> \noindent is a strange beast (as are many other TeX primitives ;-). 
> For one it only works between paragraphs and if it is followed by a 
> blank line it vanishes again. It is not a declaration however (unlike 
> many LaTeX commands) so putting it in a group has no effect other than 
> increasing the risk of getting a spurious space after closing the 
> group.
>

So the optimum solution, believing that \noindent only influences the 
next paragraph, would be:

	\noindent%
	\begin{tabularx}{\textwidth}{lX}
	...

--
Greetings

   Pete

Math illiteracy affects 7 out of every 5 Americans.

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