You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

185 lines
3.5 KiB

%!TEX TS-program = xelatex
%!TEX encoding = UTF-8 Unicode
\documentclass[$fontsize$, letterpaper]{article}
% LAYOUT
%--------------------------------
% Margins
\usepackage{geometry}
\geometry{$geometry$}
% Do not indent paragraphs
\setlength\parindent{0in}
% Enable multicolumns
\usepackage{multicol}
\setlength{\columnsep}{-3.5cm}
% Uncomment to suppress page numbers
% \pagenumbering{gobble}
% LANGUAGE
%--------------------------------
% Set the main language
$if(lang)$
\usepackage{polyglossia}
\setmainlanguage{$lang$}
$endif$
% TYPOGRAPHY
%--------------------------------
\usepackage{fontspec}
\usepackage{xunicode}
\usepackage{xltxtra}
% converts LaTeX specials (quotes, dashes etc.) to Unicode
\defaultfontfeatures{Mapping=tex-text}
\setromanfont [Ligatures={Common}, Numbers={OldStyle}]{$mainfont$}
% Cool ampersand
\newcommand{\amper}{{\fontspec[Scale=.95]{$mainfont$}\selectfont\itshape\&}}
% MARGIN NOTES
%--------------------------------
\usepackage{marginnote}
\newcommand{\note}[1]{\marginnote{\scriptsize #1}}
\renewcommand*{\raggedleftmarginnote}{}
\setlength{\marginparsep}{9pt}
\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]{184,33,15},
linkcolor=[RGB]{184,33,15},
linkcolor=[RGB]{184,33,15},
citecolor=[RGB]{184,33,15}
}
% DOCUMENT
%--------------------------------
\begin{document}
{\LARGE $name$}\\[.2cm]
$if(urls)$
\begin{multicols}{2}
$endif$
$for(address)$
$address$\\
$endfor$
\vspace{-10pt}
$for(phone)$
$phone$\\
$endfor$
\href{mailto:$email$}{$email$}\\
$if(urls)$
\columnbreak
$for(urls)$
\href{http://$urls$}{$urls$}\\
$endfor$
\end{multicols}
$endif$
\vspace{20pt}
$if(intro)$
$intro$
$endif$
\subsection*{Research Interests}
$if(interests)$
\begin{itemize}
$for(interests)$
\item $interests$
$endfor$
\end{itemize}
$endif$
% \vfill
\vspace{20pt}
$if(education)$
\section*{Education}
\noindent
$for(education)$
\note{$education.year$}\textbf{$education.subject$}$if(education.degree)$, $education.degree$$endif$\\
\emph{$education.institute$}$if(education.city)$, $education.city$$endif$\\[.2cm]
$endfor$
$endif$
\section*{Professional Experience}
\noindent
$for(experience)$
\note{$experience.years$}\textsc{$experience.employer$}\\
\emph{$experience.job$}\\
$experience.city$\\[.2cm]
$endfor$
$if(publications)$
\section*{Publications}
\noindent
$for(publications)$
\note{$publications.year$}\textsc{$publications.title$}\\
\emph {$publications.publication$}\\
$publications.details$\\[.2cm]
$endfor$
$endif$
$if(awards)$
\section*{Awards, Grants and Fellowships}
\noindent
$for(awards)$
\note{$awards.year$}\textsc{$awards.title$}\\
{$awards.details$}\\[.2cm]
$endfor$
$endif$
$if(talks)$
\section*{Presentations and Lectures}
\noindent
$for(talks)$
\note{$talks.year$}\textsc{$talks.title$}\\
\emph {$talks.details$}\\
$endfor$
$endif$
$if(community)$
\section*{Community Activities}
\noindent
$for(community)$
\note{$community.year$}\textsc{$community.activity$}\\
\emph {$community.details$}\\
$endfor$
$endif$
$if(languages)$
\section*{Languages}
$for(languages)$
\emph{$languages.language$} ($languages.proficiency$)\\
$endfor$
$endif$
\end{document}