From 142705f3bc31c5b618419be80a3af40effbb6429 Mon Sep 17 00:00:00 2001 From: Jake VanderVaate Date: Tue, 21 Sep 2021 17:57:34 -0500 Subject: added resume template and screenshot shell script --- README.md | 28 +++++++++++++- pdf2png.sh | 13 +++++++ resume/commands.tex | 54 ++++++++++++++++++++++++++ resume/packages.tex | 13 +++++++ resume/resume.pdf | Bin 0 -> 71675 bytes resume/resume.png | Bin 0 -> 28007 bytes resume/resume.tex | 106 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 7 files changed, 213 insertions(+), 1 deletion(-) create mode 100755 pdf2png.sh create mode 100644 resume/commands.tex create mode 100644 resume/packages.tex create mode 100644 resume/resume.pdf create mode 100644 resume/resume.png create mode 100644 resume/resume.tex diff --git a/README.md b/README.md index e4c4211..3b0f4e9 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,29 @@ # LaTeX Templates -Templates I've designed for LaTeX documents \ No newline at end of file +Templates I've designed for LaTeX documents + +## Resume + +![Resume screenshot](resume/resume.png) + +The resume is made up of the three following files: + +* **resume.tex**- Edit this file with information you want to appear on your resume. + The file is filled with template information you can use as examples. +* **commands.tex**- This file has my custom commands to style the headings, title, and lists. + This file shouldn't need to be edited unless you want to change the document style. +* **packages.tex**- This file contains all the packages I use in this template. + +## pdf2png.sh + +This shell script is what I used to generate the document screenshots for this README. +I included it for anyone who might be interested in doing the same. + +These are the dependencies for this script: + +* pdftoppm +* imagemagick +* optipng + +I've only tested this script on Linux; I can't speak to how well it will work on Mac. +This script will only work on Windows through Windows Subsystem for Linux (WSL). diff --git a/pdf2png.sh b/pdf2png.sh new file mode 100755 index 0000000..37c30b8 --- /dev/null +++ b/pdf2png.sh @@ -0,0 +1,13 @@ +#!/bin/sh + +#strip the file name off the input PDF +file="$(ls ""$1"" | sed 's|\.pdf||g')" + +#convert the PDF to a 600px wide PNG image +pdftoppm -singlefile -png -scale-to-x 696 -scale-to-y -1 "$1" "$file" + +#add a 2x2px border to the image.png file +convert "$file".png -bordercolor black -border 2x2 "$file".png + +#compress the image +optipng "$file".png diff --git a/resume/commands.tex b/resume/commands.tex new file mode 100644 index 0000000..4ade9d4 --- /dev/null +++ b/resume/commands.tex @@ -0,0 +1,54 @@ +\pdfgentounicode=1 +\setlist{nosep} + +\setlist[itemize]{ +leftmargin=9pt, +rightmargin=9pt, +itemsep=4pt +} + +\titleformat{\section} +{\vspace{-4mm}\raggedright\LARGE\mdseries} +{} +{0em} +{\vspace{-8mm}\hrule} + +%Entry for experience +\newcommand{\entry}[5]{ + \vspace{-2mm} %top spacing + \begin{tabular*}{1.00\textwidth}[t]{l@{\extracolsep{\fill}}r} + \vspace{1mm} % middle spacing + \large{\textbf{#1}} & \normalsize{#2} \\ + \textit{\small{#3}} & \textit{\small{#4}} \\ + \end{tabular*} + \vspace{-2mm} + \begin{adjustwidth}{7pt}{7pt} + \small{#5} + \end{adjustwidth} + \vspace{4mm} +} +\newcommand{\nothing}{\vspace{-6mm}} + + +%Maketitle command that sets document header +\renewcommand{\maketitle}{ +{\Huge\bfseries +\theauthor} +\vspace{3mm} +\hrule +\centering +\ \small{\faIcon{phone} \phone} +\hfill +\small{\faIcon{envelope} \href{mailto://\email}{\email}} +\hfill +\small{\faIcon{linkedin} \href{https://www.linkedin.com/in/\linkedin/}{linkedin.com/in/\linkedin/}}\ \ +%\small{\faIcon{globe} \href{https://\website/}{\website}} +\raggedright +} + +%Coursework and descriptions +\newcommand{\course}[2]{ + \normalsize{\textbf{#1}} \\ + \small{#2} +} + diff --git a/resume/packages.tex b/resume/packages.tex new file mode 100644 index 0000000..802a479 --- /dev/null +++ b/resume/packages.tex @@ -0,0 +1,13 @@ +\usepackage[margin=.75in]{geometry} %Set page margin +\usepackage{roboto} %Document font +\usepackage[parfill]{parskip} %Block paragraphs +\usepackage{tabto} %Package to enable tab stops and \tab command +\pagenumbering{gobble} %No page numbers +\usepackage{fontawesome5} %Icons in the contact information +\usepackage{hyperref} %Hyperlinks and document metatdata +\usepackage{tabularx} %Tables +\usepackage{changepage} %Adjust margins for specific sections +\usepackage[T1]{fontenc} %Encode font for screen-reading software +\usepackage[dvipsnames]{xcolor} %Allow the \color{name_of_color} command +\usepackage{enumitem} %Modify bullet spacing in lists +\usepackage{titlesec} %Change the section headings diff --git a/resume/resume.pdf b/resume/resume.pdf new file mode 100644 index 0000000..86f3abb Binary files /dev/null and b/resume/resume.pdf differ diff --git a/resume/resume.png b/resume/resume.png new file mode 100644 index 0000000..898cd32 Binary files /dev/null and b/resume/resume.png differ diff --git a/resume/resume.tex b/resume/resume.tex new file mode 100644 index 0000000..ac13228 --- /dev/null +++ b/resume/resume.tex @@ -0,0 +1,106 @@ +\documentclass{article} +\usepackage{titling} +\title{Resume} +\author{Your Name} +\date{The Date} + +\newcommand{\email}{your.email@email.com} +\newcommand{\phone}{+1(111)111-1111} +\newcommand{\linkedin}{your-linkedin-slug} %slug (the last part) for url +\newcommand{\website}{yourwebsiteontheweb.com} + +\input{packages} +\input{commands} + +\hypersetup{ +colorlinks=true, %"false" disables link colors +linkcolor=black, %links elsewhere in document +filecolor=black, %color for links to files +urlcolor=black, %color for hyperlinked urls +pdftitle={\thetitle}, %Populates "title" metadata field +pdfauthor={\theauthor}, %Populates "author" metadata field +pdfsubject={Resume/CV for \theauthor}, %Populates "subject" metadata +pdfkeywords={resume, cv}, %Populates PDF keyword metadata, separate with commans +} + + + + + +\begin{document} +\NumTabs{10} +\sffamily %Set san serif font for body text +\maketitle + + +\section{Education} + +\entry +{Name of Degree}{Start Date -- End Date} +{Name of University}{City, ST} +{\nothing} + +\entry +{Name of Degree}{Start Date -- End Date} +{Name of University}{City, ST} +{ +\begin{itemize} +\item You can put courses here if you want +\item Another course +\item Use "\textbackslash nothing" command (seen above) to leave this field blank +\end{itemize} +} + + + + +\section{Experience} + +\entry +{Name of Role}{Start Date -- End Date} +{Name of Company}{City, ST} +{ +\begin{itemize} +\item An amazing thing you did +\item Another amazing thing you did +\item More amazing stuff +\end{itemize} +} + + +\entry +{Name of Role}{Start Date -- End Date} +{Name of Company}{City, ST} +{ +\begin{itemize} +\item An amazing thing you did +\item Another amazing thing you did +\item More amazing stuff +\end{itemize} +} + + + +\section{Projects} + +\entry +{Name of Project}{Start Date -- End Date} +{Describe project}{\href{link_to_project.com}{website link or City, ST}} +{ +Describe the project in a paragraph if you'd like. +Say some nice things about it. +Maybe highlight some of the tools you used below. +\textbf{Tools Used:} Software, Hardware, other tools +} + + +\section{Skills} + +\begin{tabular}{ll} +\textbf{Programming Languages} & Example, example, example, example \\ +\textbf{Markup Languages} & Example, example, example, example \\ +\textbf{Graphic Design} & Example, example, example +\end{tabular} + + +\end{document} -- cgit v1.2.1