[Tex/LaTex] How to add a new command in moderncv template for cventry

moderncv

I want to add new moderncv command to act like the command cventry but in double, I mean that I have the same job from a period in two differnet companies and I need the command to show it, here is the original commands

\cventry[spacing]{years}{degree/job title}{institution/employer}{localization}{optionnal: grade/...}{optional: comment/job description}

what I want is something like this

\cventrydouble[spacing]{years}{degree/job title}  
{institution1/employer1}{localization1}{optionnal1: grade/...}{optional1: comment/job description}  
{institution2/employer2}{localization2}{optionnal2: grade/...}{optional2: comment/job description}

and this will give final result like the original one but with \cventrydouble you will be able for the same period and same job to put two employers.
I need something close this but with better style :
\section{Experiences Professionnelles}
\cventry{2008\à 2012}{Responsable…}{}{}{}{}
\cventry{}{}{Company1}{Paris}{France}{Description company1.}
\cventry{}{}{Company2}{Paris}{France.}{Description company2\newline{}}

Sorry but I'm not allowed to show a picture, I get this message

"We're sorry, but as a spam prevention mechanism, new users aren't allowed to post images. Earn more than 10 reputation to post images."

Best Answer

To put two companies and locations for the same job title, you could use the penultimate argument of \cventry to hold information about the second company and location.
Depending on the style you are using, you will need to set formatting manually accordingly inside that argument, i.e. for the classic or casual style:

\section{Experience}
\cventry{Date}{Job title}{Company 1}{Location 1}{\textsl{Company 2}, Location 2}{Description}

which will produce result