From 4520168d2ce7527970bf8f3ffb697f98966cf3f7 Mon Sep 17 00:00:00 2001 From: David Doukhan Date: Tue, 1 Aug 2023 14:51:05 +0200 Subject: [PATCH 1/3] a Makefile allowing to compile project offline --- Makefile | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..91b56fa --- /dev/null +++ b/Makefile @@ -0,0 +1,10 @@ +NAME=cv + +all: + latexmk -pdf ${NAME}.tex + +clean: + rm -f ${NAME}.aux ${NAME}.bbl ${NAME}.bcf ${NAME}.fdb_latexmk ${NAME}.fls ${NAME}.log ${NAME}.out ${NAME}.run.xml ${NAME}.blg ${NAME}.toc *\~ + +distclean: clean + rm -f ${NAME}.pdf From 5de2303c185f5c75e4468b84fc378ce2637d9956 Mon Sep 17 00:00:00 2001 From: David Doukhan Date: Tue, 1 Aug 2023 14:59:20 +0200 Subject: [PATCH 2/3] job listing environments --- cv.tex | 49 ++++++++++++++++++++++++++++++++++--------------- 1 file changed, 34 insertions(+), 15 deletions(-) diff --git a/cv.tex b/cv.tex index cc69100..91a0040 100644 --- a/cv.tex +++ b/cv.tex @@ -97,6 +97,32 @@ %debug page outer frames %\usepackage{showframe} + +% job listing environments +\newenvironment{jobshort}[2] + { + \begin{tabularx}{\linewidth}{@{}l X r@{}} + \textbf{#1} & \hfill & #2 \\[3.75pt] + \end{tabularx} + } + { + } + +\newenvironment{joblong}[2] + { + \begin{tabularx}{\linewidth}{@{}l X r@{}} + \textbf{#1} & \hfill & #2 \\[3.75pt] + \end{tabularx} + \begin{minipage}[t]{\linewidth} + \begin{itemize}[nosep,after=\strut, leftmargin=1em, itemsep=3pt,label=--] + } + { + \end{itemize} + \end{minipage} + } + + + %---------------------------------------------------------------------------------------- % BEGIN DOCUMENT %---------------------------------------------------------------------------------------- @@ -135,23 +161,16 @@ \section{Summary} %Experience \section{Work Experience} -\begin{tabularx}{\linewidth}{ @{}l r@{} } -\textbf{Designation} & \hfill Jan 2021 - present \\[3.75pt] -\multicolumn{2}{@{}X@{}}{long long line of blah blah that will wrap when the table fills the column width long long line of blah blah that will wrap when the table fills the column width long long line of blah blah that will wrap when the table fills the column width long long line of blah blah that will wrap when the table fills the column width} \\ -\end{tabularx} +\begin{jobshort}{Designation}{Jan 2021 - present} +long long line of blah blah that will wrap when the table fills the column width long long line of blah blah that will wrap when the table fills the column width long long line of blah blah that will wrap when the table fills the column width long long line of blah blah that will wrap when the table fills the column width +\end{jobshort} -\begin{tabularx}{\linewidth}{ @{}l r@{} } -\textbf{Designation} & \hfill Mar 2019 - Jan 2021 \\[3.75pt] -\multicolumn{2}{@{}X@{}}{ -\begin{minipage}[t]{\linewidth} - \begin{itemize}[nosep,after=\strut, leftmargin=1em, itemsep=3pt] - \item[--] long long line of blah blah that will wrap when the table fills the column width - \item[--] again, long long line of blah blah that will wrap when the table fills the column width but this time even more long long line of blah blah. again, long long line of blah blah that will wrap when the table fills the column width but this time even more long long line of blah blah - \end{itemize} - \end{minipage} -} -\end{tabularx} +\begin{joblong}{Designation}{Mar 2019 - Jan 2021} +\item long long line of blah blah that will wrap when the table fills the column width +\item again, long long line of blah blah that will wrap when the table fills the column width but this time even more long long line of blah blah. again, long long line of blah blah that will wrap when the table fills the column width but this time even more long long line of blah blah +\end{joblong} + %Projects \section{Projects} From d17c368e618f8f96c9fc28942022c7cff1e1b390 Mon Sep 17 00:00:00 2001 From: David Doukhan Date: Tue, 1 Aug 2023 15:08:39 +0200 Subject: [PATCH 3/3] README update --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 39ec070..3299ffa 100644 --- a/README.md +++ b/README.md @@ -26,6 +26,10 @@ Now, once your site is published, your CV will be accessible at: https://usernam Also, if you have a premium subscription to Overleaf, you can use Overleaf's GitHub integration to push changes to your GitHub repo directly from Overleaf. +## Compiling the CV on your local computer +- type `make` in the `autoCV` directory to produce file `cv.pdf` +- you can optionally type `make clean` or `make distclean` to remove intermediate files + ## Detailed Instructions.. [.. are available here](https://github.com/jitinnair1/autoCV/wiki/How-to-use-autoCV:-Detailed-Instructions)