% \mathsfbf (sans bold) math alphabet % % :Copyright: © 2008, 2010 Günter Milde % :Licence: This work may be distributed and/or modified under the % conditions of the `LaTeX Project Public License`_, either % version 1.3 of this license or (at your option) any later version. % % :Identification: % :: \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{mathsfbf} [2011/02/16 v0.1 mathsfbf (sans bold) alphabet] % Using OML encoded fonts for math alphabets is one way to get % small Greek letters in different math alphabets (cf. isomath_). % However, there is currently no OML encoded sans-serif bold upright % font known to the author. Therefore this package provides only % Latin and capital Greek letters. % Options are defined with the key=value interface provided by % kvoptions_:: \RequirePackage{kvoptions} % fontfamily % ---------- % % Sans-serif font family to be used for \mathsfbf. Must provide a bold % (bx) upright (n) version in old TeX font encoding (OT1). % Defaults to the default sans-serif font. Alternatives include 'cmss' % and 'cmbr' (Computer Modern) and 'phv' (Helvetica):: \DeclareStringOption[\sfdefault]{fontfamily} \ProcessKeyvalOptions* % Implementation % -------------- \DeclareMathAlphabet{\mathsfbf}{OT1}{\mathsfbf@fontfamily}{bx}{n} % References % ~~~~~~~~~~ % % .. _LaTeX Project Public License: http://www.latex-project.org/lppl.txt % .. _kvoptions: http://mirror.ctan.org/help/Catalogue/entries/kvoptions.html % .. _isomath: http://mirror.ctan.org/help/Catalogue/entries/isomath.html