summaryrefslogtreecommitdiff
path: root/fonts/bickham/bickham.sty
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /fonts/bickham/bickham.sty
Initial commit
Diffstat (limited to 'fonts/bickham/bickham.sty')
-rw-r--r--fonts/bickham/bickham.sty21
1 files changed, 21 insertions, 0 deletions
diff --git a/fonts/bickham/bickham.sty b/fonts/bickham/bickham.sty
new file mode 100644
index 0000000000..fe8b7fdcc0
--- /dev/null
+++ b/fonts/bickham/bickham.sty
@@ -0,0 +1,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