-
Notifications
You must be signed in to change notification settings - Fork 3
/
formatting.tex
56 lines (48 loc) · 1.34 KB
/
formatting.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
%% DON'T FUCK WITH THIS UNLESS YOU KNOW WHAT YOU'RE DOING.
%% ``TeX.StackExchange.com told me to'' does NOT count as knowing what you're
%% doing!!!
\documentclass[12pt,letterpaper]{article}
\usepackage{enumitem}
\usepackage[T1]{fontenc}
\usepackage{forloop}
\usepackage[margin=0.75in]{geometry}
\usepackage{hyperref}
\usepackage[utf8]{inputenc}
\usepackage{setspace}
\usepackage[explicit]{titlesec}
\makeatletter
\newcommand{\maketitlepage}[1]{%
\begin{titlepage}
\centering
\par
\vspace*{3in}
\bfseries
{\onehalfspacing\scshape\Large The \LARGE #1 \Large of the \\ \LARGE University of Minnesota, Twin Cities \\ \Large Student Chapter of the \\ \LARGE Association for Computing Machinery \par}
\vspace{1in}
{\Large{Last Amended: \input{_build/commit_date.txt}}\par}
\vfill
\end{titlepage}
}
\makeatother
\titleformat{\section}[block]
{\Large\bfseries\scshape}
{Article \arabic{section}:\ }
{0pt}{#1}
\titleformat{\subsection}[runin]
{\bfseries}
{Section \Roman{subsection}:\ }
{0pt}{#1}
\setenumerate[0]{label=\alph*.}
\setenumerate[1]{label=\Alph*.}
\newcommand{\email}{\href{mailto:[email protected]}{\texttt{[email protected]}}}
\newcommand{\signatures}[1]{%
\newpage
{\Large\bfseries\scshape Officer Signatures}
\vspace{1in}
\newcounter{signaturenumber}
\forloop{signaturenumber}{0}{\value{signaturenumber} < #1}{
\par
\vspace{1in}
\rule{6in}{0.4pt}
}
}