My question is related to this one : Is it possible to skip the first line in a theorem environment? Actually, I am looking for a way to implement the solution given there in a somewhat systematic manner.
More precisely : whenever one starts a theorem with a list, the first item of the list appears on the same line as the theorem header ("Theorem"), even if one specifies \newline in the theorem style. I would like to force Latex to skip a line, even in this case.
One of the simplest solution suggested in the question above is to add a empty item at the beginning of the list :
\begin{thm}
\begin{enumerate}
\item[]
\item First actual item
\item Second actual item
\end{enumerate}
\end{thm}
My question is : is there a systematic way to add this blank item at the beginning of every theorem, by adding it into the theoremstyle command ? (Or at the beginning of every enumerate environment ?)
The idea would be that when one types :
\begin{thm}
Body of the theorem
\end{thm}
Latex would understand :
\begin{thm}
\begin{enumerate}
\item[]
\end{enumerate}
Body of the theorem
\end{thm}
My code and my theorem style are the following :
\documentclass{article}
\usepackage{amsmath}
\usepackage{amsthm}
\usepackage{amssymb}
\newtheoremstyle{exercisestyle}% % Name
{}% % Space above
{}% % Space below
{}% % Body font
{}% % Indent amount
{\bfseries}% % Theorem head font
{}% % Punctuation after theorem head
{\newline}% % Space after theorem head, ' ', or \newline
{\thmname{#1}\thmnumber{ #2} --- \thmnote{#3}}% % Theorem head spec (can be left empty, meaning `normal')
\theoremstyle{exercisestyle}
\newtheorem{exercice}{Exercice}
\begin{document}
\begin{exercice}[Title]
\begin{enumerate}
\item First item
\item Second item
\end{enumerate}
\end{exercice}
\end{document}