[OS X TeX] Format for enumerate environment
Ross Moore
ross.moore at mq.edu.au
Thu Aug 8 01:12:27 CEST 2019
On 8 Aug 2019, at 8:28 am, Nitecki, Zbigniew H. <Zbigniew.Nitecki at tufts.edu<mailto:Zbigniew.Nitecki at tufts.edu>> wrote:
This is undoubtedly a stupid question, but bear with me.
Nothing stupid about it.
I am trying to format an enumerated list (using the enumerate environment, and we are at the top level—this is not inside another “enumerate” environment). I want to have the numbering in arabic followed by a period, as in
1. First item
2. Second item
etc, but I need to interrupt the list to insert commentary/instructions. I know about both the enumitem package (using \end{enumerate}, then \begin{enumerate}[resume} and the mdwlist package, (using \suspend{enumerate} then \resume{enumerate}. For some reason (is it because I am using the amsart document style?) the default labelling is in parentheses, contrary to what the Latex Companion says.
I can change the format back to the one I want, using \usepackage{enumerate} and \begin{enumerate}[1.], but can’t interrupt the list—at least I don’t know how: if I don’t invoke either enumitem or mdwlist, I know I have to go through contortions to resume the numbering after the comment, which I don’t quite understand (the explanation on pp 129-131 is opaque to me).
If I try to use enumitem and start with \begin{enumerate}[1.], even with \usepackage{enumerate}, it tells me 1. is undefined.
If I try to use [1.] after \resume{enumerate}, it finds a missing item in the second part of the list.
Can someone give me a (hopefully straightforward) solution to the problem, so that I get
Here’s how I do it.
\begin{enumerate}[1.]
1. First item
2. Second item
\end{enumerate}
We pause for a break
\begin{enumerate}[1.]
\setcounter{enumi}{2}% where the counter would be if there was no break
3. Third item
4. Fourth item
\end{enumerate}
?
Zbigniew Nitecki
Department of Mathematics
Tufts University
Medford, MA 02155
telephones:
Office (617)627-3843
Dept. (617)627-3234
Dept. fax (617)627-3966
http://www.tufts.edu/~znitecki/<https://protect-au.mimecast.com/s/cFoVCVARmOHkqq1nIGabzc?domain=tufts.edu>
<test1.tex><test1.pdf>----------- Please Consult the Following Before Posting -----------
TeX FAQ: https://protect-au.mimecast.com/s/Hi5kCWLVn6iXrrvLux7uua?domain=tex.ac.uk
List Reminders and Etiquette: https://protect-au.mimecast.com/s/1-WUCXLW6DiDEE3PCDCYhl?domain=sites.esm.psu.edu
List Archives: https://protect-au.mimecast.com/s/Pf4MCYW86EspVVPWFVBicH?domain=dir.gmane.org
https://protect-au.mimecast.com/s/YAHACZY146s8KKyqfxV5y7?domain=email.esm.psu.edu
TeX on Mac OS X Website: https://protect-au.mimecast.com/s/U9YKC1WLjwsBJJKAu1neKL?domain=mactex-wiki.tug.org
List Info: https://protect-au.mimecast.com/s/gfNOC2xMRkUZ55A2HXefw8?domain=email.esm.psu.edu
Dr Ross Moore
Department of Mathematics and Statistics
12 Wally’s Walk, Level 7, Room 734
Macquarie University, NSW 2109, Australia
T: +61 2 9850 8955 | F: +61 2 9850 8114
M:+61 407 288 255 | E: ross.moore at mq.edu.au<mailto:ross.moore at mq.edu.au>
http://www.maths.mq.edu.au
[cid:image001.png at 01D030BE.D37A46F0]
CRICOS Provider Number 00002J. Think before you print.
Please consider the environment before printing this email.
This message is intended for the addressee named and may
contain confidential information. If you are not the intended
recipient, please delete it and notify the sender. Views expressed
in this message are those of the individual sender, and are not
necessarily the views of Macquarie University. <http://mq.edu.au/>
<http://mq.edu.au/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/macostex-archives/attachments/20190807/5b6f8c11/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 4605 bytes
Desc: image001.png
URL: <https://tug.org/pipermail/macostex-archives/attachments/20190807/5b6f8c11/attachment-0001.png>
-------------- next part --------------
----------- Please Consult the Following Before Posting -----------
TeX FAQ: http://www.tex.ac.uk/faq
List Reminders and Etiquette: https://sites.esm.psu.edu/~gray/tex/
List Archives: http://dir.gmane.org/gmane.comp.tex.macosx
https://email.esm.psu.edu/pipermail/macosx-tex/
TeX on Mac OS X Website: http://mactex-wiki.tug.org/
List Info: https://email.esm.psu.edu/mailman/listinfo/macosx-tex
More information about the macostex-archives
mailing list