So i'm keeping my maths- and physics-formulas together in simple formularies in LaTeX. Right now i'm using the article class and sections / subsections for my structure, where each subsection / subsubsection stands for one formula with description:
\documentclass{article}
\begin{document}
\section{Ordinary Differential Equations}
\subsection{Solution Procedure for Ordinary Differential Equations
Some Text that describes how to solve odes
\subsection{Different Topic}
...
\end{document}
Everything is working fine and looking nice, however there's one thing that's annoying me:
I want to look on my formulas as whole! LaTeX is constructed to break subsections over multiple pages whenever the page is full, so i have to keep skimming over two pages because some formula / description was broken over automatically!
Is there something to add to my preamble that tells LaTeX to print subsections, so that the whole subsection is displayed on the same page? If not so, is there some other option (other documentclass and such) that i was missing out previously? Manual pagebreaks or newpage-commands seem to be just an ugly hack.
Bonus: if my desired behaviour is possible, what would LaTeX do, if one subsection doesn't fit on a single page?
All help is highly appreciated. Thanks in advance!
\textheight
just print it using default pagebreaks, if it's smaller than the remaining space on the page print it, else\clearpage
and print it.