aboutsummaryrefslogtreecommitdiff
path: root/manual/manual.cls
diff options
context:
space:
mode:
authorBlaise Thompson <blaise@untzag.com>2018-11-13 19:01:47 -0600
committerBlaise Thompson <blaise@untzag.com>2018-11-13 19:01:47 -0600
commit730a583d8a66ff5e4103696ac1977db7b20282b1 (patch)
tree07eb7f09f8eae885827a73501a63113e478c2f98 /manual/manual.cls
2018-11-13 19:01
Diffstat (limited to 'manual/manual.cls')
-rwxr-xr-xmanual/manual.cls27
1 files changed, 27 insertions, 0 deletions
diff --git a/manual/manual.cls b/manual/manual.cls
new file mode 100755
index 0000000..57c399b
--- /dev/null
+++ b/manual/manual.cls
@@ -0,0 +1,27 @@
+\ProvidesClass{manual}
+
+\LoadClass{article}
+\RequirePackage[letterpaper, margin=1in]{geometry} % 1 inch margins required
+
+% text
+\RequirePackage[utf8]{inputenc}
+\setlength\parindent{0pt}
+\setlength{\parskip}{1em}
+\renewcommand{\familydefault}{\sfdefault}
+
+% force all floats to center (see https://tex.stackexchange.com/a/53383)
+\makeatletter
+\g@addto@macro\@floatboxreset{\centering}
+\makeatother
+
+% each section is a new page
+\let\stdsection\section
+\renewcommand\section{\clearpage\stdsection}
+
+% hyperref
+\RequirePackage[colorlinks=true, linkcolor=black, urlcolor=blue, citecolor=black,
+anchorcolor=black]{hyperref}
+
+% images
+\RequirePackage{graphicx}
+\RequirePackage{pdfpages}