summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/akletter
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2006-01-12 23:51:13 +0000
committerKarl Berry <karl@freefriends.org>2006-01-12 23:51:13 +0000
commit9634af03b8e6c8fc7ce1421333c2a166a55df9f9 (patch)
tree52cfc90eaba7a111b185c0f768c216f0e661ca49 /Master/texmf-dist/tex/latex/akletter
parente7c9d98afad45701096e9603611832de1eaa2bec (diff)
akletter
git-svn-id: svn://tug.org/texlive/trunk@653 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/akletter')
-rw-r--r--Master/texmf-dist/tex/latex/akletter/akfax.cfg16
-rw-r--r--Master/texmf-dist/tex/latex/akletter/akletter.cfg247
-rw-r--r--Master/texmf-dist/tex/latex/akletter/akletter.cls802
-rw-r--r--Master/texmf-dist/tex/latex/akletter/myletter.cls23
4 files changed, 1088 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/akletter/akfax.cfg b/Master/texmf-dist/tex/latex/akletter/akfax.cfg
new file mode 100644
index 00000000000..64763a31aff
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/akletter/akfax.cfg
@@ -0,0 +1,16 @@
+%%% Use sans-serif fonts, they are better readable when scaning the
+%%% printed document
+
+\renewcommand{\rmdefault}{cmss}
+\normalfont
+
+\input{akletter.cfg}
+
+%%% Return address
+%%% one line version
+%%% There is no cmss7, use a larger font
+%%% N.B.: There is a ecss0700 use it if you have the EC fonts
+\sbox{\firmreturn}
+ {\underline{\fontsize{8}{10pt}\selectfont
+ \hskip5mm Mein Name \textperiodcentered Meine Stra{\ss}e 1
+ \textperiodcentered D--12345 Meindorf\hskip5mm}}
diff --git a/Master/texmf-dist/tex/latex/akletter/akletter.cfg b/Master/texmf-dist/tex/latex/akletter/akletter.cfg
new file mode 100644
index 00000000000..aa6580c29dc
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/akletter/akletter.cfg
@@ -0,0 +1,247 @@
+\makeatletter
+%% This is myletter.cfg
+%%
+%% You should modify this file to correspond to
+%% the site where it is used.
+%% It may be a good idea to input this file into the
+%% the personal configuration file.
+%% Thus only names have to be redefined, the official
+%% letterhead is kept in this file and changes for everyone
+%% when the masterfile is changed.
+%%
+%% You may include logos and other graphic-material into
+%% your letterhead:
+%%
+%%\RequirePackage[dvips]{graphics}
+
+%% You may redefine the following variables
+%%
+
+%\renewcommand*{\yourrefname} {Ihr Zeichen:}
+%\renewcommand*{\yourmailname} {Ihr Schreiben vom:}
+%\renewcommand*{\myrefname} {Unser Zeichen:}
+%\renewcommand*{\mymailname} {Unser Schreiben vom:}
+%\renewcommand*{\customername} {Kundennummer }
+%\renewcommand*{\invoicename} {Rechnungsnummer }
+%\renewcommand*{\subjectname} {} %{Betr.}
+%\renewcommand*{\ccname} {Kopien an:}
+%\renewcommand*{\enclname} {Anlagen:}
+%\renewcommand*{\headtoname} {An}
+%\renewcommand*{\datename} {Datum}
+%\renewcommand*{\pagename} {Seite}
+%\renewcommand*{\telephonename} {Telefon}
+%\renewcommand*{\telefaxname} {FAX}
+
+% This may be neccessary for babel:
+
+% \let\savedcaptions\captionsgerman
+% \def\captionsgerman{\savedcaptions
+% \renewcommand*{\myrefname} {Mein Zeichen:}
+% }
+
+
+%%% Top of first page: left
+\sbox{\FIRM}
+ {\parbox[t]{\leftfield}
+ {\bfseries\fontsize{17.28}{22pt}\selectfont%
+ Mein Name\hfill}}
+
+%%% Top of every other page
+\sbox{\firm}
+ {\fontsize{10}{12pt}\selectfont\normalfont
+ Mein Name}
+
+%% The normal page-layout for the following page does not contain a
+%% footer. In fact the layout is rather primitive. So if you want to
+%% include some fancy text, your corporate logo or whatever, you have
+%% to redefine the pagestyle. You may have to adjust the textheight if
+%% the footer becomes too large. Of course you can use fancyhdr or
+%% scrpage if you need a more powerful tool.
+
+% \if@twoside % Twoside definition
+% \def\ps@headings{%
+% \def\@oddfoot{\hfil Text on the odd page}
+% \def\@evenfoot{Text on the even page\hfil}
+% \def\@oddhead{\usebox{\firm}
+% \headfont\hfil\@date\hfil\pagename\ \pnumfont\thepage}%
+% \let\@evenhead\@oddhead}
+% \else % Oneside definition
+% \def\ps@headings{%
+% \def\@oddfoot{\hfil Text for one-side layout\hfill}
+% \def\@oddhead{\usebox{\firm}
+% \headfont\hfil\@date\hfil\pagename\ \pnumfont\thepage}}
+% \fi
+
+
+%%% Top of first page: right
+\sbox{\firmaddress}
+% Use either Text:
+ {\parbox[t]{\rightfield}{%
+ \fontsize{9}{10pt}\selectfont\normalfont
+ Meine Stra{\ss}e 1\\ 12345 Meindorf}}
+% or graphic:
+%{\includegraphics{ourlogo}}
+
+%% and remember to adjust FIRM and firmaddress:
+
+%%% Top of first page: left + right
+%%% You may want to adjust the raisebox
+\sbox{\FIRMHEAD}
+ {\usebox{\FIRM}\raisebox{3mm}{\usebox{\firmaddress}}}
+
+%%% Return address
+%%% one line version
+\sbox{\firmreturn}
+ {\underline{\fontsize{7}{8pt}\selectfont
+ \hskip5mm Mein Name \textperiodcentered Meine Stra{\ss}e 1
+ \textperiodcentered D--12345 Meindorf\hskip5mm}}
+
+%%% two line version
+%\sbox{\firmreturn}
+% {\underline{
+% \slshape\fontsize{7}{8pt}\selectfont
+% \hskip3mm\parbox{65mm}
+% {\makebox[65mm][c]
+% {Fachschaft -- Maschinenbau \textperiodcentered
+% \mbox{\raise .75ex \hbox{c}\kern -.15em /\kern -.125em
+% \smash{\lower .3ex \hbox{o}}}
+% AStA TU Braunschweig}
+% \makebox[65mm][c]
+% {Katharinenstra{\ss}e 1 \textperiodcentered D--38106 Braunschweig}}
+% \hskip3mm}}
+
+%%% Firstpage footer
+%%% The code should be controlled by @banklo
+\sbox{\firmfoot}
+ {\fontsize{9}{11pt}\selectfont
+%%% The following line may look nice in a FAX.CFG :-)
+%%% If you have a bad telephone-line try snail-mail!\\
+ \if@banklo
+ \ifnum\language = \l@german
+ Bankverbindung:
+ \hspace{5mm}
+ \parbox[t]{\rightfield}{\raggedright
+ Undeutsche Landesbank Frankfurt,
+ BLZ~123\,456\,78, Konto~1\,111\,007\\}%
+ \hspace{5mm}
+ \parbox[t]{\rightfield}{\raggedright
+ Die Sparkasse Meindorf,
+ BLZ~007\,123\,10, Konto~08\,15\\}
+ \fi
+ \fi}
+
+%%% Text displayed below the header on the right side
+%%% This should be controlled by @bankhi
+%%% This is the only place that will be re-evaluated for
+%%% every letter! Everything that changes for different
+%%% letters (in the same document) must go either here
+%%% or in the ref-line.
+\newcommand{\rightbox}%
+ {\parbox[t]{\rightfield}%
+ {\fontsize{9}{11pt}\selectfont
+ \raggedright
+ \ifx\fromname\@empty
+ \else
+ \ifnum \language = \l@german
+ Sachbearbeiter:
+ \fi
+ \fromname\\
+ \fi
+ \ifx\telephonenum\@empty
+ \ifnum \language = \l@german
+ \telephonename: 040 / 44\,17\,77
+ \else
+ \telephonename: 49--40--44\,17\,77
+ \fi
+ \else
+ \telephonename: \telephonenum
+ \fi\\[1.5ex]
+ \ifx\telefaxnum\@empty
+ \ifnum \language = \l@german
+ \telefaxname: 040 / 44\,17\,77
+ \else
+ \telefaxname: 49--40--44\,17\,77
+ \fi
+ \else
+ \telefaxname: \telefaxnum
+ \fi\\[1.5ex]
+ \ifx\@email\@empty
+ e-mail: Mein-Name@ insert.your.domain.here
+ \else
+ e-mail: \@email
+ \fi\\[1.5ex]
+ \if@bankhi
+ \ifnum \language = \l@german
+ Bankverbindung:\\[1ex]
+ Undeutsche Landesbank Frankfurt,
+ BLZ~123\,456\,78, Konto~1\,111\,007\\[.5ex]
+ Die Sparkasse L\"uneburg,
+ BLZ~007\,123\,10, Konto~08\,15 \\[.5ex]
+ \fi
+ \fi
+
+
+ %% Finally fixed it!
+ %% If you want to have the date here, set the
+ %% rightdate options.
+ %% (With a big excuse to Markus and many others, who
+ %% had to wait that long)
+ \if@rightdate
+ \vspace{0.5ex}
+ \normalsize\@date
+ \fi
+ }}
+
+
+%% The labels defined in myletter.cls are what my printer likes:
+%% Onecolumn, 100mm * 50mm, 3mm separation.
+%% If you have different lables edit here:
+
+%\renewcommand*{\startlabels}{\labelcount\z@
+% \pagestyle{empty}
+% \let\@texttop\relax
+% \setlength\parsep {0\p@}
+%% The margins are calculated from the 1in,1in point,
+%% thus negative values if the margins schould be smaller
+% \topmargin -60\p@
+% \headsep \z@
+% \oddsidemargin -35\p@
+% \evensidemargin -35\p@
+% \textheight 10in
+% \@colht\textheight \@colroom\textheight \vsize\textheight
+% \textwidth 550\p@
+% You may have to increase columnsep if you use twocolumn labels
+% This is what letter.cls uses.
+% \columnsep 26\p@
+% This does almost nothing since there is an explicit fontsize-command
+% in the text written.
+% \ifcase \@ptsize\relax
+% \normalsize
+% \or
+% \small
+% \or
+% \footnotesize
+% \fi
+% \baselineskip \z@
+% \lineskip \z@
+% \boxmaxdepth \z@
+% \parindent \z@
+% This is obvious, isn't it?
+% \twocolumn
+% \relax}
+
+%% This is how the label printed will look like.
+%% Note that specialmail will be written to the .aux-file
+%% when the letter is processed. The width used here is
+%% what letter.cls uses.
+
+%\renewcommand*{\mlabel}[2]{%
+% \parbox[b][2in][c]{3in}{%
+% \strut\ignorespaces\usebox{\firmreturn}\\
+% \fontsize{12}{14pt}\selectfont
+% \parbox[t][1.2in][c]{3in}{#2}
+% }\par%
+%}
+
+\makeatother
+\endinput
diff --git a/Master/texmf-dist/tex/latex/akletter/akletter.cls b/Master/texmf-dist/tex/latex/akletter/akletter.cls
new file mode 100644
index 00000000000..d214c81e2bc
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/akletter/akletter.cls
@@ -0,0 +1,802 @@
+%% This is file `akletter.cls'
+%% Copyright 1994 - 99 by Axel Kielhorn
+%%
+%% This program can be redistributed and/or modified under the terms
+%% of the LaTeX Project Public License Distributed from CTAN
+%% archives in directory macros/latex/base/lppl.txt; either
+%% version 1 of the License, or any later version.
+%%
+%% IMPORTANT NOTICE:
+%%
+%% For error reports in case of UNCHANGED versions contact
+%% A.Kielhorn@web.de
+%%
+%% International Version 1.5g
+%% Synced with LaTeX2e letter.dtx v1.2z [1999/02/09]
+%%
+%% Anything you may want to configure should go into
+%% the .cfg file. See akletter.cfg as example
+%%
+%% \CharacterTable
+%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
+%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
+%% Digits \0\1\2\3\4\5\6\7\8\9
+%% Exclamation \! Double quote \" Hash (number) \#
+%% Dollar \$ Percent \% Ampersand \&
+%% Acute accent \' Left paren \( Right paren \)
+%% Asterisk \* Plus \+ Comma \,
+%% Minus \- Point \. Solidus \/
+%% Colon \: Semicolon \; Less than \<
+%% Equals \= Greater than \> Question mark \?
+%% Commercial at \@ Left bracket \[ Backslash \\
+%% Right bracket \] Circumflex \^ Underscore \_
+%% Grave accent \` Left brace \{ Vertical bar \|
+%% Right brace \} Tilde \~}
+\NeedsTeXFormat{LaTeX2e}[1995/12/01]
+\ProvidesClass{akletter}
+ [2003/05/31 v1.5i
+ LaTeX letter class]
+\newcommand\@ptsize{}
+%%
+%% \changes{1.5h}{2000/05/07}{Added support for different
+%% papersizes.}
+%%
+\newlength\aktextwidth
+\newlength\aktextheight
+\newlength\akoffsetwidth
+%% \changes{1.5h}{2000/05/28}{The foldmarks depend on the papersize.}
+\newdimen\foldhskip
+\newdimen\foldvskipi
+\newdimen\foldvskipii
+\newdimen\foldvskipiii
+\setlength\akoffsetwidth {0pt}
+\setlength\foldhskip {3mm}
+\setlength\foldvskipi {62mm}
+\setlength\foldvskipiii {47.5mm}
+
+\DeclareOption{a4paper}
+ {\setlength\paperheight {297mm}%
+ \setlength\paperwidth {210mm}%
+ \setlength\aktextwidth {456\p@}%
+ \setlength\aktextheight {650\p@}%
+ \setlength\foldvskipii {50mm}}
+\DeclareOption{a4offset}
+ {\setlength\paperheight {297mm}%
+ \setlength\paperwidth {210mm}%
+ \setlength\aktextwidth {432\p@}%
+ \setlength\aktextheight {650\p@}%
+ \setlength\akoffsetwidth{24pt}%
+ \setlength\foldvskipii {50mm}}
+\DeclareOption{a5paper}
+ {\ClassError{akletter}
+ {Sorry, only a4paper supported!}
+ {If you tell me how to calculate the right margins,\MessageBreak
+ I will add different paper sizes}}
+\DeclareOption{b5paper}
+ {\ClassError{akletter}
+ {Sorry, only a4paper supported!}
+ {If you tell me how to calculate the right margins,\MessageBreak
+ I will add different paper sizes}}
+\DeclareOption{letterpaper}
+ {\setlength\paperheight {11in}%
+ \setlength\paperwidth {8.5in}%
+ \setlength\aktextwidth {468\p@}%
+ \setlength\aktextheight {610\p@}%
+ \setlength\foldvskipii {44mm}}
+\DeclareOption{legalpaper}
+ {\ClassError{akletter}
+ {Sorry, only a4paper and letterpaper supported!}
+ {If you tell me how to calculate the right margins,\MessageBreak
+ I will add different paper sizes}}
+\DeclareOption{executivepaper}
+ {\ClassError{akletter}
+ {Sorry, only a4paper and letterpaper supported!}
+ {If you tell me how to calculate the right margins,\MessageBreak
+ I will add different paper sizes}}
+\DeclareOption{landscape}
+ {\ClassError{akletter}
+ {Sorry, landscape not supported!}
+ {If you tell me how to calculate the right margins,\MessageBreak
+ I will add different paper sizes}}
+\DeclareOption{10pt} {\renewcommand \@ptsize{0}}
+\DeclareOption{11pt} {\renewcommand \@ptsize{1}}
+\DeclareOption{12pt} {\renewcommand \@ptsize{2}}
+\DeclareOption{twoside} {\@twosidetrue \@mparswitchtrue}
+\DeclareOption{oneside} {\@twosidefalse\@mparswitchfalse}
+\DeclareOption{draft} {\setlength\overfullrule{5pt}}
+\DeclareOption{final} {\setlength\overfullrule{0pt}}
+\DeclareOption{leqno} {\input{leqno.clo}}
+\DeclareOption{fleqn} {\input{fleqn.clo}}
+\newif\if@bankhi \@bankhifalse
+\newif\if@banklo \@banklofalse
+\newif\if@fold \@foldtrue
+%%
+%% \changes{1.5a}{1996/05/02}{Added some more Options: \cs{refdate}
+%% \cs{subjectdate}\cs{rightdate}}
+%%
+\newif\if@refdate \@refdatefalse
+\newif\if@subjectdate \@subjectdatefalse
+\newif\if@rightdate \@rightdatefalse
+\DeclareOption{refdate} {\@rightdatefalse\@refdatetrue\@subjectdatefalse}
+\DeclareOption{subjectdate} {\@rightdatefalse\@refdatefalse\@subjectdatetrue}
+\DeclareOption{rightdate} {\@rightdatetrue\@refdatefalse\@subjectdatefalse}
+
+\DeclareOption{foldmarks} {\@foldtrue}
+\DeclareOption{nofoldmarks}{\@foldfalse}
+\DeclareOption{bankhigh} {\@bankhitrue}
+\DeclareOption{banklow} {\@banklotrue}
+%%
+%% \changes{1.5i}{2003/01/23}{Added new Option: \cs{reverseaddr} for those
+%% countries where the recipient address appears on the right.}
+%%
+\newif\if@reverseaddr \@reverseaddrfalse
+\DeclareOption{reverseaddr}{\@reverseaddrtrue}
+\ExecuteOptions{subjectdate,a4paper,11pt,oneside,nofoldmarks,onecolumn,final}
+\ProcessOptions
+\input{size1\@ptsize.clo}
+\setlength\lineskip {1\p@}
+\setlength\normallineskip {1\p@}
+\renewcommand\baselinestretch{}
+\setlength\parskip {0.7em}
+\setlength\parindent {0\p@}
+\@lowpenalty 51
+\@medpenalty 151
+\@highpenalty 301
+\setlength\headheight {12\p@}
+\setlength\headsep {45\p@}
+\setlength\footskip {25\p@}
+%%
+%% \changes{1.5h}{2000/05/07}{Added support for different
+%% papersizes}
+%%
+%% Restoring the original textwidth and textheight, they are
+%% calculated by size1[012].clo.
+%%
+\setlength{\textwidth} {\aktextwidth}
+\setlength{\textheight} {\aktextheight}
+
+%% \changes{1.5h}{2000/05/07}{Cleaned up the calculation of the
+%% margins, added offset.}
+%%
+%% Calculation of margins
+%% This works for
+%% a4paper
+%% a4offset
+%% letterpaper
+%%
+\setlength{\@tempdima} {\paperwidth}
+\addtolength{\@tempdima} {-\textwidth}
+\setlength\oddsidemargin {.5\@tempdima}
+%% Correction for DVI-driver
+\addtolength{\oddsidemargin}{-1in}
+\setlength\evensidemargin {\oddsidemargin}
+%% Add offset for a4offset
+\addtolength\oddsidemargin {\akoffsetwidth}
+\addtolength\evensidemargin{-\akoffsetwidth}
+\setlength\marginparwidth {60\p@}
+\setlength\marginparsep {11\p@}
+\setlength\marginparpush {5\p@}
+\setlength\topmargin {-35\p@}
+\setlength\footnotesep {12\p@}
+\setlength{\skip\footins} {10\p@ \@plus 2\p@ \@minus 4\p@}
+\newlength{\rightfield}
+\newlength{\leftfield}
+\setlength{\rightfield} {42mm}
+\setlength{\leftfield} {\textwidth}
+\addtolength{\leftfield} {-\rightfield}
+%%
+%% \changes{1.5a}{1996/05/02}{Defined a new length
+%% \cs{addfieldindent}. Set to 0mm for compatibility}
+
+\newlength{\addrfieldindent}
+\setlength{\addrfieldindent}{0mm}
+%%
+%% \changes{1.5i}{2003/01/26}{Defined three new lengths
+%% \cs{addfieldsep, \cs{datefieldsep} and \cs{openingsep}.
+%% The new default values differ slightly from the 1.5 h
+%% settings.
+%%
+\newlength{\addrfieldsep}
+\setlength{\addrfieldsep}{16pt}
+\newlength{\datefieldsep}
+\setlength{\datefieldsep}{24pt}
+\newlength{\openingsep}
+\setlength{\openingsep}{24pt}
+
+\newsavebox{\FIRM}
+\newsavebox{\firm}
+\newsavebox{\firmaddress}
+\newsavebox{\FIRMHEAD}
+\newsavebox{\firmreturn}
+\newsavebox{\firmfoot}
+
+%%
+%% \changes{1.5e}{1998\02\24}{Defined some new fonts for easier
+%% customization: \cs{\pnumfont}, \cs{\headfont}, \cs{\reffont}
+%% and \cs{\reftextfont}}
+%%
+\newcommand*\pnumfont {\normalfont}
+\newcommand*\headfont {\slshape}
+\newcommand*\reffont {\normalfont}
+\newcommand*\reftextfont{\normalfont}
+
+\def\@foldmarks{\if@fold \bgroup
+ \reversemarginpar
+ \vspace{\foldvskipi}\marginpar{\hspace{\foldhskip}\rule{2mm}{.2pt}}
+ \vspace{\foldvskipii}\marginpar{\hspace{\foldhskip}\rule{4mm}{.2pt}}
+ \vspace{\foldvskipiii}\marginpar{\hspace{\foldhskip}\rule{2mm}{.2pt}}
+ \vspace{-\foldvskipiii}\vspace{-\foldvskipii}\vspace{-\foldvskipi}
+ \egroup \fi}
+
+
+%% Defining the language-depending variables
+%% Compatible to scrlettr.cls
+%% You can still redefine them in the cfg-file
+
+\AtBeginDocument{%
+ \def\captionsenglish{%
+ \def\yourrefname {Your ref.:}
+ \def\yourmailname {Your letter of:}
+ \def\myrefname {Our ref.:}
+ \def\mymailname {Our letter of:}
+ \def\customername {Customer no.}
+ \def\invoicename {Invoice no.}
+ \def\subjectname {Subject: }
+ \def\ccname {cc: }
+ \def\enclname {encl: }
+ \def\headtoname {To}
+ \def\datename {Date}
+ \def\pagename {Page}
+ \def\telephonename {Telephone}
+ \def\telefaxname {Telefax}}
+ \let\captionsUSenglish=\captionsenglish
+ \def\captionsgerman{%
+ \def\yourrefname {Ihr Zeichen:}
+ \def\yourmailname {Ihr Schreiben vom:}
+ \def\myrefname {Unser Zeichen:}
+ \def\mymailname {Unser Schreiben vom:}
+ \def\customername {Kundennummer}
+ \def\invoicename {Rechnungsnummer}
+ \def\subjectname {}
+ \def\ccname {Kopien an: }
+ \def\enclname {Anlagen: }
+ \def\headtoname {An}
+ \def\datename {Datum}
+ \def\pagename {Seite}
+ \def\telephonename {Telefon}
+ \def\telefaxname {FAX}}
+ \let\captionsaustrian=\captionsgerman
+ \def\captionsfrench{%
+ \def\yourrefname {Vos r\'ef\'erences:}
+ \def\yourmailname {Votre lettre du:}
+ \def\myrefname {Nos r\'ef\'erences:}
+ \def\mymailname {Nos lettre du:}
+ \def\customername {Num\'ero de client}
+ \def\invoicename {Num\'ero de facture}
+ \def\subjectname {Concernant: }
+ \def\ccname {Copie \`a: }
+ \def\enclname {Annexes: }
+ \def\headtoname {A}
+ \def\datename {Date}
+ \def\pagename {Page}
+ \def\telephonename {Telephone}
+ \def\telefaxname {Telefax}}
+ \def\captionsdanish{%
+ \def\yourrefname {Deres ref.:}
+ \def\yourmailname {Deres brev af:}
+ \def\myrefname {Vor ref.:} % or Vores ref.:
+ \def\mymailname {Vort brev af:} % or Vores brev af:
+ \def\customername {Kundenr.}
+ \def\invoicename {Invoice no.}
+ \def\subjectname {Ang{\aa}ende: }
+ \def\ccname {kopi til: } % or kopi sendt til:
+ \def\enclname {vedlagt: }
+ \def\headtoname {Til}
+ \def\datename {Dato}
+ \def\pagename {Side}
+ \def\telephonename {Telefon}
+ \def\telefaxname {Telefax}}
+
+ \def\dateenglish{\def\today{\number\day/\number\month/\number\year}}
+ \def\dateUSenglish{\def\today{\number\month/\number\day/\number\year}}
+ \def\dategerman{\def\today{\number\day.\,\number\month.\,\number\year}}
+ \def\dateiso{\def\today{\number\year--\number\month--\number\day}}
+ \let\dateaustrian=\dategerman
+ \let\datefrench=\dategerman
+%% Set captions and date to US-english, we can change them later
+ \captionsUSenglish
+ \dateUSenglish
+ \ifx\l@USenglish\undefined
+ \chardef\l@USenglish=255
+ \else\ifnum\language=\l@USenglish
+ \captionsUSenglish
+ \dateUSenglish
+ \fi\fi
+ \ifx\l@german\undefined
+ \chardef\l@german=255
+ \else\ifnum\language=\l@german
+ \captionsgerman
+ \dategerman
+ \fi\fi
+ \ifx\l@austrian\undefined
+ \chardef\l@austrian=255
+ \else\ifnum\language=\l@austrian
+ \captionsgerman
+ \dategerman
+ \fi\fi
+ \ifx\l@french\undefined
+ \chardef\l@french=255
+ \else\ifnum\language=\l@french
+ \captionsfrench
+ \datefrench
+ \fi\fi
+ \input{\username.cfg}
+}
+
+\if@twoside
+ \def\ps@headings{%
+ \let\@oddfoot\@empty
+ \let\@evenfoot\@empty
+ \def\@oddhead{\usebox{\firm}
+ \headfont\hfil\@date\hfil\pagename\ \pnumfont\thepage}%
+ \let\@evenhead\@oddhead}
+\else
+ \def\ps@headings{%
+ \let\@oddfoot\@empty
+ \def\@oddhead{\usebox{\firm}
+ \headfont\hfil\@date\hfil\pagename\ \pnumfont\thepage}}
+\fi
+\def\ps@empty{%
+ \let\@oddfoot\@empty\let\@oddhead\@empty
+ \let\@evenfoot\@empty\let\@evenhead\@empty
+ }
+\def\ps@firstpage{%
+ \setlength{\topmargin}{-35\p@}
+ \setlength{\headheight}{36\p@}
+ \setlength{\headsep}{15\p@}
+ \let\@evenhead\@empty \let\@evenfoot\@empty
+ \def\@oddhead{\parbox{\textwidth}{\usebox{\FIRMHEAD}}}
+ \def\@oddfoot{\parbox{\textwidth}{\usebox{\firmfoot}}}
+ \settoheight{\footskip}{\parbox{\textwidth}{\usebox{\firmfoot}}}
+ \addtolength{\footskip}{20pt}
+ }
+\def\ps@plain{%
+ \let\@oddhead\@empty\let\@evenhead\@empty
+ \def\@oddfoot{\hfil\pnumfont\thepage\hfil}%
+ \def\@evenfoot{\hfil\pnumfont\thepage\hfil}
+ }
+\newcommand*{\usename}[1] {\def\username{#1}}
+\newcommand*{\name}[1] {\def\fromname{#1}}
+\newcommand*{\signature}[1]{\def\fromsig{#1}}
+\newcommand*{\telephone}[1]{\def\telephonenum{#1}}
+\newcommand*{\telefax}[1] {\def\telefaxnum{#1}}
+\def\username{akletter} %% 1996/05/01 -ak-
+\def\fromname{}
+\def\fromsig{\fromname}
+\def\telephonenum{}
+\def\telefaxnum{}
+
+\newcommand*{\makelabels}{%
+ \AtBeginDocument{%
+ \let\@startlabels\startlabels
+ \let\@mlabel\mlabel
+ \if@filesw
+ \immediate\write\@mainaux{\string\@startlabels}\fi}%
+ \AtEndDocument{%
+ \if@filesw\immediate\write\@mainaux{\string\clearpage}\fi}}
+\@onlypreamble\makelabels
+
+\def\adrentry#1#2#3#4#5#6#7#8{\ifx #8\@empty \else
+ \ifx #2\@empty
+ \expandafter\def\csname #8\endcsname{#1\\#3}
+ \else
+ \expandafter\def\csname #8\endcsname{#2 #1\\#3}
+ \fi \fi}
+\def\adrchar#1{}
+
+\newenvironment{letter}[1]
+ {\newpage
+ \if@twoside
+ \ifodd\c@page
+ \else
+ \thispagestyle{empty}\null\newpage
+ \fi
+ \fi
+ \c@page\@ne
+%% \changes{1.5f}{1999\02\21}{Quick fix for footnotes}
+ \c@footnote\z@%
+ \interlinepenalty=200 % smaller than the TeXbook value
+ \@processto{\leavevmode\ignorespaces #1}}
+ {\stopletter\@@par\pagebreak\@@par
+ \if@filesw
+ \begingroup
+ \let\\=\relax
+ \let\protect\@unexpandable@protect
+ \immediate\write\@auxout{%
+ \string\@mlabel{}{%
+ \ifx\@specialmail\@empty
+ \else
+ {\bfseries\@specialmail}\\[1ex]
+ \fi
+ \toname\\\toaddress}}%
+ \endgroup
+ \fi}
+\long\def\@processto#1{%
+ \@xproc #1\\@@@%
+ \ifx\toaddress\@empty
+ \else
+ \@yproc #1@@@
+ \fi}
+\long\def\@xproc #1\\#2@@@{\def\toname{#1}\def\toaddress{#2}}
+\long\def\@yproc #1\\#2@@@{\def\toaddress{#2}}
+\newcommand*{\stopbreaks}{%
+ \interlinepenalty\@M
+ \def\par{\@@par\nobreak}
+ \let\\=\@nobreakcr
+ \let\vspace\@nobreakvspace}
+%%
+%% \changes{1.5d}{1997\02\14}{Made robust}
+%%
+\DeclareRobustCommand\@nobreakvspace
+ {\@ifstar\@nobreakvspacex\@nobreakvspacex}
+\def\@nobreakvspacex#1{%
+ \ifvmode
+ \nobreak\vskip #1\relax
+ \else
+ \@bsphack\vadjust{\nobreak\vskip #1}\@esphack
+ \fi}
+
+\def\@nobreakcr{\@ifstar{\@normalcr*}{\@normalcr*}}
+
+\newcommand*{\startbreaks}{%
+ \let\\\@normalcr
+ \interlinepenalty 200%
+ \def\par{\@@par\penalty 200\relax}}
+
+\newcommand{\@addrfield}{%
+ \mbox{}\kern\addrfieldindent%
+%%
+%% \changes{1.5i}{2003/01/26}{Added negative skip to firmreturn,
+%% size of addrfield limited to 8 cm (width of window in envelope)}
+%%
+ \parbox[t]{8cm}{%
+ \usebox{\firmreturn}\\[-6pt]%
+ \parbox[t][3.5cm][c]{8cm}%
+ {\fontsize{12}{14pt}\selectfont
+ \ifx\@specialmail\@empty
+ \else
+ {\bfseries\@specialmail}\\[1ex]
+ \fi
+ \toname\\
+ \toaddress
+ }%
+ }%
+}
+
+%% \changes{1.5a}{1996/05/02}{Cleaned up the \cs{datefield} command}
+%% \changes{1.5b}{1996/06/20}{Added space between the entries}
+
+\newcommand{\@datefield}{%
+\if@refdate
+%% The reference-line 5 item format
+ \makebox[\textwidth][l]{%
+ \@yref \vspace{0.02\textwidth}%
+ \@ymail \vspace{0.02\textwidth}%
+ \@myref \vspace{0.02\textwidth}%
+ \@mymail \hfill \@dateref
+ }\\[7mm]
+\else
+%% \changes{1.5b}{1996/06/20}{Added reference line for date-formats \neq
+%% refdate.}
+%% The reference-line 4 item format
+ \makebox[\textwidth][l]{%
+ \@yref \vspace{0.02\textwidth}%
+ \@ymail \vspace{0.02\textwidth}%
+ \@myref \vspace{0.02\textwidth}%
+ \@mymail
+ }\\[7mm]
+\fi
+\if@subjectdate
+ \setlength{\@tempdima}{\leftfield}
+\else
+ \setlength{\@tempdima}{\textwidth}
+\fi
+%% The subject-line
+\ifx\@subject\@empty
+ \makebox[\@tempdima]{}%
+\else
+%% \changes{1.5c}{1996/10/14}{Added \% to prevent overfull hbox}
+ \parbox[l]{\@tempdima}{\@subject}%
+\fi
+\if@subjectdate
+%% \changes{1.5e}{1998/03/25}{Added missing \cs{hfill}}
+ \hfill\makebox[\rightfield][r]{\@date}
+\fi%
+\\[1ex]
+%% I don't like the following ...
+\ifx\@customer\@empty
+\else
+ \parbox[l]{\@tempdima}{\@customer}\\%
+\fi%
+\ifx\@invoice\@empty
+\else
+ \parbox[l]{\@tempdima}{\@invoice}\\%
+\fi%
+}
+
+%% \changes{1.5c}{1996/10/14}{Added some \%s to remove underfull hbox warning
+%% and correct setting of argument}
+%% \changes{1.5i}{2003/01/26}{Added hfill between addrfield and rightbox.
+%% Added support for reverseaddr. Changed fix vertical space to parameter.}
+\newcommand*{\opening}[1]{%
+ \thispagestyle{firstpage} \null \@foldmarks%
+ \vspace*{\addrfieldsep}%
+ \if@reverseaddr
+ \rightbox\hfill\@addrfield\par
+ \else
+ \@addrfield\hfill\rightbox\par
+ \fi
+ \vspace{\datefieldsep}
+ \@datefield\null\par%
+ \vspace{\openingsep}%
+ #1\par\nobreak
+}
+
+\newcommand{\closing}[1]{\par\vspace{\parskip}%
+ \stopbreaks
+ \noindent
+ \parbox{\textwidth}{\raggedright
+ \ignorespaces #1\par
+ \vspace{6\medskipamount}%
+ \fromsig
+ \strut}%
+ \par}
+\medskipamount=\parskip
+\newcommand*{\cc}[1]{%
+ \par\noindent
+ \parbox[t]{\textwidth}{%
+ \@hangfrom{\normalfont\ccname }%
+ \ignorespaces #1\strut}\par}
+\newcommand*{\encl}[1]{%
+ \par\noindent
+ \parbox[t]{\textwidth}{%
+ \@hangfrom{\normalfont\enclname }%
+ \ignorespaces #1\strut}\par}
+\newcommand*{\ps}{\par\startbreaks}
+\newcommand*{\stopletter}{}
+
+%%
+%% The definitions below are compatible to DIN 676,
+%% you may change them in the cfg-file
+%%
+%% \changes{1.5b}{1996/06/20}{Reduces width of parbox and added space
+%% to the reference-line}
+%% \changes{1.5b}{1996/06/20}{Added \cs{raggedright} to the entries}
+%% \changes{1.5e}{1998/02/24}{Added \cs{reffont} and \cs{reftextfont}
+%% to the entries}
+
+\if@refdate
+ \def\yref#1{\def\@yref{\parbox[t]{.18\textwidth}
+ {\reffont\scriptsize \yourrefname\\
+ \reftextfont\raggedright\normalsize #1}}}
+ \def\ymail#1{\def\@ymail{\parbox[t]{.18\textwidth}
+ {\reffont\scriptsize \yourmailname\\
+ \reftextfont\raggedright\normalsize #1}}}
+ \def\myref#1{\def\@myref{\parbox[t]{.18\textwidth}
+ {\reffont\scriptsize \myrefname\\
+ \reftextfont\raggedright\normalsize #1}}}
+ \def\mymail#1{\def\@mymail{\parbox[t]{.18\textwidth}
+ {\reffont\scriptsize \mymailname\\
+ \reftextfont\raggedright\normalsize #1}}}
+\else
+ \def\yref#1{\def\@yref{\parbox[t]{.23\textwidth}
+ {\reffont\scriptsize \yourrefname\\
+ \reftextfont\raggedright\normalsize #1}}}
+ \def\ymail#1{\def\@ymail{\parbox[t]{.23\textwidth}
+ {\reffont\scriptsize \yourmailname\\
+ \reftextfont\raggedright\normalsize #1}}}
+ \def\myref#1{\def\@myref{\parbox[t]{.23\textwidth}
+ {\reffont\scriptsize \myrefname\\
+ \reftextfont\raggedright\normalsize #1}}}
+ \def\mymail#1{\def\@mymail{\parbox[t]{.23\textwidth}
+ {\reffont\scriptsize \mymailname\\
+ \reftextfont\raggedright\normalsize #1}}}
+\fi
+
+\def\@dateref{\parbox[t]{.2\textwidth}
+ {\reffont\scriptsize \@refdatename\ \\
+ \reftextfont\normalsize \@date}}
+
+\def\refdatename#1{\def\@refdatename{#1}}
+\def\@refdatename {}
+
+\def\subject#1{\def\@subject{%
+\ifx\subjectname\@empty
+ \bfseries #1
+\else
+ \@hangfrom{\subjectname\ }\bfseries #1
+\fi
+}}
+
+%% This is an experimental feature -ak- 1995/10/22
+
+\def\invoice#1{\def\@invoice{%
+ \invoicename\ \bfseries #1
+ }}
+
+\def\customer#1{\def\@customer{%
+ \customername\ \bfseries #1
+ }}
+
+\def\@invoice {}
+\def\@customer{}
+
+\def\@yref {} \def\@ymail {}
+\def\@myref {} \def\@mymail{}
+\def\@subject{}
+\def\@refdate{}
+
+\def\specialmail#1{\def\@specialmail{#1}}
+\def\email#1 {\def\@email{#1}}
+\def\mailbox#1 {\def\@mailbox{#1}}
+\def\@specialmail {}
+\def\@email {}
+\def\@mailbox {}
+
+\newcount\labelcount
+\newcommand*{\startlabels}{\labelcount\z@
+ \pagestyle{empty}%
+ \let\@texttop\relax
+%% \changes{1.5f}{1999/02/21}{Adjusted parsep for labels: Default is no
+%% separation between labels}
+ \setlength\parsep {0\p@}
+ \topmargin -60\p@
+ \headsep \z@
+ \oddsidemargin -35\p@
+ \evensidemargin -35\p@
+ \textheight 10in
+ \@colht\textheight \@colroom\textheight \vsize\textheight
+ \textwidth 550\p@
+ \columnsep 26\p@
+ \ifcase \@ptsize\relax
+ \normalsize
+ \or
+ \small
+ \or
+ \footnotesize
+ \fi
+ \baselineskip \z@
+ \lineskip \z@
+ \boxmaxdepth \z@
+ \parindent \z@
+ %\twocolumn
+ \relax}
+\let\@startlabels=\relax
+\newcommand*{\mlabel}[2]{%
+ \parbox[b][2in][c]{3in}{%
+ \strut\ignorespaces\usebox{\firmreturn}\\
+ \fontsize{12}{14pt}\selectfont
+ \parbox[t][1.2in][c]{3in}{#2}
+ }\par%
+}
+
+\let\@mlabel=\@gobbletwo
+\setlength\leftmargini {2.5em}
+\setlength\leftmarginii {2.2em}
+\setlength\leftmarginiii{1.87em}
+\setlength\leftmarginiv {1.7em}
+\setlength\leftmarginv {1em}
+\setlength\leftmarginvi {1em}
+\setlength\leftmargin {\leftmargini}
+\setlength\labelsep {5\p@}
+\setlength\labelwidth {\leftmargini}
+\addtolength\labelwidth {-\labelsep}
+\setlength\partopsep {0\p@}
+\@beginparpenalty -\@lowpenalty
+\@endparpenalty -\@lowpenalty
+\@itempenalty -\@lowpenalty
+\def\@listI{\setlength\leftmargin{\leftmargini}
+ \setlength\parsep {0\p@}%
+ \setlength\topsep {.4em}%
+ \setlength\itemsep{.4em}}
+\let\@listi\@listI
+\@listi
+\def\@listii {\setlength \leftmargin{\leftmarginii}%
+ \setlength \labelwidth{\leftmarginii}%
+ \addtolength\labelwidth{-\labelsep}}
+\def\@listiii{\setlength \leftmargin{\leftmarginiii}%
+ \setlength \labelwidth{\leftmarginiii}%
+ \addtolength\labelwidth{-\labelsep}%
+ \setlength \topsep {.2em}%
+ \setlength \itemsep {\topsep}}
+\def\@listiv {\setlength \leftmargin{\leftmarginiv}%
+ \setlength \labelwidth{\leftmarginiv}%
+ \addtolength\labelwidth{-\labelsep}}
+\def\@listv {\setlength \leftmargin{\leftmarginv}%
+ \setlength \labelwidth{\leftmarginv}%
+ \addtolength\labelwidth{-\labelsep}}
+\def\@listvi {\setlength \leftmargin{\leftmarginvi}%
+ \setlength \labelwidth{\leftmarginvi}%
+ \addtolength\labelwidth{-\labelsep}}
+\renewcommand\theenumi {\@arabic\c@enumi}
+\renewcommand\theenumii {\@alph\c@enumii}
+\renewcommand\theenumiii {\@roman\c@enumiii}
+\renewcommand\theenumiv {\@Alph\c@enumiv}
+\newcommand\labelenumi {\theenumi.}
+\newcommand\labelenumii {(\theenumii)}
+\newcommand\labelenumiii {\theenumiii.}
+\newcommand\labelenumiv {\theenumiv.}
+\renewcommand\p@enumii {\theenumi}
+\renewcommand\p@enumiii {\theenumi(\theenumii)}
+\renewcommand\p@enumiv {\p@enumiii\theenumiii}
+%
+% \changes{v1.5d}{1997/02/14}{Changed labels to work without math}
+%
+\newcommand\labelitemi {\textbullet}
+\newcommand\labelitemii {\normalfont\bfseries \textendash}
+\newcommand\labelitemiii{\textasteriskcentered}
+\newcommand\labelitemiv {\textperiodcentered}
+\newenvironment{description}
+ {\list{}{\labelwidth\z@ \itemindent-\leftmargin
+ \let\makelabel\descriptionlabel}}
+ {\endlist}
+\newcommand*\descriptionlabel[1]%
+ {\hspace\labelsep\normalfont\bfseries #1}
+
+\newenvironment{verse}
+ {\let\\=\@centercr
+ \list{}{\setlength\itemsep{\z@}%
+ \setlength\itemindent{-15\p@}%
+ \setlength\listparindent{\itemindent}%
+ \setlength\rightmargin{\leftmargin}%
+ \addtolength\leftmargin{15\p@}}%
+ \item\relax}
+ {\endlist}
+\newenvironment{quotation}
+ {\list{}{\setlength\listparindent{1.5em}%
+ \setlength\itemindent{\listparindent}%
+ \setlength\rightmargin{\leftmargin}}%
+ \item\relax}
+ {\endlist}
+\newenvironment{quote}
+ {\list{}{\setlength\rightmargin{\leftmargin}}%
+ \item\relax}
+ {\endlist}
+
+\setlength\arraycolsep {5\p@}
+\setlength\tabcolsep {6\p@}
+\setlength\arrayrulewidth{.4\p@}
+\setlength\doublerulesep {2\p@}
+\setlength\tabbingsep {\labelsep}
+\skip\@mpfootins = \skip\footins
+\setlength\fboxsep {3\p@}
+\setlength\fboxrule {.4\p@}
+\renewcommand\theequation{\@arabic\c@equation}
+\DeclareOldFontCommand{\rm}{\normalfont\rmfamily}{\mathrm}
+\DeclareOldFontCommand{\sf}{\normalfont\sffamily}{\mathsf}
+\DeclareOldFontCommand{\tt}{\normalfont\ttfamily}{\mathtt}
+\DeclareOldFontCommand{\bf}{\normalfont\bfseries}{\mathbf}
+\DeclareOldFontCommand{\it}{\normalfont\itshape}{\mathit}
+\DeclareOldFontCommand{\sl}{\normalfont\slshape}{\relax}
+\DeclareOldFontCommand{\sc}{\normalfont\scshape}{\relax}
+\DeclareRobustCommand*{\cal}{\@fontswitch\relax\mathcal}
+\DeclareRobustCommand*{\mit}{\@fontswitch\relax\mathnormal}
+\renewcommand\footnoterule{%
+ \kern-\p@
+ \hrule \@width .4\columnwidth
+ \kern .6\p@}
+\long\def\@makefntext#1{%
+ \noindent
+ \hangindent 5\p@
+ \hb@xt@5\p@{\hss\@makefnmark}#1}
+
+\setlength\columnsep {10\p@}
+\setlength\columnseprule {0\p@}
+\pagestyle{plain}
+\pagenumbering{arabic}
+\raggedbottom
+\let\@texttop\relax
+\onecolumn
+
+\endinput
+%% End of file `akletter.cls'.
diff --git a/Master/texmf-dist/tex/latex/akletter/myletter.cls b/Master/texmf-dist/tex/latex/akletter/myletter.cls
new file mode 100644
index 00000000000..fabdb41d768
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/akletter/myletter.cls
@@ -0,0 +1,23 @@
+%% This is file `myletter.cls',
+%%
+%% \CharacterTable
+%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
+%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
+%% Digits \0\1\2\3\4\5\6\7\8\9
+%% Exclamation \! Double quote \" Hash (number) \#
+%% Dollar \$ Percent \% Ampersand \&
+%% Acute accent \' Left paren \( Right paren \)
+%% Asterisk \* Plus \+ Comma \,
+%% Minus \- Point \. Solidus \/
+%% Colon \: Semicolon \; Less than \<
+%% Equals \= Greater than \> Question mark \?
+%% Commercial at \@ Left bracket \[ Backslash \\
+%% Right bracket \] Circumflex \^ Underscore \_
+%% Grave accent \` Left brace \{ Vertical bar \|
+%% Right brace \} Tilde \~}
+\NeedsTeXFormat{LaTeX2e}
+\@obsoletefile{akletter.cls}{myletter.cls}
+\LoadClass{akletter}
+\endinput
+%%
+%% End of file `myletter.cls'.