moderncv's \cventry environment defines for its 3rd argument a slanted font:

    \ifthenelse{\equal{#4}{}}{}{, {\slshape#4}}%
    \ifthenelse{\equal{#5}{}}{}{, #5}%
    \ifthenelse{\equal{#6}{}}{}{, #6}%

I'd like to keep that slanted font, but have a way to interject it with the default font, so that I could write something like

\cventry{year}{project}{SLANTED_company1 {\sfdefault AND} SLANTED_company2}{city}{country}{description} 

so the output would be "SLANTED_company1 AND SLANTED_company2".

How could I do this?

  • 1
    \textup{\textsf{and}} ? Jul 9, 2021 at 17:24
  • Thank you, perfect! If you put that as an answer, I'll happily accept it
    – Zubo
    Jul 9, 2021 at 17:28

1 Answer 1


\textup (upright) undoes the slanted shape so you can use \textup{\textsf{and}}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.