-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.tex
196 lines (179 loc) · 7.77 KB
/
main.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
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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
\documentclass[letterpaper,11pt]{article} % Default font size
\usepackage{geometry}
\usepackage{lipsum}
\usepackage{enumitem}
\usepackage{etaremune}
\usepackage{etoolbox} %% For \AtEndEnvironment
\usepackage{array}
\usepackage{hyperref}
\usepackage{harvard}
\usepackage[dvipsnames]{xcolor}
\usepackage{fontspec}
\usepackage{fancyhdr}
\usepackage{lastpage}
\usepackage{color}
\usepackage{multicol}
\usepackage{relsize}
\usepackage{graphicx}
\usepackage{pdfpages}
\usepackage{svg}
\usepackage[absolute]{textpos}
\usepackage{amsmath}
% --- For placement of the horizontal line
\usepackage{tikz}
\usetikzlibrary{calc}
% Reset column separator of table.
\setlength{\tabcolsep}{1pt}
% Suppress natural indentation.
\setlength{\parindent}{0pt}
% New default fonts.
\defaultfontfeatures{Mapping=tex-text,Scale=MatchLowercase}
\setmainfont[
Path=./fonts/,
BoldFont=DroidSerif-Bold.ttf,
UprightFont=DroidSerif.ttf,
BoldItalicFont=DroidSerif-BoldItalic.ttf,
ItalicFont=DroidSerif-Italic.ttf
]{DroidSerif}
% Suppress natural indentation of enumerate and itemize.
\setlist[enumerate]{leftmargin=*} % Removes natural indent of "enumerate" environment.
\setlist[itemize]{leftmargin=*}
\setlist{nosep}
% header
\definecolor{Burnt Orange}{RGB}{191,87,0}
\definecolor{Charcoal}{RGB}{51,63,72}
\definecolor{headercolor}{RGB}{156, 173, 183}
\definecolor{footercolor}{RGB}{156, 173, 183}
% footer
\renewcommand{\headrulewidth}{0pt}
% hyper link to the publication
%%--------------------------------------------------------------------%%
%% for reverse order enumeration with resume option %%
%%--------------------------------------------------------------------%%
\makeatletter %% <- change @ so that it can be used in macro names
%% Define the resume key for etaremune:
\define@boolkey[EM]{etaremune}{resume}[true]{}
\presetkeys[EM]{etaremune}{resume=false}{} %% <- false by default
%% Increase starting value of previous etaremune environment if resuming
\AtEndEnvironment{etaremune}{%
\ifEM@etaremune@resume
\EM@resumewrite{\csname EM@prevlist@\@roman{\@enumdepth}\endcsname}{\EM@currlist}%
\fi
\expandafter\xdef\csname EM@prevlist@\@roman{\@enumdepth}\endcsname{\EM@currlist}%
}
\newcommand*\EM@resumewrite[2]{% %% Expand arguments and then call EM@resume@write@
\begingroup
\edef\temp{\noexpand\EM@resumewrite@
{\expandafter\string\csname etaremune@#1\endcsname}%
{\expandafter\string\csname etaremune@#2\endcsname}}%
\temp
\endgroup
}
\newcommand*\EM@resumewrite@[2]{% %% Write to aux file
\immediate\write\@auxout{\xdef#1{\string\noexpand\string\the\numexpr#1+\string\noexpand#2 }}%
}
% to set the deafult color
\newcommand{\globalcolor}[1]{%
\color{#1}\global\let\default@color\current@color
}
\makeatother %% <- change @ back
%--------------------------------------------------------------------------------
% Set default color to Charcoal.
\AtBeginDocument{\globalcolor{Charcoal}}
% cover letter
\fancypagestyle{CL}{
\fancyhead{}
\newgeometry{margin=2cm,top=5.3cm}
\fancyhead[L]{%
\begin{textblock*}{1.25in}(0.5in, 0.5in)
\includesvg[width=1.25in]{figures/utexas_official_seal.svg}
\end{textblock*}
\begin{textblock*}{6.25in}(2.1in, 0.74in)
\large\textbf{Department of Something Great} \\
\normalsize Division 2 Regiment 18 Battalion 612 E Company
\end{textblock*}
\begin{textblock*}{6.25in}(2.1in, 1.21in)
\textit{\small ECJ 7.123\hspace{1ex}\textbullet\hspace{1ex}301 E. Dean Keeton St.\hspace{1ex}\textbullet\hspace{1ex}Austin, TX 78712\hspace{1ex}\textbullet\hspace{1ex}
512-000-0000\hspace{1ex}\textbullet\hspace{1ex}some\_fake\_address@fake.utexas.edu}
\end{textblock*}
\begin{tikzpicture}[remember picture,overlay]
\draw[color=Burnt Orange,line width=0.6pt] (current page.north west)+(2.1in,-1.125in) -- ($(-1.5cm,-1.125in)+(current page.north east)$);
\end{tikzpicture}}
\pagenumbering{gobble}
}
% cv
\fancypagestyle{CV}{
\fancyhead{}
\pagenumbering{arabic}
\newgeometry{margin=2cm,top=5cm,headheight=3.2cm,footskip=1cm}
\fancyhead[L]{\textbf{\huge{\textcolor{Burnt Orange}{Stanley Ipkiss}}{\Large,\hspace{1ex}Ph.D.}}\\[3pt]
Research Scientist at the University of Texas at Austin \\
Awesome Department, ECJ 7.123 \\
Austin, TX 78712 \\[3pt]
\includegraphics[width=1ex]{figures/icon_mobile_phone.png} 512-000-0000 \textcolor{Burnt Orange}{~|~}
\includegraphics[width=1em]{figures/icon_email.jpg} \href{mailto:stanley.ipkiss@fake.utexas.edu}{stanley.ipkiss@fake.utexas.edu} \textcolor{Burnt Orange}{~|~}
Orcid: \href{http://orcid.org/0123-4567-89AB-CDEF}{0123-4567-89AB-CDEF}
\vspace{-3mm}
}
\lfoot{\textcolor{footercolor}{Curriculum Vitae}}
\cfoot{\makebox[\textwidth][c]{\textcolor{footercolor}{Stanley Ipkiss}}}
\rfoot{\makebox[\textwidth][r]{\textcolor{footercolor}{\thepage}}}
}
% referee list
\fancypagestyle{RL}{
\fancyhead{}
\newgeometry{margin=2cm,top=5cm,headheight=3.2cm,footskip=1cm}
\fancyhead[L]{\textbf{\huge{\textcolor{Burnt Orange}{Stanley Ipkiss}}{\Large,\hspace{1ex}Ph.D.}}\\[3pt]
Research Scientist at the University of Texas at Austin \\
Awesome Department, ECJ 7.123 \\
Austin, TX 78712 \\[3pt]
\includegraphics[width=1ex]{figures/icon_mobile_phone.png} 512-000-0000 \textcolor{Burnt Orange}{~|~}
\includegraphics[width=1em]{figures/icon_email.jpg} \href{mailto:stanley.ipkiss@fake.utexas.edu}{stanley.ipkiss@fake.utexas.edu} \textcolor{Burnt Orange}{~|~}
Orcid: \href{http://orcid.org/0123-4567-89AB-CDEF}{0123-4567-89AB-CDEF}
\vspace{-3mm}
}
\lfoot{\textcolor{footercolor}{References}}
\cfoot{\makebox[\textwidth][c]{\textcolor{footercolor}{Stanley Ipkiss}}}
\rfoot{\makebox[\textwidth][r]{\textcolor{footercolor}{\thepage}}}
}
% teaching statement
\fancypagestyle{TS}{
\fancyhead{}
\newgeometry{margin=2cm,top=5cm,headheight=3.2cm,footskip=1cm}
\fancyhead[L]{\textbf{\huge{\textcolor{Burnt Orange}{Stanley Ipkiss}}{\Large,\hspace{1ex}Ph.D.}}\\[3pt]
Research Scientist at the University of Texas at Austin \\
Awesome Department, ECJ 7.123 \\
Austin, TX 78712 \\[3pt]
\includegraphics[width=1ex]{figures/icon_mobile_phone.png} 512-000-0000 \textcolor{Burnt Orange}{~|~}
\includegraphics[width=1em]{figures/icon_email.jpg} \href{mailto:stanley.ipkiss@fake.utexas.edu}{stanley.ipkiss@fake.utexas.edu} \textcolor{Burnt Orange}{~|~}
Orcid: \href{http://orcid.org/0123-4567-89AB-CDEF}{0123-4567-89AB-CDEF}
\vspace{-3mm}
}
\lfoot{\textcolor{footercolor}{Teaching statement}}
\cfoot{\makebox[\textwidth][c]{\textcolor{footercolor}{Stanley Ipkiss}}}
\rfoot{\makebox[\textwidth][r]{\textcolor{footercolor}{\thepage}}}
}
% research statement
\fancypagestyle{RS}{
\fancyhead{}
\newgeometry{margin=2cm,top=5cm,headheight=3.2cm,footskip=1cm}
\fancyhead[L]{\textbf{\huge{\textcolor{Burnt Orange}{Stanley Ipkiss}}{\Large,\hspace{1ex}Ph.D.}}\\[3pt]
Research Scientist at the University of Texas at Austin \\
Awesome Department, ECJ 7.123 \\
Austin, TX 78712 \\[3pt]
\includegraphics[width=1ex]{figures/icon_mobile_phone.png} 512-000-0000 \textcolor{Burnt Orange}{~|~}
\includegraphics[width=1em]{figures/icon_email.jpg} \href{mailto:stanley.ipkiss@fake.utexas.edu}{stanley.ipkiss@fake.utexas.edu} \textcolor{Burnt Orange}{~|~}
Orcid: \href{http://orcid.org/0123-4567-89AB-CDEF}{0123-4567-89AB-CDEF}
\vspace{-3mm}
}
\lfoot{\textcolor{headercolor}{Research interests and future plans}}
\cfoot{\makebox[\textwidth][c]{\textcolor{footercolor}{Stanley Ipkiss}}}
\rfoot{\makebox[\textwidth][r]{\textcolor{footercolor}{\thepage}}}
}
\begin{document}
\include{coverletter}
% \include{cv}
% \include{research_statement}
% \include{teaching_statement}
% \include{references}
\end{document}