Annotation of researchv10no/cmd/sml/doc/mips/itemize.tex, revision 1.1.1.1

1.1       root        1: % used to produce an itemized (bulleted) list in plain {\TeX}
                      2: % such lists can be nested
                      3: % mostly useful with WEB
                      4: 
                      5: % Usage:
                      6: % \itemize
                      7: % \item First thing
                      8: % \item second thing
                      9: % \enditemize
                     10: 
                     11: \newcount\level
                     12: \level=0
                     13: \newdimen\itemwidth
                     14: \itemwidth=2em
                     15: 
                     16: \def\itemize{\begingroup\advance\level by1
                     17:     \def\item{\par\noindent
                     18:          \raise2pt\llap{$\scriptstyle\bullet$\ }\ignorespaces}%
                     19:     \def\nameditem##1{\par\noindent
                     20:          \llap{\rlap{##1}\hskip\itemwidth}\ignorespaces}%
                     21:     \par\advance\leftskip by\itemwidth\advance\rightskip by0.5\itemwidth}
                     22: \def\enditemize{\par\endgroup\noindent\ignorespaces}
                     23: 

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.