# How to represent 1) in LaTeX?

I tried just

1) foo;
2) bar;


in LaTeX, but I found it looks strange.

• but I found it looks strage is not useful information in helping you solve any issue. In your future questions, please try and describe why it looks strange, and how you expected it to look. – 0xdd Nov 1 '18 at 18:33
• Please elaborate on that strangeness! – Georges Nov 2 '18 at 8:21

You can use the enumitem package to make all kinds of lists.

Example:

\documentclass{article}

\usepackage{enumitem}

\begin{document}
\begin{enumerate}[noitemsep,label=\arabic*)]
\item foo
\item bar
\end{enumerate}
\end{document}


The key part for your question is the label=\arabic*). The \arabic part tells LaTeX you want numbers, the ) says you want brakets. The * is also necessary.

The noitemsep isn't necessary, I just like using it whenever I make lists, as I dislike spaces placed between items (which is the default).

• Does it support inline mode? – Mark Nov 2 '18 at 7:31

Are you talking about an enumeration?

With the enumitem package and its shortlabels option, we have this:

\documentclass{article}
\usepackage[shortlabels]{enumitem}
\begin{document}
\begin{enumerate}[1)]
\item foo;
\item bar;
\end{enumerate}
\end{document}


The enumerate package manages shortlabels natively:

\documentclass{article}
\usepackage{enumerate}
\begin{document}
\begin{enumerate}[1)]
\item foo;
\item bar;
\end{enumerate}
\end{document}