-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathrules_formatting.tex
48 lines (40 loc) · 1.22 KB
/
rules_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
%% 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[margin=0.75in]{geometry}
\usepackage{hyperref}
\usepackage[utf8]{inputenc}
\usepackage{setspace}
\usepackage[explicit]{titlesec}
\usepackage{graphicx}
\graphicspath{ { . } }
\makeatletter
\def\amended#1{\gdef\@amended{#1}}
\def\@amended{\@latex@warning@no@line{No \noexpand\amended given}}
\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: \@amended}\par}
\vfill
\end{titlepage}
}
\makeatother
\titleformat{\section}[block]
{\Large\bfseries\scshape}
{Section \arabic{section}:\ }
{0pt}{#1}
\titleformat{\subsection}[runin]
{\bfseries}
{Subsection \Roman{subsection}:\ }
{0pt}{#1}
\setenumerate[0]{label=\alph*.}
\setenumerate[1]{label=\Alph*.}
\newcommand{\email}{\href{mailto:[email protected]}{\texttt{[email protected]}}}