% btbembo.sty
%
% Copyright (c) 2002 Christian Kuhn
% Christian.Kuhn@QNo.de
%
% This file may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either
% version 1.2 of this license or (at your option) any later
% version.
% The latest version of this license is in
%   http://www.latex-project.org/lppl.txt
% and version 1.2 or later is part of all distributions of
% LaTeX version 1999/12/01 or later.
%
% You are not allowed to change this file.
%
% This package implements some commands for easy access to the
% Bitstream Aldine401BT PostScript-Type1-Fonts from the
% Corel-Draw-CD. Necessary .tfm-, .vf-, .fd-, and .map-files come
% bundled with this style. .afm- and .pfb-files must be taken from the
% Corel-Draw-CD and renamed according the Karl-Berry-Scheme.
%
\NeedsTeXFormat{LaTeX2e}[1998/06/01]
\ProvidesPackage{btbembo}
   [2002/02/16 v0.9beta Bitstream Aldine401BT font package]

\newif\if@bbbdef
\DeclareOption{default}{\@bbbdeftrue}
% If Option default is used, the choosen Bembo will be used as \familydefault

\newif\if@bbbnot
\DeclareOption{nodefault}{\@bbbnottrue}
% If Option nodefault is NOT used, the choosen Bembo will be used
% as \rmdefault, otherwise only the implemented commands will be
% available

\ProcessOptions\relax

% Choice of the family
\if@bbbnot
% If Option nodefault is used, nothing has to be done here
\else
  \renewcommand{\rmdefault}{bbb}
% If Option default is used (it makes only sense if nodefault is not
% used), \familydefault will be set to \rmdefault
  \if@bbbdef
    \renewcommand{\familydefault}{\rmdefault}
  \fi
\fi

\newcommand{\Btbembo}{\fontfamily{bbb}\selectfont}

\providecommand{\textbbb}[1]{{\Btbembo #1}}

\newcommand{\Bbb}{\fontfamily{bbb}\selectfont}

\PackageWarning{btbembo}{This package provides Bitstream Aldine401BT
  as a roman font. That font does not well mix with the Computer
  Modern Math, Sans Serif, or Typewriter fonts. It is  recommended to
  use the package eulervm for the math fonts. Choose the sans serif
  and typewriter fonts according to the fonts you have installed and
  your taste.}

\endinput

