This method to have a newline after the exercise heading usually works:
\newtheoremstyle{break}{}{}{}{}{\bfseries}{}{\newline}{}
\theoremstyle{break}
\newtheorem{exercise}[theorem]{Exercise}
\setlist[enumerate,1]{label=\arabic*),align=left,leftmargin=*}
\begin{exercise}
Hello
\end{exercise}
and gives:
Exercise 1
Hello
But when the exercise begins with an enumeration, it fails:
\begin{exercise}
\begin{enumerate}
\item Hello
\end{enumerate}
\end{exercise}
with:
Exercise 1 1) Hello
Question: how to have the newline after the exercise heading, even if starts with an enumerate
?
Note:
the two first answers from Is it possible to skip the first line in a theorem environment? nearly work, but adding either
\leavemode
ormbox{}
after the\begin{exercise}
doesn't produceExercise 1
1) Hellobut
Exercise 1
< empty line >
Hello
\newtheoremstyle{break}{}{}{}{}{\bfseries}{}{\newline}{}
mode.\leavevmode\vspace{-\baselineskip}
\newtheoremstyle{break}{}{}{}{}{\bfseries}{}{\newline \leavevmode\vspace{-\baselineskip}}{}
and avoid to have to think about it when we start an exercise with or without enumeration? (If so, you could post it as an answer).