How can I change the title font size (First name, Family Name) in a resume written using moderncv package?


It is controlled by \namefont, so you just need to redefine that. As an example, the standard definition for the casual style is:


Similarly, the following macros control the fonts of other elements (the macro names should speak for themselves): \titlefont, \addressfont, \quotefont, \sectionfont, \subsectionfont, \hintfont and \pagenumberfont.

  • 2
    This worked. Thanks! Does the second number (40) indicate the spacing left after title? Also, what do mdseries and upshape stand for? – PGupta Aug 13 '13 at 16:53
  • First of all: Welcome to TeX.SX!. As you seem new around here, just note that people generally prefer that you post follow-up questions as fresh new ones rather than as comments; this enables the question to be searched and its answer(s) to be reused by others. That being said, \fontsize takes as arguments the size of the font and of the linespace (so the second number controls the spacing after, but only if there is a \par to use the new linespace AFAIK). – Xavier Aug 13 '13 at 21:51
  • \mdseries stands for medium bold weight (as compared to bold, light, extra bold, etc.), and \upshape for upright font variant (as compared to italics or oblique / slanted). – Xavier Aug 13 '13 at 21:53

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.