[texhax] inline lists

Heiko Oberdiek heiko.oberdiek at googlemail.com
Fri May 13 12:32:27 CEST 2011

On Fri, May 13, 2011 at 09:50:01AM +0100, Philip TAYLOR (Webmaster, Ret'd) wrote:

> Paul Isambert wrote:
> >And let's make that fish a simple yet tasty meal:
> >
> >        \itemcount = `\a
> >
> I deliberately didn't do that !  It conflates semantics and presentation,
> which is (IMHO) a Really Bad Idea\tm.

Anyway, it's quite a small fish/meal, for people with more
appetite and longer lists: ;-)

\input alphalph.sty\relax
\newcount \itemcount

  \itemcount = 0 %
    \ifhmode\penalty-1000 \fi
    \advance\itemcount by 1 % or \global

Now is the time
\item for all good men
\item to come to the
\item aid of the party
and \dots\ \itemcount=701 %
\item cleanup afterwards.

Yours sincerely
  Heiko Oberdiek

More information about the texhax mailing list