document the makelettertitle and makeletterclosing command to frame the cover letter

This commit is contained in:
LLdaniel 2026-05-16 20:13:41 +02:00
commit 298b5f8941
No known key found for this signature in database

View file

@ -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[<optional alternative label>]{<list of documents>}
\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}