Jiří Kalvoda
7 months ago
2 changed files with 59 additions and 57 deletions
@ -0,0 +1,56 @@ |
|||||
|
\def\strong#1{{% |
||||
|
\def\emph##1{{\bi{}##1}}% |
||||
|
\bf{}#1% |
||||
|
}} |
||||
|
\def\emph#1{{% |
||||
|
\def\strong##1{{\bi{}##1}}% |
||||
|
\it{}#1% |
||||
|
}} |
||||
|
|
||||
|
\def\N{{\bb N}} |
||||
|
\def\R{{\bb R}} |
||||
|
\def\E{{\bb E}} |
||||
|
\def\O{{\cal O}} |
||||
|
\def\SYM{{\rm SYM}} |
||||
|
\def\frac#1#2{{{#1} \over {#2}}} |
||||
|
|
||||
|
\def\superscript#1{$^{\hbox{\settextsize{0.8\textsize}#1}}$} |
||||
|
\def\subscript#1{$_{\hbox{\settextsize{0.8\textsize}#1}}$} |
||||
|
\newcount\fncount |
||||
|
\fncount=1 |
||||
|
\def\fnmark{$^{\the\fncount}$} |
||||
|
\def\fn#1{\footnote\fnmark{#1}\advance\fncount by 1} |
||||
|
\def\section#1#2{ |
||||
|
\vfil\supereject |
||||
|
\vbox{\settextsize{20}\bf #1\kern 1em\relax#2% |
||||
|
\addtoc\tocsection{#1}{}{#2}% |
||||
|
}\nobreak\vskip 12pt |
||||
|
} |
||||
|
\def\subsection#1#2{ |
||||
|
\vskip 12pt\vbox{\settextsize{18}\bf #1\kern 1em\relax#2% |
||||
|
\addtoc\tocsubsection{#1}{}{#2}% |
||||
|
}\nobreak\vskip 7pt |
||||
|
} |
||||
|
\def\subsubsection#1#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 |
||||
|
} |
||||
|
\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} |
||||
|
|
||||
|
|
||||
|
\def\mathbb#1{\hbox{\bb #1}} |
||||
|
|
||||
|
\def\unparskip{\vskip-\parskip} |
||||
|
|
Loading…
Reference in new issue