Currently my preamble looks like
\documentclass{article}
\usepackage{amsthm}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{enumitem}
\theoremstyle{definition}
\newtheorem*{theo}{Theorem}
\newtheorem*{defi}{Definition}
\newtheorem*{lem}{Lemma}
\newtheorem*{rem}{Remark}
\newtheorem*{col}{Corollary}
\title{Linear Algebra \\ Lecture Summary}
\date{}
\author{}
\begin{document}
\maketitle
\end{document}
I'd like it so when I write a theorem/lemma/remark/corollary it doesn't get split across pages.
I've searched for answers a few times, but I haven't got a lot of experience with TeX, and just copying and pasting what I see doesn't quite cut it.
Best Answer
The macro
\blocktheorem{<theorem>}
turns<theorem>
into an unbreakable block by wrapping it inside aminipage
:\raggedbottom
helps with avoid underfull\vbox
es due to the boxes being flushed to a successive page.