I am using the moderncv template to create both a CV and a cover letter.

The resulting document contains the CV and the cover letter concatenated and with the same page numbering.

Is there some easy way to render these two documents separate with separate numbering?

3 Answers 3


You can have a separate letter file. A template is provided in the modercv github



\usepackage{kantlipsum}   %% only for demo



\def\FileAuthor{\firstname \familyname}
\def\FileTitle{\firstname \familyname's cover letter}
\def\FileSubject{Cover letter}
\def\FileKeyWords{\firstname \familyname, Cover letter}


    pdfauthor   = \FileAuthor,%
    pdftitle    = \FileTitle,%
    pdfsubject  = \FileSubject,%
    pdfkeywords = \FileKeyWords,%
    pdfcreator  = \LaTeX,%
    pdfproducer = \LaTeX}

\sffamily   % for use with a résumé using sans serif fonts;
%\rmfamily  % for use with a résumé using serif fonts;
{\bfseries John Doe}\\[.35ex]
street and number\\
postcode city\\[.35ex]
\Telefon~phone number\\
{\bfseries Company XYZ}\\[.35ex]
street and number\\
postcode city
\hfill % US style
%\\[1em] % UK style
\raggedleft % US style
%April 6, 2006 % US informal style
%05/04/2006 % UK formal style
Dear Sir or Madam:\\[1.5em]

%Yours sincerely,\\[2em] % if the opening is "Dear Mr(s) Doe,"
Yours faithfully,\\[2em] % if the opening is "Dear Sir or Madam,"
{\bfseries John Doe}\\
{\slshape Enclosure}
{\slshape Attachment: curriculum vit\ae{}}

enter image description here

And CV.tex


% moderncv themes
\moderncvtheme[blue]{casual}                 % optional argument are 'blue' (default), 'orange', 'red', 'green', 'grey' and 'roman' (for roman fonts, instead of sans serif fonts)
%\moderncvtheme[green]{classic}                % idem

% character encoding
\usepackage[utf8]{inputenc}                   % replace by the encoding you are using

% adjust the page margins
%\setlength{\hintscolumnwidth}{3cm}                     % if you want to change the width of the column with the dates
%\AtBeginDocument{\setlength{\maketitlenamewidth}{6cm}}  % only for the classic theme, if you want to change the width of your name placeholder (to leave more space for your address details
%\AtBeginDocument{\recomputelengths}                     % required when changes are made to page layout lengths

% personal data
\title{Resumé title (optional)}               % optional, remove the line if not wanted
\address{street and number}{postcode city}    % optional, remove the line if not wanted
\mobile{mobile (optional)}                    % optional, remove the line if not wanted
\phone{phone (optional)}                      % optional, remove the line if not wanted
\fax{fax (optional)}                          % optional, remove the line if not wanted
\email{email (optional)}                      % optional, remove the line if not wanted
\homepage{homepage (optional)}                % optional, remove the line if not wanted
\extrainfo{additional information (optional)} % optional, remove the line if not wanted
\photo[64pt]{picture}                         % '64pt' is the height the picture must be resized to and 'picture' is the name of the picture file; optional, remove the line if not wanted
\quote{Some quote (optional)}                 % optional, remove the line if not wanted

% to show numerical labels in the bibliography; only useful if you make citations in your resume

% bibliography with mutiple entries

%\nopagenumbers{}                             % uncomment to suppress automatic page numbering for CVs longer than one page
%            content

\cventry{year--year}{Degree}{Institution}{City}{\textit{Grade}}{Description}  % arguments 3 to 6 can be left empty

\section{Master thesis}
\cvline{description}{\small Short thesis abstract}

\cventry{year--year}{Job title}{Employer}{City}{}{General description no longer than 1--2 lines.\newline{}%
Detailed achievements:%
\item Achievement 1;
\item Achievement 2, with sub-achievements:
  \item Sub-achievement (a);
  \item Sub-achievement (b), with sub-sub-achievements (don't do this!);
    \item Sub-sub-achievement i;
    \item Sub-sub-achievement ii;
    \item Sub-sub-achievement iii;
  \item Sub-achievement (c);
\item Achievement 3.
\cventry{year--year}{Job title}{Employer}{City}{}{Description line 1\newline{}Description line 2}
\cventry{year--year}{Job title}{Employer}{City}{}{Description}

\cvlanguage{Language 1}{Skill level}{Comment}
\cvlanguage{Language 2}{Skill level}{Comment}
\cvlanguage{Language 3}{Skill level}{Comment}

\section{Computer skills}
\cvcomputer{category 1}{XXX, YYY, ZZZ}{category 4}{XXX, YYY, ZZZ}
\cvcomputer{category 2}{XXX, YYY, ZZZ}{category 5}{XXX, YYY, ZZZ}
\cvcomputer{category 3}{XXX, YYY, ZZZ}{category 6}{XXX, YYY, ZZZ}

\cvline{hobby 1}{\small Description}
\cvline{hobby 2}{\small Description}
\cvline{hobby 3}{\small Description}

\section{Extra 1}
\cvlistitem{Item 1}
\cvlistitem{Item 2}
\cvlistitem[+]{Item 3}            % optional other symbol

\renewcommand{\listitemsymbol}{-} % change the symbol for lists

\section{Extra 2}
\cvlistdoubleitem{Item 1}{Item 4}
\cvlistdoubleitem{Item 2}{Item 5 \cite{book1}}
\cvlistdoubleitem{Item 3}{}

% Publications from a BibTeX file without multibib\renewcommand*{\bibliographyitemlabel}{\@biblabel{\arabic{enumiv}}}% for BibTeX numerical labels
\bibliography{publications}       % 'publications' is the name of a BibTeX file

% Publications from a BibTeX file using the multibib package
%\bibliographybook{publications}   % 'publications' is the name of a BibTeX file
%\bibliographymisc{publications}   % 'publications' is the name of a BibTeX file


enter image description here


No need to write the letter in a different file, nor is convenient if you want to use the same footer that the curriculum.


% Uncomment next line to reproduce exactly the MWE image
% \usepackage[margin=1cm,bmargin=3cm,paperwidth=15cm, paperheight=12cm]{geometry}

\title{Curriculum vit\ae}
\address{MyStreet, 24}{012345}
\mobile{000 000 000}
\phone{555 555 555}
\fax{888 888 888}
\extrainfo{This a MWE for TeX.SX}
\quote{To work or not shouldn't be a question }

% Letter Information 
\recipient{HR Department}{Corporation\\123 Pleasant Lane\\12345 City, State} % Letter recipient
\opening{Dear Sir or Madam,} % Opening greeting
\closing{Sincerely yours,} % Closing phrase
\enclosure[Attached]{curriculum vit\ae{}} % List of enclosed documents
{\fancyfoot[r]{}            % No page/lastapage in the letter
\setcounter{page}{0}        % Change if letter is more than 1 page
\makelettertitle            % Print letter title
Lore ipum dolor             % Letter body
sit amet, consectetuer 
adiscipliging elit. 
Up purus ... 

\makeletterclosing          % Print letter signature
% this is the page "1/1" % (no number when total pages = 1)
}% end of pages without page/lastapage} 
\section{Academic titles}
\cventry{2010--2012}{etcetera ...}{}{}{}{} 
% this is the page "2/2"
\cventry{2013--2015}{etcetera ...}{}{}{}{}
  • This is helpful even if you do put it in a separate file. Strangely, the footer doesn't show up if I exclude \newpage in a one-page cover letter document. Dec 16, 2015 at 4:08
  • For me, I need to put \enclosure[Attached]{curriculum vit\ae{}} actually out of the preamble into the document to change the enclosure name.
    – Zubo
    Nov 17, 2016 at 14:11

Use \end{document} instruction after your cv reference. Write the cover letter separately.

  • The easiest and most flexible solution!
    – arne.z
    May 4, 2017 at 21:52

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.