Under the 'Experience' section, I would like to add the following dates under a job position, separated in 2 lines:
Jan 2010 – Jul 2012
Jan 2014 – Jun 2015
However, writing
{{Jan 2010 - Jul 2012,
Jan 2014 - Jun 2015}}
forces the dates to be written on one line and pushes the indent to the right. How can I add another? (See image below)
MWE:
\documentclass[]{friggeri-cv}
\begin{document}
\header{somebody}{iusedtoknow}{fresh graduate}
%-------------------------
\section{experience}
\begin{entrylist}
\entry
{Jan 2010 - Jul 2012}
{Cupcakes 'n' Such}
{Cupcake Monster}
{\begin{itemize}
\item Take pictures of cupcakes all day long
\item Manage cupcake inventory and liase with other firms
\item Demonstrate how to eat cupcakes to customers without touching lips
\end{itemize}
}
\end{entrylist}
%-------------------------
\end{document}
MWE – list environment in .cls file:
\setlength{\tabcolsep}{3.7pt}
\newenvironment{entrylist}{%
\begin{tabular*}{\textwidth}{@{\extracolsep{\fill}}ll}
}{%
\end{tabular*}
}
\renewcommand{\bfseries}{\headingfont\color{headercolor}}
\newcommand{\entry}[4]{%
{\small #1} & \parbox[t]{11.8cm}{%
\textbf{#2}%
\hfill%
{\footnotesize\addfontfeature{Color=lightgray} #3}\\%
#4\vspace{\parsep}%
}\\
}
Best Answer
Adjust the .cls file for entrylist:
Above, I am wrapping the first column contents (#1) in a parbox so that you can fix and control the spacing. We then shrink the second column so that it doesn't overrun the margin. I also added some inter-column spacing in the entrylist definition. Then in your .tex file, use a
\newline
as follows:If you want the blue color then:
This produces the output as:
Because the default helvetica font doesn't have equal spacing for each letter, the dates won't line up exactly. You'll need to switch fonts for that. But I think this achieves your desired effect. In order to achieve this though I've had to push the second column further to the right so you are sacrificing space.
MWE