UCWTeX: Optional section eject
This commit is contained in:
parent
a9f41eb83e
commit
9255f77d93
1 changed files with 3 additions and 2 deletions
|
@ -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…
Reference in a new issue