Fork me on GitHub
Math for the people, by the people.

User login

Annoying problem with enumerate environment

Primary tabs

Annoying problem with enumerate environment

Forums: 

This has been bothering me for some time, and I've finally decided to seek help for it. When I use the enumerate environment, say for instance, something like

\begin{thm}
\begin{enumerate}
\item This is an item.
\item This is another item.
\end{enumerate}
\end{thm}

The first list item is indented to the right, while the others are not. This only occurs if I don't have any text before starting the instance of enumerate; i.e., if I do something like

\begin{thm}
This is a theorem.
\begin{enumerate}
\item This is an item.
\item This is another item.
\end{enumerate}
\end{thm}

I don't have the problem. Any ideas?


Tried nextline command "//" after \begin{thm}?

Simply add a "\mbox{}" before the begin{enumerate/itemize}:

\begin{thm}\mbox{}
\begin{enumerate}
\item This is an item.
\item This is another item.
\end{enumerate}
\end{thm}

Subscribe to Comments for "Annoying problem with enumerate environment"