I am creating a CV with the moderncv classic style. My header looks so far like this:
:
I would like to achieve that
- the name and title are not aligned at the lower, but at the upper end of the box.
- the name is "overlapping" with the address box, because I have to make the name smaller at the moment to avoid a line break.
I guess that I have to change moderncvstyleclassic.sty. Unfortunately I'm not that familiar with the syntax so I cannot figure out what to change.
Here is my code:
\documentclass[11pt,a4paper,sans]{moderncv}
\moderncvstyle{classic}
\moderncvcolor{grey}
\renewcommand*{\namefont}{\fontsize{25}{36}\mdseries\upshape}
\usepackage[ansinew]{inputenc}
\usepackage[scale=0.75]{geometry}
% personal data
\firstname{Dr. Marcus}
\familyname{Surname}
\title{Biochemist}
\address{Street abc}{D-80331 Munich}
\mobile{+49 xxx / xx xx xx xx}
\email{marcus.surname@dummy.com}
\photo[90pt][0.4pt]{dummy}
\begin{document}
\makecvtitle
\end{document}
Many thanks!
Best Answer
You can modify
\makecvtitle
(however unwieldy):It's all about adjusting the boxes that make up the header. It's easiest to still supply your
\familyname
with an additional\rlap
. The adjustment for the name uses some detail aboutminipage
- specifically specifying a fixed height.