summaryrefslogtreecommitdiff
path: root/fonts/bickham/bickham.sty
blob: fe8b7fdcc06574fa8bde172004ad83cd4b79f9d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{bickham}[2012/04/24 v1 U/bickham]
\RequirePackage{xkeyval}%
\def\bickham@wt{m}
\newif\if@bickham@scr
\define@key{bickham.sty}{scaled}[1.0]{%
\expandafter\def\csname bickham@scale\endcsname {#1}}%
\ExecuteOptionsX<bickham.sty>{scaled}%
\DeclareOption{scr}{\@bickham@scrtrue}
\DeclareOption{sb}{\def\bickham@wt{sb}}
\ProcessOptions*
\if@bickham@scr
  \DeclareMathAlphabet{\mathscr}{U}{bickham}{\bickham@wt}{n}
  \SetMathAlphabet{\mathscr}{bold}{U}{bickham}{b}{n}
  \DeclareMathAlphabet{\mathbscr} {U}{bickham}{b}{n}
\else
  \DeclareMathAlphabet{\mathcal}{U}{bickham}{\bickham@wt}{n}
  \SetMathAlphabet{\mathcal}{bold}{U}{bickham}{b}{n}
  \DeclareMathAlphabet{\mathbcal} {U}{bickham}{b}{n}
\fi
\endinput