[OS X TeX] parindent in asparaenum
Ross Moore
ross at maths.mq.edu.au
Sat Dec 4 00:49:35 EST 2004
Hi Alain,
On 04/12/2004, at 11:05 AM, Alain Schremmer wrote:
> I am using asparaenum (paralist package) to number the stages of a
> "discourse".
>
> Double returns start new un-numbered paragraphs within a \item.
> Occasionally, though, I would like one of these paragraphs to be
> indented. I have tried \parindent and \par\indent but neither has any
> effect. \; has the effect of \vspace.
> It is no big deal but if someone had a workaround, I would be most
> obliged.
The TeX concept that unlocks this problem is the distinction between
\hskip
and \hglue . The former is removeable (e.g. at the beginning of new
lines),
but the latter is not. LaTeX's \hspace is defined using \hskip, not
\hglue,
which is partly why you are having trouble.
In most list-like environments, register-values and definitions made
immediately
after the \begin{....} will stay in effect for the whole of the
environment.
So try something like:
\begin{itemize}
\def\indent{\hglue .3cm}%
\item
..........
\item
..........
\indent
..........
\end{itemize}
After the environment has closed, \indent will revert to its default
value
as a TeX primitive.
Hope this helps,
Ross
>
> Regards
> --schremmer
> --------------------- 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>
>
>
--------------------- 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