Browse Source

TeX: Nadpisy bez stránkových zlomů.

jk-bakalarka
Jiří Kalvoda 8 months ago
parent
commit
57e69cbee4
  1. 21
      src/formatitko/tex/formatitko.tex

21
src/formatitko/tex/formatitko.tex

@ -78,20 +78,29 @@
\def\fnmark{\superscript{\the\fncount}}
\def\fn#1{\footnote\fnmark{#1}\advance\fncount by 1}
\def\section#1#2{
{\settextsize{20}\parskip1em\baselineskip1.5em\relax\bf \vfil\eject{#1\kern 1em #2\vskip 12pt}}
\vfil\supereject\vbox{\settextsize{20}\bf #1\kern 1em\relax#2
\addtoc\tocsection{#1}{}{#2}
}\nobreak\vskip 12pt
}
\def\subsection#1#2{
{\settextsize{18}\parskip0.5em\baselineskip1.5em\bf #1\kern 1em #2\vskip 7pt}
\vskip 12pt\vbox{\settextsize{18}\bf #1\kern 1em\relax#2
\addtoc\tocsubsection{#1}{}{#2}
}\nobreak\vskip 7pt
}
\def\subsubsection#1#2{
{\parskip1em\settextsize{16}\bf #1\kern 1em #2}
\vskip 10pt\vbox{\settextsize{16}\bf #1\kern 1em\relax#2
\addtoc\tocsubsubsection{#1}{}{#2}
}\nobreak\vskip 6pt
}
\def\subsubsubsection#1#2{
\vskip 8pt\vbox{\settextsize{14}\bf #1\kern 1em\relax#2}\nobreak\vskip 5pt
}
\def\subsubsubsubsection#1#2{
\vskip 7pt\vbox{\settextsize{12}\bf #1\kern 1em\relax#2}\nobreak\vskip 5pt
}
\def\subsubsubsubsubsection#1#2{
\vskip 7pt\vbox{\settextsize{12}\bf #1\kern 1em\relax#2}\nobreak\vskip 5pt
}
\def\subsubsubsection#1#2{{\parskip1em\settextsize{14}\bf #1\kern 1em #2}}
\def\subsubsubsubsection#1#2{{\parskip1em\settextsize{12}\bf #1\kern 1em #2}}
\def\subsubsubsubsubsection#1#2{{\parskip1em\settextsize{10}\bi #1\kern 1em #2}}
\long\def\blockquote#1{\vskip\lineskip\vskip\parskip\hbox{\vrule\hskip5pt\vbox{#1}}}
\def\strikeout#1{FIXME: Strikeout not implemented}
\def\underline#1{FIXME: Underline not implemented}

Loading…
Cancel
Save