mirror of
https://github.com/moderncv/moderncv.git
synced 2026-02-06 10:05:19 +01:00
[contemporary] Support subject and signature in cover letter
This commit is contained in:
parent
5fe49ca282
commit
ed39619a2f
2 changed files with 4 additions and 1 deletions
|
|
@ -165,7 +165,8 @@
|
|||
\setlength{\parskip}{6\p@}}
|
||||
|
||||
\renewcommand*{\makeletterclosing}{
|
||||
\@closing\\[3em]%
|
||||
\@closing\ifthenelse{\isundefined{\@signature}}{\\[3em]}{\\[1em]}% shrink space when signature is set
|
||||
\ifthenelse{\isundefined{\@signature}}{}{{\@signature\\}}
|
||||
{\bfseries\@firstname~\@lastname}%
|
||||
\ifthenelse{\isundefined{\@enclosure}}{}{%
|
||||
\\%
|
||||
|
|
|
|||
|
|
@ -209,6 +209,8 @@
|
|||
\hfill% US style
|
||||
% \\[1em]% UK style
|
||||
\@date\\[2em]% US informal style: "January 1, 1900"; UK formal style: "01/01/1900"
|
||||
% optional subject
|
||||
\ifthenelse{\isundefined{\@subject}}{}{{\bfseries\@subject\\[3em]}}
|
||||
% opening
|
||||
\raggedright%
|
||||
\@opening\\[1.5em]%
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue