From d03bfc5749f61af42055e4f8b514abd28649d2ec Mon Sep 17 00:00:00 2001
From: Blaise Thompson <blaise@untzag.com>
Date: Tue, 6 Apr 2021 16:58:22 -0500
Subject: organize

---
 galvanosyth/manual/manual.cls | 47 +++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 47 insertions(+)
 create mode 100755 galvanosyth/manual/manual.cls

(limited to 'galvanosyth/manual/manual.cls')

diff --git a/galvanosyth/manual/manual.cls b/galvanosyth/manual/manual.cls
new file mode 100755
index 0000000..9327edb
--- /dev/null
+++ b/galvanosyth/manual/manual.cls
@@ -0,0 +1,47 @@
+\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}
+\RequirePackage{setspace}
+
+% 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}
+
+
+\usepackage{array}
+\newcolumntype{P}[1]{>{\raggedleft\arraybackslash}p{#1}}
+
+\RequirePackage[shortlabels]{enumitem}
+\setlist[itemize, 1]{nosep}
+\setlist[itemize, 2]{nosep, topsep=-5ex}
+\setlist[itemize, 3]{nosep, topsep=-5ex}
+\setlist[itemize, 4]{nosep, topsep=-5ex}
+\newenvironment{ditemize}
+  {
+  \begin{itemize}
+  \renewcommand{\labelitemi}{$\rightarrow$}
+  \singlespacing
+  }
+  {
+  \end{itemize}
+  }
-- 
cgit v1.2.3

