Hi,

I have a little problem with nested environments.

I want to enumerate statements in a theorem without any test before the enumeration, so that the latex should be something like

\begin{thm}
\begin{enumerate}
\item First statement
\item Second statement
\end{enumerate}
\end{thm}

You can guess: when I try to insert the enumerate environment, the theorem enviroment disappear. I can work around this inserting a forced space (Ctrl+Space), then I insert the enumerate environment, then I nest it inside the theorem environment.
The resulting latex looks like

\begin{thm}
~
\begin{enumerate}
\item First statement
\item Second statement
\end{enumerate}
\end{thm}

It works, but I am wondering there is a "clean" way to obtain the intended result.

Thanks

Fabio




Reply via email to