-
Notifications
You must be signed in to change notification settings - Fork 10
/
cv.tex
executable file
·496 lines (414 loc) · 14.3 KB
/
cv.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
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
\documentclass[11pt]{article}
% Created by @btskinner (GitHub)
% -- NOTES -----------------------------
% Adjust this template as needed to create a CV that meets your
% specific needs. Add / delete / move the sections in the
% document body below to make a personalized CV. In general, sections
% that need user input versus those that should be left as is (except
% by more advanced users who want to fiddle with details of the
% template) are separated like this:
%
% - Commented sections using "====" are for user modification.
% - Commented sections using "----" do not need to changed.
%
% This template has been munged together from lots of little code
% snippets over the years, so I can't take complete credit. I've tried
% to attribute blocks of code I took from elsewhere.
% ==============================================================================
% USER SETTINGS: CHANGE THINGS HERE
% ==============================================================================
% ======================================
% PERSONAL INFO
% ======================================
% Change the value in the second set of {} to you information. If you
% want multiple lines (like for the address), use \\ to split lines.
\newcommand{\myname}{First M. Last} % your name
\newcommand{\websiteurl}{{https://github.com/btskinner/tex_cv}} % your site url
\newcommand{\websitename}{me.com} % short url name for printing
\newcommand{\phone}{000.000.0000} % your phone number
\newcommand{\email}{[email protected]} % your email
\newcommand{\address}{ % NB: Assumes 3 lines
University Hall \\ % {BUILDING} \\
PO Box 00000 \\ % {ADDRESS} \\
City, ST 00000 % {CITY, ST ZIP}
}
% ======================================
% FILTER TO ITEMS AFTER THIS YEAR
% ======================================
% If you want to list publications / work products only from the past
% XX years, set this value to the 4-digit year that's one less than
% the first year you want.
%
% If only 2015 - present ---> set to 2014
\newcommand{\recentyear}{1900} % artificially low year to include everything
% ------------------------------------------------------------------------------
% HEADER STUFF (CAN LEAVE ALONE UNLESS YOU WANT TO PERSONALIZE)
% ------------------------------------------------------------------------------
% -------------------------------
% Packages
% -------------------------------
\usepackage[margin=1in]{geometry} % for margins
\usepackage[american]{babel} % for language
\usepackage{csquotes} % idk, babel/biber like it
\usepackage[style=apa,
backend=biber,
sortcites=true,
sorting=ydmdnt,
language=american]{biblatex} % for reference sections
\usepackage{hyperref} % to add links
\usepackage{fancyhdr} % for better headers/footers
\usepackage{titlesec} % to adjust section headers
\usepackage{tabularx} % for fluid tables
\usepackage{datetime} % to make better date formate
\usepackage[inline]{enumitem} % more control over lists
% -------------------------------
% Macros
% -------------------------------
\newcommand{\RR}{\raggedright\arraybackslash} % left justified
\newcommand{\RL}{\raggedleft\arraybackslash} % right justified
% for tables to keep consistent alignment across sections
\newcolumntype{\twocols}{>{\RR}p{1.25in}>{\RR}X}
\newcolumntype{\threecols}{>{\RR}p{1.25in}>{\RR}X>{\RL}p{1in}}
% -------------------------------
% BibLaTeX sorting scheme
% -------------------------------
% Create a new sorting scheme that will sort in reverse chronological
% order, taking months into account correctly (i.e., in chronological
% order and not alphabetical order)
\DeclareSortingScheme{ydmdnt}{
\sort{
\field{presort}
}
\sort[final]{
\field{sortkey}
}
\sort[direction=descending]{
\field{sortyear}
\field{year}
\literal{9999}
}
\sort[direction=descending]{
\field[padside=left,padwidth=2,padchar=0]{month}
\literal{99}
}
\sort[direction=descending]{
\field[padside=left,padwidth=2,padchar=0]{day}
\literal{99}
}
\sort{
\field{sortname}
\field{author}
\field{editor}
\field{translator}
\field{sorttitle}
\field{title}
}
\sort{
\field{sorttitle}
}
\sort[direction=descending]{
\field[padside=left,padwidth=4,padchar=0]{volume}
\literal{9999}
}
}
% -------------------------------
% BibLaTeX options
% -------------------------------
% language mapping
\DeclareLanguageMapping{american}{american-apa}
% ignore addendum and note fields that are sometimes useful, but not here
\DeclareSourcemap{
\maps[datatype=bibtex]{
\map{
\step[fieldset=addendum, null]
\step[fieldset=note, null]
}
}
}
% macro so titles are converted to doi, url, or isbn link (if available)
% h\t https://tex.stackexchange.com/a/48409
\ExecuteBibliographyOptions{doi=false,url=false,isbn=false}
\newbibmacro{string+doiurlisbn}[1]{%
\iffieldundef{doi}{%
\iffieldundef{url}{%
\iffieldundef{isbn}{%
\iffieldundef{issn}{%
#1%
}{%
\href{http://books.google.com/books?vid=ISSN\thefield{issn}}{#1}%
}%
}{%
\href{http://books.google.com/books?vid=ISBN\thefield{isbn}}{#1}%
}%
}{%
\href{\thefield{url}}{#1}%
}%
}{%
\href{http://dx.doi.org/\thefield{doi}}{#1}%
}%
}
\DeclareFieldFormat{title}{\usebibmacro{string+doiurlisbn}{\mkbibemph{#1}}}
\DeclareFieldFormat[article,incollection]{title}%
{\usebibmacro{string+doiurlisbn}{\mkbibquote{#1}}}
% no letter for same year entries
\defbibenvironment{mybib}
{\list
{}
{\setlength{\leftmargin}{\bibhang}%
\setlength{\itemindent}{-\leftmargin}%
\setlength{\itemsep}{\bibitemsep}%
\setlength{\parsep}{\bibparsep}}}
{\endlist}
{\clearfield{extradate}\item}
% filter by year (only print those after year value in \recentyear
% macro above)
\defbibcheck{recent}{
\iffieldint{year}
{\ifnumless{\thefield{year}}{\recentyear}
{\skipentry}
{}}
{\skipentry}
}
% -------------------------------
% Document options
% -------------------------------
% keep lists tight (no extra whitespace)
\setlist{nolistsep}
% This section determines how the sections are displayed. Adjust these
% as you like using the titlesec package options.
% section
\titleformat{\section}[display]
{\Large\bfseries}
{\filleft\Large\sectiontitlename~\thesection}
{}
{\vspace{-1ex}}
[]
% subsections
\titleformat{\subsection}[display]
{\bfseries}
{\filleft\subsectiontitlename~\thesubsection}
{}
{}
[\vspace{-1ex}]
% subsubsections
\titleformat{\subsubsection}[display]
{}
{\filleft\subsubsectiontitlename~\thesubsubsection}
{}
{}
[\vspace{-1ex}]
% -------------------------------
% Headers and Footers
% -------------------------------
% All pages after the first will have your name and page number in the
% upper right corner; all pages will have the date of compilation (the
% latest update) in the bottom right corner. You can move these.
\fancypagestyle{first}{
\fancyhead[R]{}
\fancyhead[L]{}
\fancyfoot[R]{{\itshape Updated: \today}}
\fancyfoot[L]{}
\fancyfoot[C]{}
\renewcommand{\headrulewidth}{0.0pt}
\renewcommand{\footrulewidth}{0.0pt}}
\fancypagestyle{rest}{
\fancyhead[R]{{\itshape \myname\, $\mid$ \thepage}}
\fancyhead[L]{}
\fancyfoot[R]{{\itshape Updated: \today}}
\fancyfoot[L]{}
\fancyfoot[C]{}
\renewcommand{\headrulewidth}{0.0pt}
\renewcommand{\footrulewidth}{0.0pt}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% BEGIN DOCUMENT
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% ======================================
% Bibliography
% ======================================
% path to your CV bibliography (.bib) file; should be same name as
% your *.tex file if you want to use the makefile
\addbibresource{./cv.bib}
\pagestyle{rest}
\begin{document}
\thispagestyle{first}
% -------------------------------
% Front page header
% -------------------------------
% Adjust this as necessary if you need to add or delete items from the
% top. You can also create your own. The structure right now is:
%
% |----------------------------------------------|
% | Centered box across page for Name |
% |----------------------------------------------|
% | Left-align 1/2 box | Right-align 1/2 box |
% | | |
% | * building | phone * |
% | * street | website * |
% | * city, ST ZIP | email * |
% |----------------------------------------------|
% _____________________ HRULE ___________________
\hspace*{-\parindent}%
\begin{center}
\vspace{-2em}
{\LARGE\scshape \myname} \\
\end{center}
\begin{minipage}[t]{.6\linewidth}
\address
\end{minipage}
\hspace*{-\parindent}%
\begin{minipage}[t]{.43\linewidth}
\begin{flushright}
\textit{tel}: \phone \\
\textit{web}: \href{\websiteurl}{\websitename} \\
\textit{email}: \href{mailto:\email}{\email}
\end{flushright}
\end{minipage}
\begin{center}
\vspace{-.5em}
\rule{\textwidth}{1pt}
\end{center}
% ==============================================================================
% CV BODY: CHANGE THINGS STARTING HERE
% ==============================================================================
% ======================================
% APPOINTMENTS
% ======================================
% Uncomment to add if you have a current appointment.
% \section*{Academic Appointment}
% \begin{tabularx}{\linewidth}{\twocols}
% 2018 - present & Assistant Professor of University, University of
% University City \\
% \end{tabularx}
% ======================================
% EDUCATION
% ======================================
% Use tabularx (for flexible spacing) to align nicely
\section*{Education}
\begin{tabularx}{\linewidth}{\threecols}
YYYY&Program, University&Ph.D. \\ % or YYYY (expected)
YYYY&Program, University&M.A. \\
YYYY&Program, University&B.A. \\
\end{tabularx}
% ======================================
% RESEARCH INTERESTS
% ======================================
% This will make a horizontal list of items separated by semi-colons.
\section*{Research Interests}
\hspace{-.25em}\begin{itemize*}[itemjoin={{; }}, label={}]
\item Interest 1
\item interest 2
\item interest 3
\item interest 4
\item interest 5
\end{itemize*}
% ======================================
% PUBLICATIONS
% ======================================
% Use the same keyword that you've placed in your bib file entry to
% filter only those references you want to place here.
\begin{refsection}
\section*{Publications}
\nocite{*} % cite everything
\printbibliography[heading = none, % no heading (e.g., "References")
keyword = article, % FILTER BY THIS KEYWORD
check = recent, % check year filter from above
env = mybib] % use mybib style
\end{refsection}
% ======================================
% SUBMITTED PAPERS
% ======================================
\begin{refsection}
\section*{Submitted Papers}
\nocite{*}
\printbibliography[heading = none,
keyword = submitted,
check = recent,
env = mybib]
\end{refsection}
% ======================================
% WORKING PAPERS
% ======================================
\begin{refsection}
\section*{Working Papers}
\nocite{*}
\printbibliography[heading = none,
keyword = working,
check = recent,
env = mybib]
\end{refsection}
% ======================================
% PRESENTATIONS
% ======================================
% This section differentiates between conference presentations and
% invited presentations. If you only have one or the other, just
% delete the subsections and have one PUBLICATIONS section.
\section*{Presentations}
\subsection*{Peer-reviewed conference presentations}
\begin{refsection}
\nocite{*}
\printbibliography[heading = none,
keyword = conference, % must have "conference" AND
keyword = peer, % "peer" to differentiate from "invited"
env = mybib,
check = recent]
\end{refsection}
\subsection*{Invited presentations}
\begin{refsection}
\nocite{*}
\printbibliography[heading = none,
keyword = conference, % must have "conference" AND
keyword = invited, % "invited" to differentiate from "peer"
env = mybib,
check = recent]
\end{refsection}
% ======================================
% TEACHING EXPERIENCE
% ======================================
% Add what makes sense for your field, but if you have links to course
% materials online, be sure to incorporate them below. (NB: the
% backslash on the underscore just b/c TeX treats that differently)
\section*{Teaching}
\subsection*{Instructor}
\subsubsection*{University $\mid$ Department}
\begin{tabularx}{\linewidth}{\twocols}
YYYY&COURSE NUM: \textit{Course name} \\
&\hspace{1em}One sentence description (optional) \\
&\hspace{1em}{\itshape Website/Course materials:}
\href{https://github.com/btskinner/tex\_cv}{github.com/btskinner/tex\_cv} \\
\end{tabularx}
\subsection*{Teaching Assistant}
\subsubsection*{University $\mid$ Department}
\begin{tabularx}{\linewidth}{\twocols}
YYYY & COURSE NUM: \textit{Course name} \\
&\hspace{1em} \textit{Instructor:} Instructor of record \\
\end{tabularx}
% ======================================
% FELLOWSHIPS AND HONORS
% ======================================
% Again, use a table for nicely aliged elements.
\section*{Awards, Fellowships, and Honors}
\begin{tabularx}{\linewidth}{\threecols}
YYYY & Honor \\
YYYY - YYYY & Fellowship & \$ AMOUNT \\ % if normal in your field
\end{tabularx}
% ======================================
% PROFESSIONAL MEMBERSHIPS
% ======================================
% This time the list is separated by bullets as an example; use
% whatever seems most aesthetically pleasing to your eyes.
\section*{Professional Memberships}
\hspace{-.25em}\begin{itemize*}[itemjoin={{ $\bullet$}}, label={}]
\item Organization 1
\item Organization 2
\item Organization 3
\item Organization 4
\item Organization 5
\end{itemize*}
% ======================================
% OTHER
% ======================================
% Add other sections as needed...
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% END DOCUMENT
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\end{document}