Browse Source

UCWTeX: Optional section eject

jk-bakalarka
Jiří Kalvoda 2 months ago
parent
commit
9255f77d93
  1. 5
      src/formatitko/tex/formatitkolib.tex

5
src/formatitko/tex/formatitkolib.tex

@ -24,9 +24,10 @@
\fncount=1 \fncount=1
\def\fnmark{$^{\the\fncount}$} \def\fnmark{$^{\the\fncount}$}
\def\fn#1{\footnote\fnmark{#1}\advance\fncount by 1} \def\fn#1{\footnote\fnmark{#1}\advance\fncount by 1}
\def\sectioneject{\vfil\supereject}
\def\section#1#2{ \def\section#1#2{
\vfil\supereject \sectioneject
\vbox{\settextsize{20}\bf #1\kern 1em\relax#2% \vskip 16pt\vbox{\settextsize{20}\bf #1\kern 1em\relax#2%
\addtoc\tocsection{#1}{}{#2}% \addtoc\tocsection{#1}{}{#2}%
}\nobreak\vskip 12pt }\nobreak\vskip 12pt
} }

Loading…
Cancel
Save