From 9255f77d939274cb250ddf28280b493c1abbb899 Mon Sep 17 00:00:00 2001 From: Jiri Kalvoda Date: Tue, 1 Oct 2024 21:14:42 +0200 Subject: [PATCH] UCWTeX: Optional section eject --- src/formatitko/tex/formatitkolib.tex | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/formatitko/tex/formatitkolib.tex b/src/formatitko/tex/formatitkolib.tex index b83bf59..b9ffd92 100644 --- a/src/formatitko/tex/formatitkolib.tex +++ b/src/formatitko/tex/formatitkolib.tex @@ -24,9 +24,10 @@ \fncount=1 \def\fnmark{$^{\the\fncount}$} \def\fn#1{\footnote\fnmark{#1}\advance\fncount by 1} +\def\sectioneject{\vfil\supereject} \def\section#1#2{ - \vfil\supereject - \vbox{\settextsize{20}\bf #1\kern 1em\relax#2% + \sectioneject + \vskip 16pt\vbox{\settextsize{20}\bf #1\kern 1em\relax#2% \addtoc\tocsection{#1}{}{#2}% }\nobreak\vskip 12pt }