diff options
Diffstat (limited to 'format.tex')
-rw-r--r-- | format.tex | 12 |
1 files changed, 9 insertions, 3 deletions
@@ -17,7 +17,7 @@ \font\fourteenrm=cmr12 at 14pt \font\twelverm=cmr12 -%% Header +%% Headers {\obeylines\parindent=0in Holden Rohrer, Holden Watson, and Nithya Jayakumar 2019 Oct 21 @@ -25,9 +25,15 @@ Applied Combinatorics--Math 3012 Livshyts \medskip } + +%% Sectioning \def\titlesub#1#2{\centerline{\fourteenbf #1}\centerline{#2}\bigskip} \newcount\sections \newcount\subsections -\outer\def\section#1\par{\advance\sections by 1\thesection{#1}} +\def\section#1\par{\advance\sections by 1\thesection{#1}} \def\thesection#1{\vskip .3\hsize\goodbreak\vskip -.3\hsize\bigskip\noindent{\fourteenrm\the\sections\ #1\bigskip}} -\outer\def\subsection#1\par{\advance\subsections by 1\thesubsection{#1}} +\def\subsection#1\par{\advance\subsections by 1\thesubsection{#1}} \def\thesubsection#1{\vskip .15\hsize\goodbreak\vskip -.15\hsize\medskip\noindent{\twelverm\the\sections.\the\subsections\ #1\medskip}} + +%% Modular Sections +\def\include#1\par{\section #1\par\par\input #1\relax} +\def\sinclude#1\par{\subsection #1\par\par\input #1\relax} |