From 5742e44b2a5335a0315cc7a1387fa344f0bc173d Mon Sep 17 00:00:00 2001 From: Holden Rohrer Date: Sat, 11 Jan 2020 16:55:32 -0500 Subject: 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 --- document/intro.tex | 1 + document/report.tex | 6 ++++++ format.tex | 42 ++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 49 insertions(+) create mode 100644 document/intro.tex create mode 100644 document/report.tex create mode 100644 format.tex 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}}} -- cgit