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.

122 lines
2.5 KiB

9 years ago
%!TEX TS-program = xelatex
%!TEX encoding = UTF-8 Unicode
\documentclass[$fontsize$, a4paper]{article}
% LAYOUT
%--------------------------------
% Margins
9 years ago
\usepackage{geometry}
\geometry{$geometry$}
% Do not indent paragraphs
9 years ago
\setlength\parindent{0in}
% Enable multicolumns
9 years ago
\usepackage{multicol}
\setlength{\columnsep}{-3.5cm}
% Uncomment to suppress page numbers
% \pagenumbering{gobble}
9 years ago
% LANGUAGE
%--------------------------------
% Set the main language
$if(lang)$
\usepackage{polyglossia}
9 years ago
\setmainlanguage{$lang$}
$endif$
9 years ago
% TYPOGRAPHY
%--------------------------------
\usepackage{fontspec}
9 years ago
\usepackage{xunicode}
\usepackage{xltxtra}
% converts LaTeX specials (quotes, dashes etc.) to Unicode
\defaultfontfeatures{Mapping=tex-text}
\setromanfont [Ligatures={Common}, Numbers={OldStyle}]{$mainfont$}
% Cool ampersand
9 years ago
\newcommand{\amper}{{\fontspec[Scale=.95]{$mainfont$}\selectfont\itshape\&}}
% 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[xetex, bookmarks, colorlinks, breaklinks, pdftitle={$name$'s Vita},pdfauthor={$name$}]{hyperref}
\hypersetup{linkcolor=blue,citecolor=blue,filecolor=black,urlcolor=blue}
% DOCUMENT
%--------------------------------
\begin{document}
{\LARGE $name$}\\[.2cm]
9 years ago
\begin{multicols}{2}
$for(address)$
$address$\\
$endfor$
\vspace{-10pt}
9 years ago
$phone$\\
\href{mailto:$email$}{$email$}\\
\columnbreak
$for(urls)$
\href{http://$urls$}{$urls$}\\
$endfor$
\end{multicols}
% \vfill
9 years ago
$intro$
\subsection*{Areas of Interest}
9 years ago
\begin{itemize}
$for(skills)$
\item $skills$
$endfor$
\end{itemize}
% \vfill
9 years ago
\section*{Previous Experience}
\noindent
$for(experience)$
\note{$experience.years$}\textsc{$experience.employer$}\\
9 years ago
\emph{$experience.job$}\\
9 years ago
$experience.city$\\[.2cm]
$endfor$
\section*{Education}
\noindent
$for(education)$
\note{$education.year$}\textbf{$education.subject$}$if(education.degree)$, $education.degree$$endif$\\
9 years ago
\emph{$education.institute$}$if(education.city)$, $education.city$$endif$\\[.2cm]
$endfor$
$if(languages)$
\section*{Languages}
$for(languages)$
\emph{$languages.language$} ($languages.proficiency$)\\
$endfor$
$endif$
9 years ago
\end{document}