diff options
author | Holden Rohrer <hr@hrhr.dev> | 2020-01-11 16:55:32 -0500 |
---|---|---|
committer | Holden Rohrer <hr@hrhr.dev> | 2020-01-11 16:55:32 -0500 |
commit | 5742e44b2a5335a0315cc7a1387fa344f0bc173d (patch) | |
tree | 60d14cdc194fde1925adaa424476b64f97b010b9 | |
parent | 1510d0b9554f9b280ece20f8ec66a2130b136950 (diff) |
Pulled in some Plain TeX formatting
From another research project, I had created some basic formatting,
and I have also created a barebones structure in document/report.tex
-rw-r--r-- | document/intro.tex | 1 | ||||
-rw-r--r-- | document/report.tex | 6 | ||||
-rw-r--r-- | format.tex | 42 |
3 files changed, 49 insertions, 0 deletions
diff --git a/document/intro.tex b/document/intro.tex new file mode 100644 index 0000000..fafc994 --- /dev/null +++ b/document/intro.tex @@ -0,0 +1 @@ +Antlions! diff --git a/document/report.tex b/document/report.tex new file mode 100644 index 0000000..03b3885 --- /dev/null +++ b/document/report.tex @@ -0,0 +1,6 @@ +\input ../format +\titlesub{Antlions' Distribution under Space Constraints}{By Holden Rohrer and Radeen Dixon} + +\include Introduction:intro + +\bye diff --git a/format.tex b/format.tex new file mode 100644 index 0000000..1fa9d04 --- /dev/null +++ b/format.tex @@ -0,0 +1,42 @@ +%% Links +\def\link#1{% + \pdfstartlink + user{/Subtype /Link + /Border [ 0 0 0 ] + /A << + /Type /Action + /S /URI + /URI (#1) + >>}% + {\it #1}% + \pdfendlink +} + +%% Fonts +\font\fourteenbf=cmbx12 at 14pt +\font\fourteenrm=cmr12 at 14pt +\font\twelverm=cmr12 + +%% Headers +{\obeylines\parindent=0in +Holden Rohrer, Holden Watson, and Nithya Jayakumar +2019 Oct 21 +Applied Combinatorics--Math 3012 +Livshyts +\medskip +} + +%% Sectioning +\def\titlesub#1#2{\centerline{\fourteenbf #1}\centerline{#2}\bigskip} +\newcount\sections \newcount\subsections +\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}} +\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:#2\par{\section #1\par\par\input #2\relax} +\def\sinclude#1:#2\par{\subsection #1\par\par\input #2\relax} + +%% Bullet Points and Numbering +\def\pre#1{\par\leavevmode\llap{\hbox to \parindent{\hfil #1 \hfil}}} |