From b17f4ef317d4999bdcadf4a6980e1992120cf85c Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Mon, 21 Apr 2008 15:53:36 +0200 Subject: [PATCH] Ensure vertical space before start of a section. --- macros.tex | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/macros.tex b/macros.tex index 54ac480..c6a617e 100644 --- a/macros.tex +++ b/macros.tex @@ -382,7 +382,14 @@ \writetoc{chap}{#1} } +\def\vensure#1{\dimen0=#1 +\vskip 0pt plus \dimen0 +\penalty-1000 +\vskip 0pt plus -\dimen0 +} + \def\section#1{\bigskip +\vensure{0.5in} \advance\seccount by 1 \thmcount=0 \edef\currentid{\currentchap.\the\seccount} -- 2.39.5