Document Classes ⇒ Question on use of "enumerate"
Question on use of "enumerate"
I tried
\begin{enumerate}[{(1)}]
\item
\item
\end{enumerate}
and it doesn't work for me.
If I use
\begin{enumerate}
\item
\item
\end{enumerate}
It only produces lists like, 1, 2, 3,...
Thanks,
George
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
-
- Posts: 162
- Joined: Wed Jun 17, 2009 10:18 pm
Question on use of "enumerate"
Code: Select all
\documentclass[a4paper]{article}
\usepackage[shortlabels]{enumitem}
\begin{document}
\begin{enumerate}[(1)]
\item One
\item Two
\item Three
\end{enumerate}
\end{document}
Re: Question on use of "enumerate"
- Stefan Kottwitz
- Site Admin
- Posts: 10324
- Joined: Mon Mar 10, 2008 9:44 pm
Question on use of "enumerate"
with enumitem you can set this enumeration style globally:
Code: Select all
\documentclass[a4paper]{article}
\usepackage{enumitem}
\setenumerate[1]{label=(\arabic*)}
\begin{document}
\begin{enumerate}
\item One
\item Two
\item Three
\end{enumerate}
\end{document}
Stefan
Question on use of "enumerate"
Code: Select all
%enumeration FIRST level with right parentheses
\renewcommand{\theenumi}{\arabic{enumi}}
\renewcommand{\labelenumi}{\theenumi{)}}
- Stefan Kottwitz
- Site Admin
- Posts: 10324
- Joined: Mon Mar 10, 2008 9:44 pm
Question on use of "enumerate"
Code: Select all
\renewcommand{\labelenumi}{(\theenumi)}