I'm creating a CV with moderncv
. I'm using Overleaf, with pdflatex
and the 2014 version of TeX Live. Here is my code:
\documentclass[11pt,a4paper,roman]{moderncv}
\moderncvstyle{banking}
\moderncvcolor{black}
\renewcommand*{\namefont}{\fontsize{22}{1}\mdseries\upshape}
\renewcommand*{\titlefont}{\fontsize{22}{1}\mdseries\upshape}
\usepackage[utf8]{inputenc}
\usepackage[scale=0.76]{geometry}
\firstname{Curriculum}
\familyname{Vitae}
\title{Curriculum Vitae}
\address{street and number}{postcode city}{country}
\begin{document}
\makecvtitle
\end{document}
I'm using the commands \renewcommand*{\namefont}{\fontsize{22}{1}\mdseries\upshape}
and \renewcommand*{\titlefont}{\fontsize{22}{1}\mdseries\upshape}
to alter the size of the font on the title line. But it seems that it is not being applied consistently to both the name and the "Curriculum Vitae" text. In the output, the name is every so slightly larger than the "Curriculum Vitae" text, and also appears slightly darker when I print it out. Is there an explanation for this? The same thing happens even with the 2019 version of TeX Live in Overleaf, so I'm wondering if the colour may have something to do with it.