[texhax] inline lists
Philip TAYLOR (Webmaster, Ret'd)
P.Taylor at Rhul.Ac.Uk
Fri May 13 10:34:32 CEST 2011
Give a man a fish and you feed him for a day.
Teach a man to fish and you feed him for life.
\newcount \itemcount
\def \list
{%
\begingroup
\itemcount = 0
}
\def \endlist
{%
\endgroup
}
\def \item
{%
{\advance \itemcount by `\a (\char \itemcount)}\relax
\advance \itemcount by 1
~\ignorespaces
}
\noindent
Now is the time
\list
\item for all good men
\item to come to the
\item aid of the party
\endlist
\end
** Phil.
More information about the texhax
mailing list