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
c41143a10d
commit
fd3bf93f9a
2 changed files with 4 additions and 1 deletions
|
|
@ -165,7 +165,8 @@
|
||||||
\setlength{\parskip}{6\p@}}
|
\setlength{\parskip}{6\p@}}
|
||||||
|
|
||||||
\renewcommand*{\makeletterclosing}{
|
\renewcommand*{\makeletterclosing}{
|
||||||
\@closing\\[3em]%
|
\@closing\ifthenelse{\isundefined{\@signature}}{\\[3em]}{\\[1em]}% shrink space when signature is set
|
||||||
|
\ifthenelse{\isundefined{\@signature}}{}{{\@signature\\}}
|
||||||
{\bfseries\@firstname~\@lastname}%
|
{\bfseries\@firstname~\@lastname}%
|
||||||
\ifthenelse{\isundefined{\@enclosure}}{}{%
|
\ifthenelse{\isundefined{\@enclosure}}{}{%
|
||||||
\\%
|
\\%
|
||||||
|
|
|
||||||
|
|
@ -209,6 +209,8 @@
|
||||||
\hfill% US style
|
\hfill% US style
|
||||||
% \\[1em]% UK style
|
% \\[1em]% UK style
|
||||||
\@date\\[2em]% US informal style: "January 1, 1900"; UK formal style: "01/01/1900"
|
\@date\\[2em]% US informal style: "January 1, 1900"; UK formal style: "01/01/1900"
|
||||||
|
% optional subject
|
||||||
|
\ifthenelse{\isundefined{\@subject}}{}{{\bfseries\@subject\\[3em]}}
|
||||||
% opening
|
% opening
|
||||||
\raggedright%
|
\raggedright%
|
||||||
\@opening\\[1.5em]%
|
\@opening\\[1.5em]%
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue