The other day I was typing up a proof containing a list and I accidentally wrote \item inside the proof environment (from the amsthm package) but outside of any list environment. To my surprise, LaTeX typeset the file without complaining! But as soon as I moved \item outside of the proof environment, LaTeX complained of a "lonely \item''.
So this code gives an error
\documentclass{article}
\usepackage{amsthm}
\begin{document}
\begin{proof}
Some text
\end{proof}
\item
\end{document}
while this code does not
\documentclass{article}
\usepackage{amsthm}
\begin{document}
\begin{proof}
\item
Some text
\end{proof}
\end{document}
What's going on here?
\begin{proof}\begin{enumerate}\item My item\end{enumerate}\end{proof}with\textit{Proof.}\quad \begin{enumerate}\item My item\end{enumerate}. – yo' Oct 02 '14 at 13:19centerorflushleft; not that it's recommended to use it. – egreg Oct 02 '14 at 13:24enumeratedoes not add extra space at above the list – daleif Oct 02 '14 at 14:14Proofon a line of it own in all cases. I do not particularly like that - waste of space. – daleif Oct 02 '14 at 14:35