-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcv_style.tex
60 lines (53 loc) · 1.96 KB
/
cv_style.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
57
58
59
60
\documentclass[11pt]{article}
\usepackage[letterpaper, portrait, margin=20mm]{geometry}
\usepackage{enumitem}
\usepackage{amsmath}
\usepackage{placeins}
\usepackage{graphicx}
\usepackage{caption}
\usepackage{xcolor}
\usepackage{colortbl}
\usepackage[parfill]{parskip}
\usepackage[hidelinks]{hyperref}
\usepackage{fontspec}
\linespread{1.0}
\setlength{\parskip}{1mm}
\setsansfont{FreeSans}
\setmonofont{Ubuntu Mono}
\hyphenation{WebGL}
\definecolor{webColor}{RGB}{0, 72, 225}
\newcommand{\web}[1]{{\color{webColor} \small \url{#1}}}
\newcommand{\webText}[2]{{\color{webColor} \href{#1}{#2}}}
\newcommand{\email}[2]{{\small \color{webColor} \textsf{\href{mailto:#1@#2}{#1[at]#2}}}}
\definecolor{titleColor}{RGB}{0, 0, 0}
\ifdefined\RESUME
\newcommand{\myTitle}[1]{{\large \color{titleColor} \hspace{-12mm} \textbf{\textsf{#1}}}}
\else
\newcommand{\myTitle}[1]{{ \vspace{2mm} \large \color{titleColor} \hspace{-12mm} \textbf{\textsf{#1}} \vspace{2mm}}}
\fi
\definecolor{subColor}{RGB}{170, 0, 149}
\newcommand{\mySub}[1]{{\color{subColor}\hspace{-6mm} \textsf{#1}}}
\newcommand{\mySubNoColor}[1]{{\hspace{-6mm} \textsf{#1}}}
\definecolor{keyColor}{RGB}{170, 149, 0}
\newcommand{\myKey}[1]{{\color{keyColor}\textbf{#1}}}
\definecolor{oddColor}{RGB}{242, 236, 248}
\definecolor{evenColor}{RGB}{248, 248, 248}
\definecolor{oddTextColor}{RGB}{92, 0, 92}
\newcommand{\GPA}{3.762}
\newcommand{\GpaDate}{August 2020}
\definecolor{lightttColor}{RGB}{69, 69, 80}
\newcommand{\lighttt}[1]{{\color{lightttColor}\texttt{#1}}}
\newcommand{\oddQuarter}[1]{{\color{oddTextColor}\hspace{-20mm} \textsf{#1}}}
\newcommand{\evenQuarter}[1]{{\hspace{-20mm} \textsf{#1}}}
\ifdefined\RESUME
\newcommand{\resumeMiniItemURL}[3]{\mySubNoColor{#1}\hfill -- \hfill\web{#2}\\#3}
\newcommand{\resumeMiniItem}[2]{\mySubNoColor{#1}\\#2}
\else
\newcommand{\resumeMiniItemURL}[3]{\mySub{#1}}
\newcommand{\resumeMiniItem}[2]{\mySub{#1}}
\fi
\ifdefined\CV
\newcommand{\cvFootnote}[1]{\footnote{#1}}
\else
\newcommand{\cvFootnote}[1]{}
\fi