LaTeX forum ⇒ Curricula Vitae / RésumésHow to have multiple job titles under the same workplace using Modern CV Style Banking?

ModernCV, Friggeri, Plasmati, Classicthesis-CV, and more
latexman1164
Posts: 1
Joined: Mon Aug 09, 2021 8:04 pm

How to have multiple job titles under the same workplace using Modern CV Style Banking?

Postby latexman1164 » Mon Aug 09, 2021 8:12 pm

Hey everyone, I'm trying to update my resume to have multiple (3) different job titles and tasks, under the same work place, without having a blank line or having to repeat the current workplace. For clarity, i've included the picture of what it looks like, and what I want to remove. I'm using the Modern CV Style Banking resume template, and for each job, i'm using cventry.



This is what the code looks like in the main file, and I haven't edited the Moderncvstylebanking file. Can someone help?
Thanks!
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\mbox{}
\subsection{Experience}
\cventry{May 2021 - Present}{Job Title 1 }{Current Workplace }{ Work Location}{}{\begin{itemize}
\setlength\itemsep{.2em}
\setlength\itemindent{25pt}
\item task 1
\item task 2
\item task 3
\end{itemize}}
\cventry{August 2020 - April 2021}{Job Title 2 }{Current Workplace}{Work Location}{}{\begin{itemize}
\setlength\itemsep{.2em}
\setlength\itemindent{25pt}
\item task 1
\item task 2
\item task 3
\end{itemize}}
\cventry{July 2019 - August 2020}{Job Title 2 }{Current Workplace}{Work Location}{}{\begin{itemize} \setlength\itemsep{.2em}
\setlength\itemindent{25pt}
\item task 1
\item task 2
\item task 3
\end{itemize}}
Attachments
latex.JPG
latex.JPG (31.14 KiB) Viewed 1520 times

Bartman
Posts: 240
Joined: Fri Jan 03, 2020 2:39 pm

Postby Bartman » Mon Aug 09, 2021 10:30 pm

Please mark your code to make it more readable and compilable in the forum.

Without a Infominimal working example, my proposed amendment is a gamble with an uncertain outcome.

One possibility would be to add the bold line in the definition of the \cventry command only if both arguments are given. The command and its (re)definition can be copied into the preamble and changed to preserve the content of the already named banking style file of your TeX distribution.

\renewcommand*{\cventry}[7][.25em]{
  \begin{tabular*}{\textwidth}{l@{\extracolsep{\fill}}r}%
    \ifboolexpr{% moderncv.cls loads etoolbox package
      test {\notblank{#4}}
      and
      test {\notblank{#5}}
    }{%
      {\bfseries #4} & {\bfseries #5} \\%
    }{}%
	{\itshape #3\ifthenelse{\equal{#6}{}}{}{, #6}} & {\itshape #2}\\%
  \end{tabular*}%
  \ifx&#7&%
    \else{\\\vbox{\small#7}}\fi%
  \par\addvspace{#1}}


Return to “Curricula Vitae / Résumés”

Who is online

Users browsing this forum: No registered users and 2 guests