\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