[texhax] nested lists with out top sep
Joe Corneli
jcorneli at math.utexas.edu
Tue Dec 9 19:01:47 CET 2003
I made the following definitions
\newenvironment{123listcolonstyle}{
\indent \begin{list}{\arabic{123listcolonstylectr}:}{\usecounter{123listcolonstylectr}}}
{\end{list}\setcounter{123listcolonstylectr}{0}}
\def\defn#1{
{\footnotesize \noindent \begin{123listcolonstyle} \setlength{\itemsep}{0em}
\setlength{\topsep}{0em} \setlength{\parsep}{0em} #1 \end{123listcolonstyle}}}
Which I use to make lists that look like this
1: A=B
2: C=D
3: D=E
My question is: I want to nest this kind of list, to produce something
like this:
1: 1: A=B
2: C=D
3: D=E
2: 1: E=F
But the code produces something that looks like this:
1:
1: A=B
2: C=D
3: D=E
2: 1: E=F
Can you please suggest a fix to the code? (Please don't worry about
the counters, I'm just concerned about the indenting/spacing.)
Thanks for your help.
Joe
More information about the texhax
mailing list