-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpaws.cls
More file actions
100 lines (81 loc) · 1.86 KB
/
paws.cls
File metadata and controls
100 lines (81 loc) · 1.86 KB
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
% https://www.overleaf.com/learn/latex/Writing_your_own_class
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{paws}[Paws]
\LoadClass{paws-components}
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{paws-components}}
\ProcessOptions\relax
% Setup: Spacing
\newcommand{\hmargin}{0.75cm}
\newcommand{\vmargin}{0.75cm}
\renewcommand{\baselinestretch}{1.12}
\setlength{\parindent}{0in}
% Setup: Page
\usepackage[hmargin=\hmargin, vmargin=\vmargin]{geometry}
% Setup: Fonts
\usepackage{fontspec}
\usepackage{fontawesome5}
\setmainfont{Lato}
\newcommand{\headfont}{
\fontspec[Path=fonts/]{ProductSans-Bold.ttf}
}
% Component: Header
\newcommand{\header}[2]{
\title{#1}
\\[0.2em]\horizontallist{#2}
}
% Component: Section Header
\newcommand{\sectionheader}[1]{
\subsectionbreak
{\Large \headfont #1}
\\\subsectionbreak
}
% Component: Program
\newcommand{\program}[4]{
\heading{#1}
\\\textit{#2}
\\#3, #4
\\\subsectionbreak
}
% Component: GPA/QPA
\newcommand{\gpa}[1]{
\label{GPA}{#1}
}
\newcommand{\qpa}[1]{
\label{QPA}{#1}
}
% Component: Teaching
\newcommand{\teaching}[1]{
\returnlabel{Teaching}{\bulletedlist{#1}}
}
% Component: Minors
\newcommand{\minors}[1]{
\returnlabel{Additional Minors}{\simplelist{#1}}
}
% Component: Courses
\newcommand{\courses}[1]{
\returnlabel{Relevant Coursework}{\bulletedlist{#1}}
}
% Component: Research
\newcommand{\research}[1]{
\returnlabel{Research Areas}{\simplelist{#1}}
}
% Component: Skills
\newcommand{\skills}[2]{
\returnlabel{#1}{\horizontallist{#2}}
}
% Component: Work Experience
\newcommand{\work}[4]{
\passport{#1}{#2}{#3}{}{}{#4}
}
% Component: Project
\newcommand{\project}[3]{
\passport{#1}{#2}{}{}{}{#3}
}
% Component: Publication
\newcommand{\publication}[3]{
\minipassport{#1}{#2}{#3}
}
% Component: Honor
\newcommand{\honor}[2]{
\minipassport{}{#1}{#2}
}