Skip to content

Instantly share code, notes, and snippets.

@gallexi
Created August 25, 2017 04:56
Show Gist options
  • Save gallexi/eb88abbd41c6b350dfb7efe51dfd443b to your computer and use it in GitHub Desktop.
Save gallexi/eb88abbd41c6b350dfb7efe51dfd443b to your computer and use it in GitHub Desktop.
LaTeX functions currently powering my resume.
% LaTeX framework based on Constantinos Michael's at
% http://www.constantinos.us/blog/2006/04/12/latex-resume-template
% Change to 10pt if it gets too long
\documentclass[12pt]{article}
\usepackage{fullpage}
\usepackage{amsmath}
\usepackage{amssymb}
% For the footer
\usepackage[usenames,dvipsnames]{color}
\usepackage{hyperref}
\usepackage[normalem]{ulem}
\usepackage{setspace}
\setlength{\voffset}{0.0in}
\setlength{\textheight}{710pt}
% \textheight=10in
\pagestyle{empty}
%\raggedbottom
\raggedright
% DEFINITIONS FOR RESUME
\newcommand{\area}[2]{\vspace*{-14pt}\begin{verse}\textbf{#1} #2 \end{verse}
\vspace*{-8pt}}
\newcommand{\lineunder}{\vspace*{-8pt} \\ \hspace*{-18pt} \hrulefill \\}
\newcommand{\header}[1]{
{\hspace*{-15pt}\vspace*{6pt} \textsc{#1}} \vspace*{-6pt} \lineunder
}
\newcommand{\fillpullright}[1]{\hfill \hfill \textcolor{Gray}{(#1)}}
\newcommand{\employer}[4]{{ \textbf{#1} \hfill #2 \\
\textit{\fontsize{11}{12}\selectfont #3} \fillpullright{#4}\\ }}
\newcommand{\firstpos}[4]{{ \textbf{#1} \hfill #2 \\
\textit{\fontsize{11}{12}\selectfont #3} \fillpullright{#4}\\ }}
\newcommand{\secondpos}[2]{{
\textit{\fontsize{11}{12}\selectfont #1} \fillpullright{#2}\\ }}
\newcommand{\contact}[2]{
\vspace*{-8pt}
\begin{center}
{\LARGE \scshape {#1}}\\
#2
\end{center}
\vspace*{-8pt}
}
\newenvironment{achievements}{
%% \linespread{0.2}
\begin{list}{$\bullet$}{\topsep 0pt \itemsep -4pt}
}{
\vspace*{2pt}\end{list}
}
\newcommand{\schoolwithcourses}[5]{
\textbf{#1} #2 $\cdot$ #3 $\cdot$ #4 \fillpullright{#5}\\
\vspace*{4pt}
}
\newcommand{\projects}[3]{
\textbf{#1} \lildot \{#2\} \lildot #3 \\
\vspace*{4pt}
}
\newcommand{\skills}[2]{
\textbf{#1} #2 \\
\vspace*{4pt}
}
\newcommand{\school}[3]{
\textbf{#1} #2 \fillpullright{#3}\\
\vspace*{4pt}
}
\newcommand{\link}[2]{\underline{\href{#1}{#2}}}
\newcommand{\mailto}[1]{\href{mailto:#1}{#1}}
\newcommand{\reference}[4]{
#1 & #2 & #3 & \textit{\mailto{#4}}\\
}
%% Color the links (pink?)
%% TODO: Fix links
%% \hypersetup{colorlinks}
%% \def\cpp{C\texttt{++}\ }
\def\cpp{{C\nolinebreak[4]\hspace{-.05em}\raisebox{.4ex}{\tiny\bf ++}}}
\def\lildot{$\cdot$ }
% END RESUME DEFINITIONS
%% \setstretch{0.9}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment