[Tex/LaTex] About moderncv footer

header-footermoderncv

Is there any way I can turn off the footer from appearing in all but the last page of the CV? (and once again in the cover letter). Is a nice idea that even with just the first page they could call you, but I need the space. I've already modified the template in order to do so, but I wanna try to keep my cv as vanilla as possible.

\documentclass[11pt,letterpaper,sans]{moderncv}

% moderncv themes
\moderncvstyle{casual}
\moderncvcolor{blue}
\usepackage[scale=0.75]{geometry}

% personal data
\name{John}{Doe}
\phone[mobile]{+1~(234)~567~890}

% content

\begin{document}
\makecvtitle

\section{Education}
\cventry{1998-2007}{Degree}{Institution}{City}{\textit{Grade}}{Description}

\pagebreak % just to simulate a lenghty CV for this MWE

\section{Computer skills}
Second page

\end{document}

Best Answer

If I understand correctly, you want the footer only in the last page.

This can be achieved in the following way:

  1. Put \pagestyle{empty} just after \makecvtitle to remove the footer from all pages.
  2. Put \thispagestyle{plain} just before \end{document}. This ensures that the last page has the footer (note that moderncv redefines and uses the plain style).

MWE

\documentclass[11pt,letterpaper,sans]{moderncv}

% moderncv themes
\moderncvstyle{casual}
\moderncvcolor{blue}
\usepackage[scale=0.75]{geometry}

% personal data
\name{John}{Doe}
\phone[mobile]{+1~(234)~567~890}

% content

\begin{document}
\makecvtitle
\pagestyle{empty}

\section{Education}
\cventry{1998-2007}{Degree}{Institution}{City}{\textit{Grade}}{Description}

\pagebreak % just to simulate a lenghty CV for this MWE

\section{Computer skills}
Second page

\thispagestyle{plain}
\end{document} 

Output:

enter image description here