0

I'm looking for a way to create an ordinal numbers list in latex. Can i use the enumerate statement to do this?

enter image description here

Thank you in advance.

2

You can use the enumitem package to customize the labels of an enumerate list. The degree symbol can be found in the textcomp package. In the MWE below \arabic* means "the arabic (=normal number) version of the item counter".

MWE:

\documentclass{article}
\usepackage{enumitem}
\usepackage{textcomp} % for the degree symbol
\begin{document}
\begin{enumerate}[label=\arabic*\textdegree.]
\item first item
\item second item
\item third item
\end{enumerate}
\end{document}

Result:

enter image description here

4
  • Hello @Marjin thank you a lot for your great solution. If I want to replace ° with the character 'a', which part of the code should i change? – Gennaro Arguzzi May 20 '20 at 10:56
  • 1
    Then you remove \textdegree and you put an a there. In that case you can also remove \usepackage{textcomp} because that is only needed for the degree symbol. – Marijn May 20 '20 at 11:18
  • 1
    For a superscript a it is label=\arabic*\textsuperscript{a}.. – Marijn May 20 '20 at 13:57
  • perfect additional explanation @Marijn – Gennaro Arguzzi May 20 '20 at 14:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.