diff options
author | Holden Rohrer <holden.rohrer@gmail.com> | 2019-10-21 22:07:19 -0400 |
---|---|---|
committer | Holden Rohrer <holden.rohrer@gmail.com> | 2019-10-21 22:07:19 -0400 |
commit | 6fe1fe2b715c227fa12a667681aaac15428d6d0e (patch) | |
tree | ab521f4253f9d60c2f8f955c620228230d3dcd10 /format.tex | |
parent | 763aa3e5f18c7fbd0d4df10a23cfa6537fea81e3 (diff) | |
parent | 66e5114c037279a2bdba36497027cc8d8e4418b2 (diff) |
Merge branch 'modular'
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} |