LATEX-L Archives

Mailing list for the LaTeX3 project


Options: Use Classic View

Use Monospaced Font
Show Text Part by Default
Condense Mail Headers

Topic: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Sender: Mailing list for the LaTeX3 project <[log in to unmask]>
Date: Wed, 18 Aug 2004 14:44:21 -0700
Reply-To: Mailing list for the LaTeX3 project <[log in to unmask]>
From: Donald Arseneau <[log in to unmask]>
Content-Type: text/plain; charset=us-ascii
In-Reply-To: Morten Høgholm's message of "Wed, 18 Aug 2004 19:31:13 +0200"
Organization: TRIUMF: Canada's national meson facility
MIME-Version: 1.0
Parts/Attachments: text/plain (25 lines)
=?iso-8859-15?Q?Morten_H=F8gholm?= <[log in to unmask]> writes:
> On Wed, 18 Aug 2004 16:40:04 +0200, Javier Bezos <[log in to unmask]> wrote:
> > in LaTeX of \parshape is in \list and I wonder why
> > it was preferred to other possibilities like \hangindent
> > or \leftskip/rightskip. Any ideas?

Like much of original LaTeX, it is sloppy coding and profligate
waste of TeX features.  I think lists could have been defined
better using \leftskip/\rightskip, and that would allow safe
reprocessing of page contents using \lastbox.  The difference
is that equation environments would need to set a \displayindent
explicitly, instead of TeX setting it for them.

> Using
>    \leftskip\@totalleftmargin
> works fine until you start issuing \raggedright etc.

\raggedright already maintains \@rightskip for the benefit of the
current list implementation.  It would be no more complex (just slightly
different) for a different list.  The current definition is extremely
obscure, ugly, and fragile in its redefinition of \par, needed to
reset \parshape settings every paragraph.

Donald Arseneau                          [log in to unmask]