I am using a template (https://github.com/glederrey/EPFL_thesis_template/tree/master/head) for a document. It has a series of issues when introducing a variety of environments (Theorem, Lemma, Proof, Enumerate, Itemize).
I managed to fix the issue around theorems with this code:
\makeatletter
\def\thm@space@setup{%
\thm@preskip=1pt
\thm@postskip=0pt
}
But the problem just keeps presenting itself in other forms.
Like with this enumerate:
Or with this proposition (also appears for Lemma):
Where the Proposition environment is defined as follows:
\newtheorem{proposition}{Proposition}
Otherwise, if I have a Theorem, followed by some text and then a Proof:
Could you help me fix the issue for all of them? Is it possible?