[OS X TeX] enumeration
Nestor Aguilera
nestoreaguilera at gmail.com
Wed Aug 19 17:56:46 EDT 2020
Hi Zbigniew,
In amsclass.pdf (in terminal put "texdoc amsclass"), page 34, it says that you could redefine "\labelenumi" if you want a period after the number.
Hope it helps.
Best,
Nestor
===============================================
> On 19 Aug 2020, at 16:34, Nitecki, Zbigniew H. <Zbigniew.Nitecki at tufts.edu> wrote:
>
> Thank you for the suggestion. The first version works; when I put \usepackage[shortlabels]{enumitem} in the preamble, I get the error message
> /usr/local/texlive/2017/texmf-dist/tex/latex/enumitem/enumitem.sty:1426: LaTeX
> Error: Command \setlist already defined.
> Or name \end... illegal, see p.192 of the manual.
>
> See the LaTeX manual or LaTeX Companion for explanation.
> Type H <return> for immediate help.
> ...
>
> l.1426 ...ar{\enit at setlist\@ne}{\enit at setlist\z@}}
>
> But this is no issue for me; I can certainly use the first solution.
>
> But I was hoping for a way to override the parentheses format, which I think is created by the amsarticle documentstyle, for all enumerations of lists with a single
> command (or setting a parameter) in the preamble.
>
> In any case, I have a workaround if necessary. Thanks again.
>
> 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/
>
>
>
>
>> On Aug 19, 2020, at 15:07, Roussanka Loukanova <rl.stpuu at gmail.com> wrote:
>>
>> Dear Zbigniew,
>> My suggestions are:
>> On Wed, Aug 19, 2020 at 6:36 PM Nitecki, Zbigniew H. <Zbigniew.Nitecki at tufts.edu> wrote:
>> I apologize for this, which is really an amstex or latex question. I recall once seeing an answer (somewhere) and can’t find it now.
>>
>> In the amsarticle document style as presently constituted, when you start a list with
>> \begin{enumerate}
>> \item…
>> the numer of the (first) item gets printed as "(1)"; it used to print as “1.”.
>> The former, “(1)”, drives me crazy. The latter, “1.”, is what all the “tutorials” online assume happens.
>>
>> I think I once saw a way to change this back by putting an option into the
>> document style, or perhaps via some other universal command, but can’t find it now.
>>
>> I tried a local command, that is, beginning my environment with
>> \begin{enumerate}[label=\arabic*.]
>>
>> (1) Try with the style:
>> \usepackage{enumerate}
>> and then for a list:
>>
>> \begin{enumerate}[1.]
>> \item ...
>> \end{enumerate}
>>
>> (2) In addition, your attempt for
>> \begin{enumerate}[label=\arabic*.]
>> should work with:
>> \usepackage{enumitem}
>>
>> (3) You can get the enumeration mode "1." with {enumitem} by adding the option:
>>
>> \usepackage[shortlabels]{enumitem}
>>
>> and then in the list:
>> \begin{enumerate}[1.]
>>
>> But I do not know whether \documentclass{amsart} is OK together with the styles:
>> enumerate.sty and enumitem.sty
>>
>> I've been using the three ways (1)-(3) quite a lot with several \documentclass, but not with {amsart}.
>> Let us know, whether the above works with {amsart}. There may be even better ways, which other people can suggest.
>>
>> Best Regards,
>> Roussanka
>>
>> and got the error message
>> ./135F20HW1.tex:73: Missing number, treated as zero.
>> <to be read again>
>> \c@*
>> l.73 \begin{enumerate}[label=\arabic*.]
>>
>> So how do I restore the old way with a single universal command in the preamble, so I don’t have to change things every time I use the enumerate environment?
>>
>> Z
>>
>>
>> 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/
>>
>>
>>
>>
>> ----------- 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
>> ----------- 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
>
> ----------- 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 MacOSX-TeX
mailing list