[OS X TeX] Question: adjusting spacing in the enumerate environment

Richard Seguin riseguin at earthlink.net
Mon Mar 21 22:58:43 EST 2005


Yes Claus, it works!!! Your technique together with Herb Schulz's  
suggestion of inserting the \par gives me exactly what I needed. This  
is what I'm using:

\documentclass[11pt,psamsfonts,oneside]{article}
\usepackage{amssymb,amsmath,latexsym,amsthm}

...

\newskip\csep
\newskip\csepb
\csep=-1.0\medskipamount
\csepb=-0.6\medskipamount
\newcommand{\Enumerate}{\par\partopsep=\csep\begin{enumerate}\itemsep=\c 
sepb}

...

\Enumerate
\item blah blah blah;
\item blah blah blah;
\item blah blah blah.
\end{enumerate}

The parameters -1.0 and -0.6 give me almost exactly the same spacing in  
the enumerate environment that the amsart class does.

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}}

Richard Séguin

On Mar 21, 2005, at 7:43 AM, Claus Gerhardt wrote:

> I tested my command and it works. However, in order to adjust the  
> space above the first item (\partopsep) there must be an empty line  
> above the beginning of the environment, i.e.,
>
> bala,   bla
>
> \bi
>
> and not
>
> bala,   bla
> \bi
>
> Claus
>
> On Mar 21, 2005, at 5:09, Richard Seguin wrote:
>
>>
>> On Mar 20, 2005, at 9:13 PM, Herb Schulz wrote:
>>
>>> On 3/20/05 9:07 PM, "Richard Seguin" <riseguin at earthlink.net> wrote:
>>>
>>>> Claus,
>>>>
>>>> The \csepb=0.5\medskip statement produces the error message:
>>>>
>>>> ! Illegal unit of measure (pt inserted).
>>>> <to be read again>
>>>>       \protect
>>>> 1.79 \csepb=0.5\medskip
>>>>
>>>> \csepb=2.5pt does compile correctly
>>>>
>>>> At any rate, this doesn't seem to have any effect on the space above
>>>> the first item.
>>>>
>>>> Richard Séguin
>>>>
>>>
>>> Howdy,
>>>
>>> Try \csepb=0.5\medskipamount since \medskip is a command, not a  
>>> dimension.
>>>
>>> Good Luck,
>>>
>>> Herb Schulz
>>> (herbs at wideopenwest.com)
>>>
>>
>> That also works. However, I'm still getting minimal to no effect on  
>> the space above the first item. Maybe Bruno is correct about this  
>> approach being doomed.
>>
>> Richard
>>
>> --------------------- 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>
>>
>>
>
> --------------------- 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>
>
>

--------------------- 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