0

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: enter image description here

Or with this proposition (also appears for Lemma): enter image description here

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: enter image description here

Could you help me fix the issue for all of them? Is it possible?

1
  • 1
    Welcome to TeX.SE!
    – Mensch
    Feb 17, 2022 at 12:35

1 Answer 1

2

Add before \begin{document}

\usepackage{enumitem}
\setlist{nosep} %% Remove the vertical space altogether in all lists

Before

A

After

B

3
  • Thanks a lot! I also have a similar issue with the Theorem and Proof environment. Do you know how to fix that too? Feb 18, 2022 at 15:58
  • @user1868607 Could you please add to your question an example of your definitions and a minimal proof and theorem showing the problem? There is none in your link. Feb 18, 2022 at 16:05
  • I added it, thanks! Feb 22, 2022 at 15:40

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .