# [OS X TeX] bullet lists and numbered lists

Steven Callaghan scallagh at sprynet.com
Sat Jul 27 11:36:39 EDT 2002


Hi,

I only use Plain TeX, and for bullet lists, I use the following macro.

\def\fred#1{\vskip12pt\hbox{\vtop{\hsize12pt{$\bullet$\hfil}}
\vtop{\hsize466pt{#1}}\hfil}}

This macro adds a blank line, puts in a bullet, and then adds the text in
\fred{here's the text.}
You may have to play with the 466 number to get the correct right margin
that you want.

For numbered lists, I use this macro.

\newcount\normy
\normy=0
\hbox{\vtop{\hsize18pt{\the\normy.\hfil}}
\vtop{\hsize460pt{#1}}\hfil}}

Every time you use \norm{here's the text.} it will do a blank line and then
increment the counter \normy, and then write the next number, and then put
in the text.  You may have to play with the 18pt number if your list grows
bigger than 100 items, and you may have to play with the 460pt number to get
the correct right margin.

cheers, Steve.

-----------------------------------------------------------------
Threaded list archives can be found at:
<http://www.masda.vxu.se/~pku/MacOSX_TeX/>
-----------------------------------------------------------------
To UNSUBSCRIBE, send email to <info at email.esm.psu.edu> with
"unsubscribe macosx-tex" (no quotes) in the body.
For additional HELP, send email to <info at email.esm.psu.edu> with
"help" (no quotes) in the body.
-----------------------------------------------------------------