\makeatletter
%%% This is a demonstration cfg file for myletter.cls
%%% There are two place to include your bank-connections
%%% (or whatever you want) which are controlled by
%%% the options bankhigh and banklow which set
%%% @bankhi and @banklo
%%%
%%% I'm sorry but the makeatletter/makeatletter is needed
%%%
%%% german is no longer an option to myletter.cls !
%%%
%%% The \if@german kludge is still present.
%%% It will test if the language is german and not if
%%% german.sty is loaded. (Which was really silly because
%%% we use german.sty to write french lettes.)
%%%
%%% The language-dependend will now depend on the language
%%% (surprise) and not on the fact that german.sty is loaded.
%%% (I'm still learning:-)
%%%

%% \if@german ist still available. It is true when the
%% language is german. To write reall language-dependend
%% code you should use
%%   \ifcase\language
%%     US-English
%%   \or
%%     german
%%   \or
%%     austrian
%%   \or
%%     french
%%   \or
%%     UK-English
%%   \or
%%     russian
%%   \fi

%% 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}

%%
%% alternate definitions for the reference-line.
%% use this if you do not need a mymail-entry.
%% In fact you can do a lot of things with these
%% 4 entries, e.g. setting \mymailname to {InvoiceNo}
%% and using \mymail to display an invoiceno.
%% You may change these lines but make sure that
%% the combined length of the 4 fields is 1\leftfield
%% or less.
%\def\yref#1{\def\@yref{\parbox[t]{.33\leftfield}
%    {\scriptsize \yourrefname:\\ \normalsize #1}}}
%\def\ymail#1{\def\@ymail{\parbox[t]{.33\leftfield}
%    {\scriptsize \yourmailname:\\ \normalsize #1}}}
%\def\myref#1{\def\@myref{\parbox[t]{.33\leftfield}
%    {\scriptsize \myrefname:\\ \normalsize #1}}}
%\let\mymail=\@gobbleone


%%% Top of first page: left
\sbox{\FIRM}
   {\parbox[t]{\leftfield}
   {\fontsize{17.28}{22pt}\fontseries{bx}\selectfont%
    Mein Name\hfill}}

%%% Top of every other page
\sbox{\firm}
   {\fontsize{10}{12pt}\selectfont%
   \normalfont Mein Name}

%%% Top of first page: right
\sbox{\firmaddress}
   {\parbox[t]{\rightfield}{\fontsize{9}{10pt}\selectfont
   \normalfont Meine Stra{\ss}e 1\\ 12345 Meindorf}}

%%% 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 $\cdot$ Meine Stra{\ss}e 1
   $\cdot$ D--12345 Meindorf\hskip5mm}}

%%% two line version
%\sbox{\firmreturn}
%   {\underline{
%      \fontsize{7}{8pt}\fontfamily{\sfdefault}\selectfont
%      \hskip3mm\parbox{65mm}
%      {\makebox[65mm][c]
%         {Fachschaft -- Maschinenbau $\cdot$
%          \mbox{\raise .75ex \hbox{c}\kern -.15em /\kern -.125em
%              \smash{\lower .3ex \hbox{o}}}
%               AStA TU Braunschweig}
%       \makebox[65mm][c]
%          {Katharinenstra{\ss}e 1 $\cdot$ 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@german
        \if@banklo
	  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 eihter here
%%% or in the ref-line.
\newcommand{\rightbox}
    {\parbox[t]{\rightfield}
    {\fontsize{9}{11pt}\selectfont
      \raggedright
      \ifx\fromname\@empty
      \else
        \fromname\\
      \fi
      \ifx\telephonenum\@empty
         \if@german
           \telephonename: 040 / 44\,17\,77
         \else
           \telephonename: 49--40--44\,17\,77
         \fi
      \else
         \telephonename: \telephonenum
      \fi\\[1.5ex]
      \ifx\telefaxnum\@empty
         \if@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 Kein Mehl\\[1.5ex]
      \else
         e-mail: \@email \\[1.5ex]
      \fi
      \if@german
        \if@bankhi
	  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}
      \ifx\@refdate\@empty
        \if@ref
          \@date
        \fi
      \fi
      }
\makeatother
\endinput
