Browse Source

UCWTeX: Optional section eject

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

5
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
}

Loading…
Cancel
Save