mirror of
https://github.com/moderncv/moderncv.git
synced 2026-02-06 10:05:19 +01:00
Corrected a bug in \makelettertitle of most styles that displayed the current date (\today) instead of the date given through the \date command
This commit is contained in:
parent
7ba9c40a4c
commit
36788d3cb8
13 changed files with 4 additions and 4 deletions
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
|
@ -441,7 +441,7 @@
|
||||||
%-------------------------------------------------------------------------------
|
%-------------------------------------------------------------------------------
|
||||||
% elements
|
% elements
|
||||||
\newcommand*{\recipient}[2]{\def\@recipientname{#1}\def\@recipientaddress{#2}}
|
\newcommand*{\recipient}[2]{\def\@recipientname{#1}\def\@recipientaddress{#2}}
|
||||||
\renewcommand*{\date}[1]{\def\@date{#1}}
|
\renewcommand*{\date}[1]{\def\@date{#1}}\date{\today}
|
||||||
\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*{\enclosure}[2][]{%
|
\newcommand*{\enclosure}[2][]{%
|
||||||
|
|
|
||||||
|
|
@ -272,7 +272,7 @@
|
||||||
% date
|
% date
|
||||||
\hfill % US style
|
\hfill % US style
|
||||||
% \\[1em] % UK style
|
% \\[1em] % UK style
|
||||||
\hbox{\today}\\[2em]% US informal style: "April 6, 2006"; UK formal style: "05/04/2006"
|
\@date\\[2em]% US informal style: "April 6, 2006"; UK formal style: "05/04/2006"
|
||||||
% opening
|
% opening
|
||||||
\raggedright%
|
\raggedright%
|
||||||
\@opening\\[1.5em]%
|
\@opening\\[1.5em]%
|
||||||
|
|
|
||||||
|
|
@ -139,7 +139,7 @@
|
||||||
% date
|
% date
|
||||||
\hfill% US style
|
\hfill% US style
|
||||||
% \\[1em]% UK style
|
% \\[1em]% UK style
|
||||||
\hbox{\today}\\[2em]% US informal style: "April 6, 2006"; UK formal style: "05/04/2006"
|
\@date\\[2em]% US informal style: "April 6, 2006"; UK formal style: "05/04/2006"
|
||||||
% opening
|
% opening
|
||||||
\raggedright%
|
\raggedright%
|
||||||
\@opening\\[1.5em]%
|
\@opening\\[1.5em]%
|
||||||
|
|
|
||||||
|
|
@ -279,7 +279,7 @@
|
||||||
% date
|
% date
|
||||||
\hfill% US style
|
\hfill% US style
|
||||||
% \\[1em]% UK style
|
% \\[1em]% UK style
|
||||||
\hbox{\today}\\[2em]% US informal style: "April 6, 2006"; UK formal style: "05/04/2006"
|
\@date\\[2em]% US informal style: "January 1, 1900"; UK formal style: "01/01/1900"
|
||||||
% opening
|
% opening
|
||||||
\raggedright%
|
\raggedright%
|
||||||
\@opening\\[1.5em]%
|
\@opening\\[1.5em]%
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue