From 298b5f89414b0540fea5eddd0211a0b97ff3ccf9 Mon Sep 17 00:00:00 2001 From: LLdaniel Date: Sat, 16 May 2026 20:13:41 +0200 Subject: [PATCH] document the makelettertitle and makeletterclosing command to frame the cover letter --- manual/moderncv_userguide.tex | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/manual/moderncv_userguide.tex b/manual/moderncv_userguide.tex index 3e2ed27..233f6b2 100644 --- a/manual/moderncv_userguide.tex +++ b/manual/moderncv_userguide.tex @@ -98,7 +98,7 @@ cvitem, cventry, cvdoubleentry, cvdoubleitem, cvtripleitem, cvlistitem, cvlistdoubleitem, cvcolumns, moderncvstyle, moderncvcolor, cvskill, cvskilllegend, cvskillplainlegend, cvskillhead, cvskillentry, nopagenumbers, name, born, address, email, link, social, phone, homepage, extrainfo, photo, quote, section, subsection, setlength, NewDocumentCommand, definecolor, colorlet, cvitemwithcomment, - recipient, subject, opening, closing, signature, postscript, enclosure + recipient, subject, opening, closing, signature, postscript, enclosure, makelettertitle, makeletterclosing }, emphstyle={\color{cvblue}}, emph={[2] @@ -615,6 +615,18 @@ A command to list the attached documents. The first optional parameter allows a \enclosure[]{} \end{lstlisting} +\paragraph{\code{\\makelettertitle}} +A command to create the whole cover letter title before beginning with the letter's body. +\begin{lstlisting} + \makelettertitle +\end{lstlisting} + +\paragraph{\code{\\makeletterclosing}} +A command to create the closing paragraph after the letter's body. +\begin{lstlisting} + \makeletterclosing +\end{lstlisting} + \note If typesetting the resume in Chinese using CJK an additional \code{\\clearpage} is required after the \code{\\makeletterclosing} command. This helps \code{fancyhdr} to work correctly with CJK. Otherwise it will remove the page numbering by making \code{lastpage} undefined. \section{Customization}