diff options
author | Karl Berry <karl@freefriends.org> | 2006-01-12 23:56:11 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2006-01-12 23:56:11 +0000 |
commit | cf80050552bdf837f58b7f6d78bffe4186e44986 (patch) | |
tree | b866ea52876c9bc245f39a4fb1403a12bb746aad /Master/texmf-dist/tex/latex/fribrief/k_fribri.cls | |
parent | 61a092e76cd7aa171cd3790eddc820e8ca15f995 (diff) |
fribrief
git-svn-id: svn://tug.org/texlive/trunk@941 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/fribrief/k_fribri.cls')
-rw-r--r-- | Master/texmf-dist/tex/latex/fribrief/k_fribri.cls | 100 |
1 files changed, 100 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/fribrief/k_fribri.cls b/Master/texmf-dist/tex/latex/fribrief/k_fribri.cls new file mode 100644 index 00000000000..f3cc542bc20 --- /dev/null +++ b/Master/texmf-dist/tex/latex/fribrief/k_fribri.cls @@ -0,0 +1,100 @@ +%% K_FriBri.CLS -- Version vom 2. Jul. 1997 +%% fuer LaTeX2e und KOMA-Script +%% von Alex Fries +%% +%% Kontaktadressen: +%% Alex Fries: Alex.Fries@Lauer-EDV.com +%% bp016@smail.fh-koeln.de +%% +%% Optionen, abweichend von scrlettr-class: +%% Calli Name in Calligraphie (genoetigt Font callig15) +%% SmallC Name in Smallcapital, ueber- und unterstrichen +%% DIN Briefkopf nach DIN 5008 (Regeln fr +%% Maschinenschreiben) +%% +\NeedsTeXFormat{LaTeX2e}[1995/12/01] +\ProvidesClass{k_fribri} + [1997/07/02 ... der mit der persoenliche Note] + +% ************** +% neue Fonts +% ************** +\newfont{\alex}{cmcsc10 scaled 2988} +\newfont{\smallalex}{cmcsc10 scaled 800} +\newfont{\calligraphie}{callig15 scaled 2988} +\newfont{\smallcalli}{callig15 scaled 1000} + +% ************************************** +% spezielle Befehle und Definitionen +% ************************************** +\newcommand{\NLine}[1]{\vbox{\rule{\wd16}{#1}}} +\newcommand{\BKopf}{} +\newcommand{\nBKopf}{% + \nexthead{\parbox[b]{\textwidth}{{% + \sc\ignorespaces\fromname}{% + \hfill\sf\footnotesize\headtoname\ \ignorespaces\toname + \hfill\datename:\ \@date\hfill\pagename\ + \thepage\\[-8pt]\rule{\textwidth}{.4pt}}}}} + +% ***************** +% DeclareOption +% ***************** +\DeclareOption{Calli}{% + \renewcommand{\BKopf}{% + \firsthead{% + \put(0,30){\parbox{\textwidth}{{% + \calligraphie\ignorespaces\fromname}\hfill\raisebox{8mm}[15.7mm]{% + \parbox[t]{4.5cm}{% + \baselineskip2.5ex\raggedleft\ignorespaces\fromaddress\\ + \telephonenum}}}}}} + \renewcommand{\nBKopf}{% + \nexthead{\parbox[b]{\textwidth}{{% + \smallcalli\ignorespaces\fromname}{% + \hfill\footnotesize\headtoname\ \ignorespaces\toname + \hfill\datename:\ \@date\hfill\pagename\ + \thepage\\[-6pt]\rule{\textwidth}{.4pt}}}}}} +\DeclareOption{DIN}{% + \renewcommand{\BKopf}{% + \firsthead{% + \put(0,23){\parbox[t]{\textwidth}{% + \normalsize\ignorespaces\fromname\\\ignorespases\fromaddress\\ + \telephonenum}}}} + \renewcommand{\nBKopf}{% + \nexthead{\parbox[b]{\textwidth}{{% + \sfb\ignorespaces\fromname} + \hfill\sf\headtoname\ \ignorespaces\toname + \hfill\datename:\ \@date\hfill\pagename\ + \thepage\\[-8pt]\rule{\textwidth}{.4pt}}}}} +\DeclareOption{SmallC}{% + \renewcommand{\BKopf}{% + \firsthead{% + \put(0,32){\parbox[t]{\textwidth}{{% + \setbox16=\hbox{\alex\ignorespaces\fromname}\parbox[t]{\wd16}{% + \offinterlineskip\NLine{0.5mm}\vglue1.5mm\hbox to \wd16{% + \alex\ignorespaces\fromname}% + \vglue1.5mm\NLine{0.5mm}}}\hfill\raisebox{-2.25mm}[15.7mm]{% + \parbox[t]{4.5cm}{\baselineskip2.5ex\raggedleft\ignorespaces + \fromaddress\\\telephonenum\\[2.5ex]}}}}}} + \renewcommand{\nBKopf}{% + \nexthead{\parbox[b]{\textwidth}{{% + \setbox16=\hbox{\smallalex\ignorespaces\fromname}\parbox[b]{\wd16}{% + \offinterlineskip\NLine{0.2mm}\vglue0.35mm\hbox to \wd16{% + \smallalex\ignorespaces\fromname}\vglue0.5mm\NLine{0.2mm}}} +% \sfb\ignorespaces\fromname} + \hfill\rm\headtoname\ \ignorespaces\toname + \hfill\datename:\ \@date\hfill\pagename\ + \thepage\\[-8pt]\rule{\textwidth}{.4pt}}}}} +\DeclareOption*{% + \PassOptionsToClass{\CurrentOption}{scrlettr}} +\ProcessOptions +\LoadClass{scrlettr}[1997/05/31] + +% ********************************* +% scrlettr-Befehle undefinieren +% ********************************* + +\pagestyle{headings} +\BKopf +\nBKopf + + |