# Remove name from moderncv footer

The moderncv documentclass creates a footer on the résumé page without a name, yet adds it on the subsequent letter page. Is there a simple way to omit one's name in the footer altogether?

(It appears to me that it must be the \makecvtitle and \makelettertitle that trigger different footer styles)

MWE:

\documentclass[11pt,a4paper,sans]{moderncv}
\moderncvstyle{casual}
\moderncvcolor{blue}
\renewcommand{\familydefault}{\sfdefault}
\usepackage[utf8]{inputenc}
\usepackage[scale=0.75]{geometry}
\name{First name}{Last name}

\begin{document}
\makecvtitle

\clearpage
\date{Date}
\opening{Dear ...,}
\makelettertitle

Letter

\end{document}

• If the \name arguments are only used on the top of the resume and on the subsequent page footers, then one could do this, \makeatletter\name{First name\gdef\@firstname{}}{Last name\gdef\@lastname{}}\makeatother which zeroes out the quantities after their first use – Steven B. Segletes May 4 '16 at 12:40
• I never used this documentclass but please give it a try to replace \makelettertitle by \makeletterhead. If this works, I will write an answer. – LaRiFaRi May 4 '16 at 12:42
• @LaRiFaRi it does. But what's the difference? – BenjaminH May 4 '16 at 12:46
• @BenjaminH \makelettertitle is defined as \newcommand*{\makelettertitle}{ \makeletterhead\makeletterfoot}. Similar thing for \makecvtitle. As the OP was happy with the cvfoot in the first place (first page), I just kicked it out for the following pages. I hope, this is clear. There is no big documentation on this class and I do not know it. Therefore Alexander should test if my approach is really stable. – LaRiFaRi May 4 '16 at 12:56
• @LaRiFaRi Thanks! So the rest of the footer is still printed because it was set by makecvtitle? – BenjaminH May 4 '16 at 12:58

There might be side-effects, but you could just reset your name at the beginning of the letter by setting \name{}{} to empty strings:

\clearpage
\name{}{}

• I amazingly didn't try that. I thought I had to use some \renewcommand stuff, but simply adding \name{}{} at the end of the letter page worked. Thanks! – Alexander May 4 '16 at 13:30
if you are happy to remove the footer completely you could just use \makecvtitle followed by \pagestyle{empty}.
If you want the footer on some pages but not others (for whatever reason) then you can insert it using \thispagestyle{plain} in the appropriate position.