proposal for adding a signature to cover letter

This commit is contained in:
LLdaniel 2023-03-29 23:07:01 +02:00
commit 169ba0077b
7 changed files with 9 additions and 3 deletions

View file

@ -770,6 +770,7 @@
\newcommand*{\subject}[1]{\def\@subject{#1}} \newcommand*{\subject}[1]{\def\@subject{#1}}
\newcommand*{\opening}[1]{\def\@opening{#1}} \newcommand*{\opening}[1]{\def\@opening{#1}}
\newcommand*{\closing}[1]{\def\@closing{#1}} \newcommand*{\closing}[1]{\def\@closing{#1}}
\newcommand*{\signature}[2]{\def\@signature{\includegraphics[scale=#1]{#2}}}
\newcommand*{\enclosure}[2][]{% \newcommand*{\enclosure}[2][]{%
% if an optional argument is provided, use it to redefine \enclname % if an optional argument is provided, use it to redefine \enclname
\ifthenelse{\equal{#1}{}}{}{\renewcommand*{\enclname}{#1}}% \ifthenelse{\equal{#1}{}}{}{\renewcommand*{\enclname}{#1}}%

View file

@ -162,8 +162,9 @@
\recomputecvlengths% \recomputecvlengths%
\setlength{\parskip}{6\p@}} \setlength{\parskip}{6\p@}}
\renewcommand*{\makeletterclosing}{ \renewcommand*{\makeletterclosing}{%
\@closing\\[3em]% \@closing\\[1em]%
\@signature\\%
{\bfseries\@firstname~\@lastname}% {\bfseries\@firstname~\@lastname}%
\ifthenelse{\isundefined{\@enclosure}}{}{% \ifthenelse{\isundefined{\@enclosure}}{}{%
\\% \\%

View file

@ -233,6 +233,7 @@
\renewcommand*{\makeletterclosing}{ \renewcommand*{\makeletterclosing}{
\@closing\\[3em]% \@closing\\[3em]%
\@signature\\%
{\bfseries\@firstname~\@lastname}% {\bfseries\@firstname~\@lastname}%
\ifthenelse{\isundefined{\@enclosure}}{}{% \ifthenelse{\isundefined{\@enclosure}}{}{%
\\% \\%

View file

@ -172,6 +172,7 @@
\renewcommand*{\makeletterclosing}{ \renewcommand*{\makeletterclosing}{
\@closing\\[3em]% \@closing\\[3em]%
\@signature\\%
{\bfseries\@firstname~\@lastname}% {\bfseries\@firstname~\@lastname}%
\ifthenelse{\isundefined{\@enclosure}}{}{% \ifthenelse{\isundefined{\@enclosure}}{}{%
\\% \\%

View file

@ -208,6 +208,7 @@
\renewcommand*{\makeletterclosing}{ \renewcommand*{\makeletterclosing}{
\@closing\\[3em]% \@closing\\[3em]%
\@signature\\%
{\bfseries \@firstname~\@lastname}% {\bfseries \@firstname~\@lastname}%
\ifthenelse{\isundefined{\@enclosure}}{}{% \ifthenelse{\isundefined{\@enclosure}}{}{%
\\% \\%

BIN
signature.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

View file

@ -9,7 +9,7 @@
\documentclass[11pt,a4paper,sans]{moderncv} % possible options include font size ('10pt', '11pt' and '12pt'), paper size ('a4paper', 'letterpaper', 'a5paper', 'legalpaper', 'executivepaper' and 'landscape') and font family ('sans' and 'roman') \documentclass[11pt,a4paper,sans]{moderncv} % possible options include font size ('10pt', '11pt' and '12pt'), paper size ('a4paper', 'letterpaper', 'a5paper', 'legalpaper', 'executivepaper' and 'landscape') and font family ('sans' and 'roman')
% moderncv themes % moderncv themes
\moderncvstyle{classic} % style options are 'casual' (default), 'classic', 'banking', 'oldstyle' and 'fancy' \moderncvstyle{casual} % style options are 'casual' (default), 'classic', 'banking', 'oldstyle' and 'fancy'
\moderncvcolor{blue} % color options 'black', 'blue' (default), 'burgundy', 'green', 'grey', 'orange', 'purple' and 'red' \moderncvcolor{blue} % color options 'black', 'blue' (default), 'burgundy', 'green', 'grey', 'orange', 'purple' and 'red'
%\renewcommand{\familydefault}{\sfdefault} % to set the default font; use '\sfdefault' for the default sans serif font, '\rmdefault' for the default roman one, or any tex font name %\renewcommand{\familydefault}{\sfdefault} % to set the default font; use '\sfdefault' for the default sans serif font, '\rmdefault' for the default roman one, or any tex font name
%\nopagenumbers{} % uncomment to suppress automatic page numbering for CVs longer than one page %\nopagenumbers{} % uncomment to suppress automatic page numbering for CVs longer than one page
@ -258,6 +258,7 @@ Detailed achievements:
\subject{Job application} \subject{Job application}
\opening{Dear Sir or Madam,} \opening{Dear Sir or Madam,}
\closing{Yours faithfully,} \closing{Yours faithfully,}
\signature{0.7}{signature.png} % optional, remove / comment the line if not wanted
\enclosure[Attached]{curriculum vit\ae{}} % use an optional argument to use a string other than "Enclosure", or redefine \enclname \enclosure[Attached]{curriculum vit\ae{}} % use an optional argument to use a string other than "Enclosure", or redefine \enclname
\makelettertitle \makelettertitle