Skip to content

Commit

Permalink
Merge pull request #6 from DavidDoukhan/main
Browse files Browse the repository at this point in the history
Makefile and work experience environments
  • Loading branch information
jitinnair1 authored Aug 20, 2023
2 parents 076be39 + d17c368 commit 3477f52
Show file tree
Hide file tree
Showing 3 changed files with 48 additions and 15 deletions.
10 changes: 10 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -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
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
49 changes: 34 additions & 15 deletions cv.tex
Original file line number Diff line number Diff line change
Expand Up @@ -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
%----------------------------------------------------------------------------------------
Expand Down Expand Up @@ -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}

Expand Down

0 comments on commit 3477f52

Please sign in to comment.