diff options
author | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
commit | e0c6872cf40896c7be36b11dcc744620f10adf1d (patch) | |
tree | 60335e10d2f4354b0674ec22d7b53f0f8abee672 /macros/latex/contrib/sauterfonts/sbbm.sty |
Initial commit
Diffstat (limited to 'macros/latex/contrib/sauterfonts/sbbm.sty')
-rw-r--r-- | macros/latex/contrib/sauterfonts/sbbm.sty | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/macros/latex/contrib/sauterfonts/sbbm.sty b/macros/latex/contrib/sauterfonts/sbbm.sty new file mode 100644 index 0000000000..c21e307a9b --- /dev/null +++ b/macros/latex/contrib/sauterfonts/sbbm.sty @@ -0,0 +1,32 @@ +%% Copyleft 1998 Klaus G. Barthelmann +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{sbbm}[1998/11/11 LaTeX package to use the bbm font family] + +\newcommand\bbm@family{} +\newcommand\bbm@shape{} + +\DeclareOption{rm}{\renewcommand\bbm@family{bbm}} +\DeclareOption{sf}{\renewcommand\bbm@family{bbmss}} +\DeclareOption{tt}{\renewcommand\bbm@family{bbmtt}} +% Is there really any use for the typewriter font? +\DeclareOption{up}{\renewcommand\bbm@shape{n}} +\DeclareOption{sl}{\renewcommand\bbm@shape{sl}} + +\ExecuteOptions{rm,up} +\ProcessOptions + +\DeclareSymbolFont{\bbm@family}{U}{\bbm@family}{m}{\bbm@shape} +\newcommand\bbm@tt{tt}\ifx\bbm@family\bbm@tt\else +\SetSymbolFont{\bbm@family}{bold}{U}{\bbm@family}{bx}{\bbm@shape} +\fi +\DeclareSymbolFontAlphabet\mathbb{\bbm@family} + +\DeclareMathSymbol{\Lparen}{\mathopen}{\bbm@family}{`(} +\DeclareMathSymbol{\Rparen}{\mathclose}{\bbm@family}{`)} +\DeclareMathSymbol{\Lbrack}{\mathopen}{\bbm@family}{`[} +\DeclareMathSymbol{\Rbrack}{\mathclose}{\bbm@family}{`]} + +\let\bbm@family=\@undefined +\let\bbm@shape=\@undefined +\let\bbm@tt=\@undefined +\endinput |