aboutsummaryrefslogtreecommitdiff
path: root/format.tex
diff options
context:
space:
mode:
authorHolden Rohrer <holden.rohrer@gmail.com>2019-10-21 22:07:19 -0400
committerHolden Rohrer <holden.rohrer@gmail.com>2019-10-21 22:07:19 -0400
commit6fe1fe2b715c227fa12a667681aaac15428d6d0e (patch)
treeab521f4253f9d60c2f8f955c620228230d3dcd10 /format.tex
parent763aa3e5f18c7fbd0d4df10a23cfa6537fea81e3 (diff)
parent66e5114c037279a2bdba36497027cc8d8e4418b2 (diff)
Merge branch 'modular'
Diffstat (limited to 'format.tex')
-rw-r--r--format.tex12
1 files changed, 9 insertions, 3 deletions
diff --git a/format.tex b/format.tex
index bcff360..f35624a 100644
--- a/format.tex
+++ b/format.tex
@@ -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}