When I insert an theorem/definition environment at the start of an item of enumerate, it creates a newline automatically before Theorem. Is it somehow possible to remove this enforced newline so that the enumeration item (e.g. (a) ) is on the same line as the theorem beginning?
The following is a minimal example:
\documentclass{article}
\usepackage{amsthm}
\usepackage{enumerate}
\newtheorem{theorem}{Theorem}
\begin{document}
\begin{enumerate}[(a)]
\item % avoid newline here
\begin{theorem} Some statement. \end{theorem}
\end{enumerate}
\end{document}