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:
Xavier Danaux
2012-10-30 20:28:06 -04:00
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.

View File

@ -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][]{%

View File

@ -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]%

View File

@ -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]%

View File

@ -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]%