Skip to content

Commit

Permalink
update cv stylefile
Browse files Browse the repository at this point in the history
  • Loading branch information
verenablaschke committed May 1, 2023
1 parent 4a1e090 commit fa46eee
Show file tree
Hide file tree
Showing 4 changed files with 43 additions and 27 deletions.
Binary file modified resume/demo.pdf
Binary file not shown.
16 changes: 8 additions & 8 deletions resume/demo.tex
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
\printname{Firstname Lastname}

\contact{Lorem ipsum, dolor sit amet, consectetur adipiscing \sep{} +01 234 56789\\
first.last@email.com \sep{} \url{github.com/username}}
first.last@email.com \sep{} \https{example.com}}

\mysection{Education}
\section{Education}

\begin{tableii}
\dateloccell{mm/yyyy}{mm/yyyy}{Place}
Expand All @@ -23,11 +23,11 @@
\end{tableii}


\mysection{Work Experience}
\section{Work Experience}

\begin{tableii}
\dateloccellsince{mm/yyyy}{Some City}
\detailsskillstop{Job title}{Employer}{Hard skill 1 \sep{} hard skill 2 \sep{} hard skill 3}{Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor
\detailsskillstop{Job title}{Employer}{Skill 1 \sep{} skill 2 \sep{} skill 3}{Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor
\begin{itemize}
\item Etiam ultricies nisi vel augue. Curabitur ullamcorper ultricies nisi
\item Maecenas tempus, tellus eget condimentum rhoncus, sem quam semper libero, sit amet adipiscing sem neque sed ipsum
Expand All @@ -40,7 +40,7 @@
\end{tableii}


\mysection{Volunteer Experience}
\section{Volunteer Experience}
\begin{tableii}
\dateloccell{mm/yyyy}{mm/yyyy}{Another Place}
\details{Position}{Organization}{\vspace{-\baselineskip}\begin{itemize}
Expand All @@ -49,20 +49,20 @@
\end{tableii}


\mysection{Conference Proceedings}
\section{Conference Proceedings}

\begin{tablei}
\aca{``Lorem ipsum dolor sit amet, consectetuer adipiscing elit''}{\name{F. Lastname,} A. Coauthor, \& A. Nother (yyyy). In \textit{Proceedings of the Fourteenth Workshop on Blindtext} (QWERTZ yyyy) (pp. 1234--5678).}
\aca{``Vivamus elementum semper nisi: Aenean vulputate eleifend tellus''}{A. Nother \& \name{F. Lastname,} (yyyy). In \textit{Some Venue} (AZERTY yyyy) (pp. 1234--5678).}
\end{tablei}

\mysection{Talks}
\section{Talks}

\begin{tablei}
\aca{``Lorem ipsum dolor sit amet, consectetuer adipiscing elit''}{\name{F. Lastname,} A. Coauthor, \& A. Nother (yyyy). At the \textit{the Fourteenth Workshop on Blindtext} (QWERTZ yyyy) at the 42nd annual conference of Typsetting in Someplace, Somecountry}
\end{tablei}

\mysection{Skills}
\section{Skills}

\begin{tableiii}
Programming & Language (very good proficiency) & Important Library, Important Framework\\
Expand Down
Binary file modified resume/resume-preview.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
54 changes: 35 additions & 19 deletions resume/resume.sty
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,15 @@
% Basic page set-up
\newlength{\margintop}
\setlength{\margintop}{2.6cm}
\newlength{\marginside}
\setlength{\marginside}{2.6cm}
\newlength{\marginleft}
\setlength{\marginleft}{2.2cm} % 2.6
\newlength{\marginright}
\setlength{\marginright}{1.8cm} % 2.4
\RequirePackage[a4paper,
left=\marginside,
right=\marginside,
left=\marginleft,
right=\marginright,
top=\margintop,
bottom=2cm,
bottom=1cm,
]{geometry}
\RequirePackage[protrusion=true,final]{microtype}
\frenchspacing
Expand All @@ -39,8 +41,8 @@
Extension=.ttf,
UprightFont=*-SemiBold,
]
\renewcommand{\Large}{\fontsize{19pt}{30pt}\selectfont}
\renewcommand{\large}{\fontsize{15pt}{18pt}\selectfont}
\renewcommand{\Large}{\fontsize{17pt}{26pt}\selectfont}
\renewcommand{\large}{\fontsize{13pt}{16pt}\selectfont}
\renewcommand{\normalsize}{\fontsize{11pt}{14pt}\selectfont}
\renewcommand{\small}{\fontsize{10pt}{14pt}\selectfont}
\renewcommand{\footnotesize}{\fontsize{9pt}{12pt}\selectfont}
Expand All @@ -51,14 +53,14 @@
\newlength{\picwidth}
\newcommand{\portrait}[1]{%
\begin{tikzpicture}[remember picture,overlay]
\node [xshift=-\marginside-0.5\picwidth,
\node [xshift=-\marginleft-0.5\picwidth,
yshift=-\margintop-0.5\picheight] at (current page.north east)
{\includegraphics[width=\picwidth,height=\picheight]{#1}};
\end{tikzpicture}%
}

% Contrast colour (xcolor is already imported via tikz)
\definecolor{col}{RGB}{61, 139, 198}
\definecolor{col}{RGB}{35, 127, 135}

% Links
\RequirePackage{hyperref}
Expand All @@ -68,13 +70,14 @@
urlcolor=col,
}
\urlstyle{rm}
\newcommand*{\https}[1]{\href{https://#1}{#1}}

% Formatting for the different kinds of data
\RequirePackage{titlesec}
\RequirePackage{needspace} % Avoid page breaks between section titles and their sections
\newcommand\mysection{\vspace{-8pt}\section}
% \titleformat{\section}{\needspace{5\baselineskip}\large\color{col}}{}{0pt}{}
\titleformat{\section}{\needspace{5\baselineskip}\large\color{col}}{}{0pt}{}
\titlespacing\section{0pt}{12pt plus 0pt minus 0pt}{-14pt plus 0pt minus 0pt}
\titlespacing{\section}{0pt}{14pt plus 0pt minus 0pt}{0pt plus 0pt minus 0pt}
\newcommand{\printname}[1]{{\Large\color{col}#1}\\\vspace{6pt}}
\newcommand{\entrytitle}[1]{{\normalsize\bfseries#1}}
\newcommand{\dateloc}[1]{{\small\itshape#1}}
Expand All @@ -101,10 +104,13 @@
% Tables
\RequirePackage{multirow}
\RequirePackage{array} % for ragged-right text in tables
\RequirePackage{xltabular} % tables that can do page breaks and are flush with the body text
\RequirePackage{xltabular} % tables that can do page breaks
\setlength{\LTpre}{0pt} % space before xltabular/longtable
\setlength{\LTpost}{4pt} % space after xltabular/longtable
\renewcommand{\arraystretch}{1.5}
\newcommand{\resetarraystretch}{\renewcommand{\arraystretch}{1.5}}
\newlength{\colleni} % width of first column
\setlength{\colleni}{3cm}
\setlength{\colleni}{2.8cm}
\newlength{\collenii} % width of second column (in tables with 3+ columns)
\setlength{\collenii}{5cm}
% Every section contains a table to make sure we've got balanced vertical whitespace throughout the document
Expand All @@ -115,7 +121,7 @@
\newenvironment{tableii}
{\xltabular{\textwidth}{@{}>{\raggedright}p{\colleni}>{\raggedright\arraybackslash}X@{}}}
{\endxltabular}
% - table with three columns
% - table with three columns, for skill lists
\newenvironment{tableiii}
{\xltabular{\textwidth}{@{}>{\raggedright}p{\colleni}>{\raggedright}p{\collenii}>{\raggedright\arraybackslash}X@{}}}
{\endxltabular}
Expand All @@ -124,14 +130,24 @@
\newcommand{\dateloccell}[3]{\dateloc{#1--#2\newline#3}}
\newcommand{\since}{since}
\newcommand{\dateloccellsince}[2]{\dateloc{\since{} #1\newline#2}}
\newcommand{\datecell}[1]{\dateloc{#1}}

% Cell in the second column with job/degree title, employer/university, details, and (optionally) corresponding hard skills
\newcommand{\displayskills}{1}
\newcommand{\hideskills}{\renewcommand{\displayskills}{0}}
\newcommand{\showskills}{\renewcommand{\displayskills}{1}}

% Cell in the second column with job/degree title, employer/university, details, and (optionally) corresponding skills
\newcommand{\details}[3]{& \entrytitle{#1} \company{#2} \newline \descr{#3}\\}
\newcommand{\detailsskillstop}[4]{& \entrytitle{#1} \company{#2} \newline \skills{#3} \newline \descr{#4}\\}
\newcommand{\detailsskillsbottom}[4]{& \entrytitle{#1} \company{#2} \newline \descr{#4} \newline \skills{#3}\\}
\newcommand{\detailsskillsinline}[4]{& \entrytitle{#1} \company{#2}\newline\inlineskills{#3}{#4}\\}
\newcommand{\detailsskillstop}[4]{& \entrytitle{#1} \company{#2}
\if\displayskills1 \newline \skills{#3} \fi
\newline \descr{#4}\\}
\newcommand{\detailsskillsbottom}[4]{& \entrytitle{#1} \company{#2} \newline \descr{#4} \if\displayskills1 \newline \skills{#3} \fi\\}
\newcommand{\detailsskillsinline}[4]{& \entrytitle{#1} \company{#2} \newline \if\displayskills1 \skills{#3} \fi \descr{#4}\\}
\newcommand{\customdetails}[1]{&#1\\}

% Cell in a one-column table
\newcommand{\aca}[2]{\article{#1}\newline\hspace{\listindent}\hangindent=\listindent \descr{#2}\\}
\newcommand{\acaspace}{\newline\hspace{\listindent}}
\newcommand{\aca}[2]{\article{#1}\acaspace\hangindent=\listindent \descr{#2}\\}


\endinput

0 comments on commit fa46eee

Please sign in to comment.