From d472fa0b8850acbb7f55cbb2ed570d2aa81cc334 Mon Sep 17 00:00:00 2001
From: Jake VanderVaate <jake.vandervaate@protonmail.com>
Date: Wed, 24 Nov 2021 14:44:06 -0600
Subject: added article template, updated resume and pdf2png

---
 article/commands.tex | 76 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 76 insertions(+)
 create mode 100644 article/commands.tex

(limited to 'article/commands.tex')

diff --git a/article/commands.tex b/article/commands.tex
new file mode 100644
index 0000000..3ab9dbb
--- /dev/null
+++ b/article/commands.tex
@@ -0,0 +1,76 @@
+%%%%%%%%%%%%%%%%%%%%%%%%%
+% Non-numbered sections %
+%%%%%%%%%%%%%%%%%%%%%%%%%
+\titleformat{\section}
+[block] %shape of the text (options are hang, block, display, runin, leftmargin, rightmargin, drop, wrap and frame)
+{\LARGE\bfseries} %formatting for the text
+{} %section label. Any text placed in these brackets will precede the section title.
+{0em} %space between the labe and the text
+{} %code that precedes the text
+[\vspace{-.5em}] %code after the text
+
+\titleformat{\subsection}
+[block]
+{\Large\bfseries} 
+{} %section label
+{0em}
+{}
+[\vspace{-.5em}]
+
+\titleformat{\subsubsection}
+[block]
+{\normalsize\bfseries}
+{} %section label
+{0em}
+{}
+[\vspace{-.5em}]
+
+%%%%%%%%%%%%%%%%%%%%%
+% Numbered sections %
+%%%%%%%%%%%%%%%%%%%%%
+%\titleformat{\section}
+%[block] 
+%{\LARGE\bfseries}
+%{\thesection}
+%{1em}
+%{}
+%[\vspace{-.5em}]
+
+%\titleformat{\subsection}[block]
+%{\Large\bfseries}
+%{\thesubsection}
+%{1em}
+%{}
+%[\vspace{-.5em}]
+
+%\titleformat{\subsubsection}[block]
+%{\normalsize\bfseries}
+%{\thesubsubsection} %section label
+%{1em}
+%{}
+%[\vspace{-.5em}]
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% End of section numbering commands %
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+
+\setlength{\parskip}{1em} %The spacing between paragraphs
+\setlist{nosep} %Single-spacing in lists
+
+% Define the \maketitle command that creates the title page and TOC
+\renewcommand{\maketitle}{
+\sffamily %Set san serif font for body text
+{\Huge\bfseries
+\thetitle}
+
+{\huge\theauthor}
+
+{\Large\thedate}
+\newpage
+\setcounter{tocdepth}{3}
+\setcounter{secnumdepth}{0} %Change 0 to 3 to number the TOC
+\tableofcontents
+\newpage
+\raggedright
+}
-- 
cgit v1.2.1

