cv-boilerplate/template.tex

117 lines
2.4 KiB
TeX
Raw Normal View History

2015-10-21 13:21:43 +00:00
%!TEX TS-program = xelatex
%!TEX encoding = UTF-8 Unicode
\documentclass[$fontsize$, a4paper]{article}
% LAYOUT
%--------------------------------
\usepackage{geometry}
\geometry{$geometry$}
\setlength\parindent{0in}
\usepackage{multicol}
\setlength{\columnsep}{-3.5cm}
% No page numbers
2015-10-24 15:20:18 +00:00
% \pagenumbering{gobble}
2015-10-21 13:21:43 +00:00
% LANGUAGE
%--------------------------------
$if(lang)$
\usepackage{polyglossia}
2015-10-22 13:29:42 +00:00
\setmainlanguage{$lang$}
$endif$
2015-10-21 13:21:43 +00:00
% TYPOGRAPHY
%--------------------------------
\usepackage{fontspec}
2015-10-21 13:21:43 +00:00
\usepackage{xunicode}
\usepackage{xltxtra}
% converts LaTeX specials (quotes, dashes etc.) to Unicode
\defaultfontfeatures{Mapping=tex-text}
\setromanfont [Ligatures={Common}, Numbers={OldStyle}]{$mainfont$}
% Custom ampersand
\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}
2015-10-24 21:45:06 +00:00
{\LARGE $name$}\\[.2cm]
2015-10-21 13:21:43 +00:00
\begin{multicols}{2}
2015-10-24 15:30:18 +00:00
$for(address)$
$address$\\
$endfor$
2015-10-24 21:45:06 +00:00
\vspace{-10pt}
2015-10-21 13:21:43 +00:00
$phone$\\
\href{mailto:$email$}{$email$}\\
\columnbreak
$for(urls)$
\href{http://$urls$}{$urls$}\\
$endfor$
\end{multicols}
2015-10-24 21:45:06 +00:00
% \vfill
2015-10-21 13:21:43 +00:00
$intro$
\subsection*{Areas of Interest}
\begin{itemize}
$for(skills)$
\item $skills$
$endfor$
\end{itemize}
2015-10-24 21:45:06 +00:00
% \vfill
2015-10-24 15:20:18 +00:00
2015-10-21 13:21:43 +00:00
\section*{Previous Experience}
\noindent
$for(experience)$
\note{$experience.years$}\textsc{$experience.employer$}\\
2015-10-24 15:31:07 +00:00
\emph{$experience.job$}\\
2015-10-21 13:21:43 +00:00
$experience.city$\\[.2cm]
$endfor$
\section*{Education}
\noindent
$for(education)$
2015-10-24 21:45:51 +00:00
\note{$education.year$}\textbf{$education.subject$}$if(education.degree)$, $education.degree$$endif$\\
2015-10-21 13:21:43 +00:00
\emph{$education.institute$}$if(education.city)$, $education.city$$endif$\\[.2cm]
$endfor$
2015-10-24 21:45:51 +00:00
$if(languages)$
\section*{Languages}
$for(languages)$
\emph{$languages.language$} ($languages.proficiency$)\\
$endfor$
$endif$
2015-10-21 13:21:43 +00:00
\end{document}