This is my code and it automatically puts a colon after the "Intern - Technology" bit, how do I override this and get rid of it?

\cvitemwithcomment{\normalfont{HSBC, London,} \textbf{Intern - Technology Division}}{}{\normalfont{Jun--August 2015}}

this is the class I am using:

  • Please share a link to the template in use. – Johannes_B Jul 17 '16 at 16:30
  • It is also important to know which style you are using. – Johannes_B Jul 17 '16 at 16:35
  • \moderncvstyle{banking} \usepackage{xpatch} \xpatchcmd{\cvitemwithcomment}{:}{}{}{} \xpatchcmd{\cvitemwithcomment}{:}{}{}{} – Johannes_B Jul 17 '16 at 16:43
  • sorry this is the style i am using \documentclass[10pt,a4paper,sans]{moderncv} \moderncvstyle{banking} \moderncvcolor{black} \usepackage[utf8]{inputenc} \usepackage[scale=0.8]{geometry} – Hannah Turner Jul 17 '16 at 17:25
  • Please add it to the question, that will pop it on top of the main site and more users see your question. – Johannes_B Jul 17 '16 at 17:27

Without going as far as redefining \cvitemwithcomment, you can capture the : and remove it:

enter image description here






  {{\normalfont HSBC, London,} \textbf{Intern - Technology Division}}
  {{\normalfont Jun--August 2015}}


Here is the original definition of \cvitemwithcomment where the insertion of : is visible in the first line:

  \savebox{\cvitemwithcommentmainbox}{\ifthenelse{\equal{#2}{}}{}{\hintstyle{#2}: }#3}%
  \hfill% fill of \separatorcolumnwidth

you can change this to suit your needs and adding the resulting code your preamble after loading the style of your choice.

| improve this answer | |

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.