Skip to content

Instantly share code, notes, and snippets.

@tomoconnor
Created November 24, 2014 12:22
Show Gist options
  • Save tomoconnor/dba46a11801309dd05e6 to your computer and use it in GitHub Desktop.
Save tomoconnor/dba46a11801309dd05e6 to your computer and use it in GitHub Desktop.
cv_template.tex
%%%%%%%%%%%%%%%%%%%%%%%%%%%% Document Setup %%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Don't like 10pt? Try 11pt or 12pt
\documentclass[11pt]{article}
% This is a helpful package that puts math inside length specifications
\usepackage{calc}
%\usepackage[none]{hyphenat}
% Layout: Puts the section titles on left side of page
\reversemarginpar
%
% PAPER SIZE, PAGE NUMBER, AND DOCUMENT LAYOUT NOTES:
%
% The next \usepackage line changes the layout for CV style section
% headings as marginal notes. It also sets up the paper size as either
% letter or A4. By default, letter was used. If A4 paper is desired,
% comment out the letterpaper lines and uncomment the a4paper lines.
%
% As you can see, the margin widths and section title widths can be
% easily adjusted.
%
% ALSO: Notice that the includefoot option can be commented OUT in order
% to put the PAGE NUMBER *IN* the bottom margin. This will make the
% effective text area larger.
%
% IF YOU WISH TO REMOVE THE ``of LASTPAGE'' next to each page number,
% see the note about the +LP and -LP lines below. Comment out the +LP
% and uncomment the -LP.
%
% IF YOU WISH TO REMOVE PAGE NUMBERS, be sure that the includefoot line
% is uncommented and ALSO uncomment the \pagestyle{empty} a few lines
% below.
%
%% Use these lines for A4-sized paper
\usepackage[paper=a4paper,
includefoot, % Uncomment to put page number above margin
marginparwidth=20.5mm, % Length of section titles
marginparsep=1.5mm, % Space between titles and text
margin=5mm, % 25mm margins
includemp]{geometry}
%% More layout: Get rid of indenting throughout entire document
\setlength{\parindent}{0in}
%% This gives us fun enumeration environments. compactitem will be nice.
\usepackage{paralist}
%% Reference the last page in the page number
%
% NOTE: comment the +LP line and uncomment the -LP line to have page
% numbers without the ``of ##'' last page reference)
%
% NOTE: uncomment the \pagestyle{empty} line to get rid of all page
% numbers (make sure includefoot is commented out above)
%
\usepackage{fancyhdr,lastpage}
\pagestyle{fancy}
%\pagestyle{empty} % Uncomment this to get rid of page numbers
\fancyhf{}\renewcommand{\headrulewidth}{0pt}
\fancyfootoffset{\marginparsep+\marginparwidth}
\newlength{\footpageshift}
\setlength{\footpageshift}
{0.5\textwidth+0.5\marginparsep+0.5\marginparwidth-2in}
\lfoot{\hspace{\footpageshift}%
\parbox{4in}{\, \hfill %
\arabic{page} of \protect\pageref*{LastPage} % +LP
% \arabic{page} % -LP
\hfill \,}}
% Finally, give us PDF bookmarks
\usepackage{color,hyperref}
\definecolor{darkblue}{rgb}{0.0,0.0,0.3}
\hypersetup{colorlinks,breaklinks,
linkcolor=darkblue,urlcolor=darkblue,
anchorcolor=darkblue,citecolor=darkblue}
%%%%%%%%%%%%%%%%%%%%%%%% End Document Setup %%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%% Helper Commands %%%%%%%%%%%%%%%%%%%%%%%%%%%%
% The title (name) with a horizontal rule under it
%
% Usage: \makeheading{name}
%
% Place at top of document. It should be the first thing.
\newcommand{\makeheading}[1]%
{\hspace*{-\marginparsep minus \marginparwidth}%
\begin{minipage}[t]{\textwidth+\marginparwidth+\marginparsep}%
{\large \bfseries #1}\\[-0.15\baselineskip]%
\rule{\columnwidth}{1pt}%
\end{minipage}}
% The section headings
%
% Usage: \section{section name}
%
% Follow this section IMMEDIATELY with the first line of the section
% text. Do not put whitespace in between. That is, do this:
%
% \section{My Information}
% Here is my information.
%
% and NOT this:
%
% \section{My Information}
%
% Here is my information.
%
% Otherwise the top of the section header will not line up with the top
% of the section. Of course, using a single comment character (%) on
% empty lines allows for the function of the first example with the
% readability of the second example.
\renewcommand{\section}[2]%
{\pagebreak[2]\vspace{1.3\baselineskip}%
\phantomsection\addcontentsline{toc}{section}{#1}%
\hspace{0in}%
\marginpar{
\raggedright \scshape #1}#2}
% An itemize-style list with lots of space between items
\newenvironment{outerlist}[1][\enskip\textbullet]%
{\begin{itemize}[#1]}{\end{itemize}%
\vspace{-.6\baselineskip}}
% An environment IDENTICAL to outerlist that has better pre-list spacing
% when used as the first thing in a \section
\newenvironment{lonelist}[1][\enskip\textbullet]%
{\vspace{-\baselineskip}\begin{list}{#1}{%
\setlength{\partopsep}{0pt}%
\setlength{\topsep}{0pt}}}
{\end{list}\vspace{-.6\baselineskip}}
% An itemize-style list with little space between items
\newenvironment{innerlist}[1][\enskip\textbullet]%
{\begin{compactitem}[#1]}{\end{compactitem}}
% To add some paragraph space between lines.
% This also tells LaTeX to preferably break a page on one of these gaps
% if there is a needed pagebreak nearby.
\newcommand{\blankline}{\quad\pagebreak[2]}
%%%%%%%%%%%%%%%%%%%%%%%% End Helper Commands %%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%% Begin CV Document %%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}
\makeheading{YOUR NAME}
\section{Contact Details}
%
% NOTE: Mind where the & separators and \\ breaks are in the following
% table.
%
% ALSO: \rcollength is the width of the right column of the table
% (adjust it to your liking; default is 1.85in).
%
\newlength{\rcollength}\setlength{\rcollength}{2.00in}%
%
\begin{tabular}[t]{@{}p{\textwidth-\rcollength}p{\rcollength}}
& \textit{Tel:} TELEPHONE NUMBER \\
ADDRESS 1 & \\
ADDRESS 2 & \\
POSTAL CODE & \textit{E-mail: }\href{mailto:EMAILADDRESS}{EMAILADDRESS}\\
& \textit{WWW: }\href{HTTP://WEBSITE URL}{HTTP://WEBSITE URL}\\
\end{tabular}
\section{Profile}
INTRODUCTION
\section{Technical Skills}
\textbf{HEADING:} DETAIL
\blankline
\textbf{HEADING:} DETAIL
\blankline
\textbf{HEADING:} DETAIL
\blankline
\textbf{HEADING:} DETAIL
\blankline
\section{Education}
%
\href{http://URL}{\textbf{NAME}},
LOCATION
\begin{outerlist}
\item[] QUALIFICATION TITLE,
\href{http://URL}
{COURSE TITLE}
\hfill \textbf{DATE FROM / TO}
\begin{innerlist}
\item FURTHER INFO
\end{innerlist}
\blankline
\end{outerlist}
\href{URL}{\textbf{NAME OF COLLEGE}}, LOCATION
\hfill \textbf{DURATION}
\begin{quote}
\begin{tabular}{ll}
\multicolumn{2}{l}{\textbf{QUALIFICATION TYPE}}\\[2pt]
SUBJECT & \textbf{GRADE}\\
SUBJECT & \textbf{GRADE}\\
SUBJECT & \textbf{GRADE}\\
SUBJECT & \textbf{GRADE}\\[5pt]
\end{tabular}
\end{quote}
\section{Employment History}
\blankline
\href{http://URL}{\textbf{ COMPANY NAME}}, COMPANY LOCATION
\begin{outerlist}
\item[] \textit{JOB TITLE}%
\hfill \textbf{EMPLOYMENT DURATION}
\begin{innerlist}
\item BULLETED ITEM
\item BULLETED ITEM
\item BULLETED ITEM
\item BULLETED ITEM
\end{innerlist}
\end{outerlist}
\pagebreak
\blankline
\section{Interests}
YOUR INTERESTS \href{http://URL}{URL TITLE}
AND SO ON.
\end{document}
%%%%%%%%%%%%%%%%%%%%%%%%%% End CV Document %%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment