| 1 |
%%%%%%%%%% beletter.cls %%%%%%%%%% |
| 2 |
% This file is public domain |
| 3 |
% This code is unsupported, and comes with no warranty. |
| 4 |
% This class was written by James Kilfiger and Frank Lenaerts, to meet |
| 5 |
% the specifications for formatting Belgium letters recommended by |
| 6 |
% Frank's wife. |
| 7 |
% It can be used in place of the standard LaTeX class |
| 8 |
\NeedsTeXFormat{LaTeX2e} |
| 9 |
\ProvidesClass{beletter}[1999/06/05 Belgium Letter Class] |
| 10 |
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{letter}} |
| 11 |
\ProcessOptions\relax |
| 12 |
\LoadClass{letter} |
| 13 |
% changed the opening |
| 14 |
\renewcommand*{\opening}[1]{% |
| 15 |
\thispagestyle{firstpage}% |
| 16 |
\ifx\@empty\fromaddress |
| 17 |
\else %if there is a from address |
| 18 |
\noindent\begin{tabular}[t]{@{}l@{}}% |
| 19 |
\fromaddress |
| 20 |
\end{tabular}\par% |
| 21 |
\fi |
| 22 |
\noindent\begin{tabular}[t]{@{}l@{}}% |
| 23 |
\toname\\ \toaddress |
| 24 |
\end{tabular}\par |
| 25 |
{\raggedleft\@date\par}% Put the date on a line of it's own |
| 26 |
% \@date\par% |
| 27 |
\vspace{2\parskip}% |
| 28 |
#1\par\nobreak |
| 29 |
\vspace{2\parskip}% |
| 30 |
} |
| 31 |
|
| 32 |
%%% Change these!!, or let babel change them for you. |
| 33 |
\renewcommand*{\ccname}{cc} |
| 34 |
\renewcommand*{\enclname}{} |
| 35 |
\renewcommand*{\pagename}{} |
| 36 |
\renewcommand*{\headtoname}{} |
| 37 |
|
| 38 |
% changed the closing |
| 39 |
\renewcommand{\closing}[1]{\par\nobreak\vspace{\parskip}% |
| 40 |
\stopbreaks |
| 41 |
\vspace{2\parskip}% |
| 42 |
\vspace{2\parskip}% |
| 43 |
\noindent |
| 44 |
% \ifx\@empty\fromaddress\else |
| 45 |
% \hspace*{\longindentation}\fi |
| 46 |
\parbox{\indentedwidth}{\raggedright |
| 47 |
\ignorespaces #1\\[6\medskipamount]% |
| 48 |
\ifx\@empty\fromsig |
| 49 |
\fromname |
| 50 |
\else \fromsig \fi\strut}% |
| 51 |
\par} |
| 52 |
|
| 53 |
\renewcommand*{\cc}[1]{% |
| 54 |
\par\noindent |
| 55 |
\parbox[t]{\textwidth}{% |
| 56 |
\@hangfrom{\normalfont\ccname}% |
| 57 |
\ignorespaces #1\strut}\par} |
| 58 |
\endinput |