bug-texinfo
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

changing \parindent in \everypar (was Re: Paragraph indentation suppress


From: Stepan Kasal
Subject: changing \parindent in \everypar (was Re: Paragraph indentation suppression)
Date: Wed, 9 Apr 2003 08:11:49 +0200
User-agent: Mutt/1.2.5.1i

Hello,

On Tue, Apr 08, 2003 at 11:17:56AM -0400, Simon Law wrote:
>       Hmm.  I don't see how we can avoid the second redefinition,
> since we want \parindent to be restored on the second paragraph, and not
> the first.  (Which would be rather useless.)

the problem is now merely academic, as you use \kern-\parindent in
the real patch.
I'm afraid my previous comments were not acurate, as I haven't looked
at the @section code closer.

But anyway, the following example (in plain TeX) inlustrates that you
can redefine \parindent in a paragraph, it'll affect the next paragraph,
but not the current:

\parindent=0pt
\everypar={\parindent7em}
\par\par a\par b \bye

The logic behind is this:
first, the paragraph is opened and \kern\parindent is inserted;
second \everypar is called, in horizontal mode.

But, again, no doubt the solution which doesn't change \parindent
is better.

Stepan Kasal




reply via email to

[Prev in Thread] Current Thread [Next in Thread]