[OS X TeX] Question: adjusting spacing in the enumerate environment
Ross Moore
ross at ics.mq.edu.au
Tue Mar 22 00:16:41 EST 2005
Hello Richard,
On 22/03/2005, at 2:58 PM, Richard Seguin wrote:
>
> \newskip\csep
> \newskip\csepb
> \csep=-1.0\medskipamount
> \csepb=-0.6\medskipamount
> \newcommand{\Enumerate}{\par\partopsep=\csep\begin{enumerate}\itemsep=\
> csepb}
> And if you want to move your document from the article to the amsart
> class, all you have to do is comment out the above \newcommand and
> insert
>
> \newcommand{\Enumerate}{\begin{enumerate}}
If you are anticipating the need to do this,
then write the definitions as follows:
\newskip\csep
\newskip\csepb
\csep=-1.0\medskipamount
\csepb=-0.6\medskipamount
\newcommand{\Enumerate}{\begin{enumerate}}
\renewcommand{\Enumerate}{\par\partopsep=\csep\begin{enumerate}\itemsep=
\csepb}
Now it is just a single keystroke ('%') to revert to amsart style.
Alternatively, you could reverse the last two lines, using instead:
\newcommand{\Enumerate}{\par\partopsep=\csep\begin{enumerate}\itemsep=\c
sepb}
\providecommand{\Enumerate}{\begin{enumerate}}
and again, just inserting a '%' suffices to switch styles.
Of course there is a deficiency in all this, whereby it will not work
with the extra features provided by \usepackage{enumerate} .
Hope this helps,
Ross
------------------------------------------------------------------------
Ross Moore ross at maths.mq.edu.au
Mathematics Department office: E7A-419
Macquarie University tel: +61 +2 9850 8955
Sydney, Australia fax: +61 +2 9850 8114
------------------------------------------------------------------------
--------------------- Info ---------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
& FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Post: <mailto:MacOSX-TeX at email.esm.psu.edu>
More information about the MacOSX-TeX
mailing list