-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathcv_template.tex
115 lines (97 loc) · 2.63 KB
/
cv_template.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
%!TEX TS-program = xelatex
%!TEX encoding = UTF-8 Unicode
\documentclass[$fontsize$, a4paper]{article}
% LAYOUT
%--------------------------------
% Margins
\usepackage{geometry}
\geometry{$geometry$}
% Do not indent paragraphs
\setlength\parindent{0cm}
% Uncomment to suppress page numbers
% \pagenumbering{gobble}
% table setup
\usepackage{tabu}
% TYPOGRAPHY
%--------------------------------
\usepackage{fontspec}
\usepackage{setspace}
\usepackage{xunicode}
\usepackage{xltxtra}
% converts LaTeX specials (quotes, dashes etc.) to Unicode
\defaultfontfeatures{Mapping=tex-text}
$if(mainfont)$
\setromanfont[Ligatures={Common}, Numbers={OldStyle}]{$mainfont$}
$endif$
\doublespacing
% MARGIN NOTES
%--------------------------------
\usepackage{marginnote}
\newcommand{\note}[1]{\marginnote{\scriptsize #1}}
\renewcommand*{\raggedleftmarginnote}{}
\setlength{\marginparsep}{7pt}
\reversemarginpar
% HEADINGS
%--------------------------------
\usepackage{sectsty}
\usepackage[normalem]{ulem}
\sectionfont{\rmfamily\mdseries}
\subsectionfont{\rmfamily\mdseries\scshape\normalsize}
\subsubsectionfont{\rmfamily\bfseries\upshape\normalsize}
% PDF SETUP
%--------------------------------
\usepackage{hyperref}
\hypersetup
{
pdfauthor={$name$},
pdfsubject={$name$'s CV},
pdftitle={$name$'s CV},
colorlinks, breaklinks, xetex, bookmarks,
filecolor=black,
urlcolor=[rgb]{0.117,0.682,0.858},
linkcolor=[rgb]{0.117,0.682,0.858},
linkcolor=[rgb]{0.117,0.682,0.858},
citecolor=[rgb]{0.117,0.682,0.858}
}
% DOCUMENT
%--------------------------------
\begin{document}
{\Huge \textsc{$name$}}\\
\vspace{10pt}
\section*{Summary}
$for(summary)$$summary$$sep$; $endfor$.
$if(skills)$
\subsection*{Areas of Expertise}
\begin{itemize}
$for(skills)$
\item $skills$
$endfor$
\end{itemize}
$endif$
\section*{Relevant Experience}
\noindent
$for(experience)$
\note{$experience.years$}\emph{$experience.job$}, \textsc{$experience.employer$}, $experience.city$
$for(experience.description)$
\begin{itemize}
\item $experience.description$
\end{itemize}
$endfor$
$endfor$
$if(education)$
\section*{Education}
\noindent
$for(education)$
\note{$education.year$}\textsc{$if(education.degree)$$education.degree$ in $endif$$education.subject$}, \emph{$education.institute$}$if(education.city)$, $education.city$$endif$$if(education.description)$\\$education.description$$endif$\\[.2cm]
$endfor$
$endif$
$if(publications)$
\section*{Publications}
\noindent
\begin{itemize}
$for(publications)$
\item $publications.authors$. \emph{$publications.title$}. $publications.where$, $publications.info$.
$endfor$
\end{itemize}
$endif$
\end{document}