Post by Donald ArseneauPost by Rowland McDonnellWhich is a very different matter. I'm not just nit-picking - the point
is that *something* happened with the above code, and it's often useful
to know *what* happened in order to figure out what to do next.
Oh yes you were. It is obvious that the desire was for an indented
environment, and the definition did not provide indentation.
Indentation, yes; but to be used exactly how? I wasn't sure of that.
Post by Donald ArseneauPost by Rowland McDonnelllist environment is very different to the way it was when LaTeX 2.09
Not really. I can't think of any way that it changed.
In that case, I'll have to re-RTFM very carefully, because I found
references to list style parameters in 2e source code that I couldn't
find any mention of in Lamport's 2.09 book.
Post by Donald Arseneau\trivlist is for a *very* trivial paragraph object. Better use
\list for an indented environment, with assignments to \leftmargin
and \rightmargin in the appropriate argument.
I thought I'd tried that, and couldn't get it to work. Hmm. I must
have been very stupid about it.
Post by Donald Arseneau\begin{list}{}{\setlength\leftmargin\parindent
\setlength\rightmargin\parindent}
\item\relax
...
\end{list}
or copy the quotation environment
I tried that, but got baffled. I've got something that nearly works
right now, but I can't figure out why the following:
\documentclass[12pt,a4paper]{article}
\makeatletter
\newenvironment{myindent}{%
\begin{list}{}{\setlength{\leftmargin}{1in}
\listparindent=\parindent
\itemindent\listparindent
\parsep\z@ \@plus\p@
\setlength\rightmargin\parindent% maybe not required
\item\relax}}%
{\end{list}}
\makeatother
\begin{document}
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam
nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat,
sed diam voluptua. At vero eos et accusam et justo duo dolores et ea
rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem
\begin{myindent}
Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse
molestie consequat, vel illum dolore eu feugiat nulla facilisis at
vero eros et accumsan et iusto odio dignissim qui blandit praesent
luptatum zzril delenit augue duis dolore te feugait nulla facilisi.
Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper
suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem
vel eum iriure dolor in hendrerit in vulputate velit esse molestie
consequat.
\end{myindent}
Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse
molestie consequat, vel illum dolore eu feugiat nulla facilisis.
\end{document}
puts a bit of extra space above the myindent environment but not below.
Any ideas?
Rowland.
--
Remove the animal for email address: ***@dog.physics.org
PGP pub key 0x62DCCA78 Sorry - the spam got to me
http://www.mag-uk.org
UK biker? Join MAG and help keep bureaucracy at bay