diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/arev/arevmath.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/arev/arevmath.sty | 93 |
1 files changed, 40 insertions, 53 deletions
diff --git a/Master/texmf-dist/tex/latex/arev/arevmath.sty b/Master/texmf-dist/tex/latex/arev/arevmath.sty index a103e9f2fd5..bf907223497 100644 --- a/Master/texmf-dist/tex/latex/arev/arevmath.sty +++ b/Master/texmf-dist/tex/latex/arev/arevmath.sty @@ -1,8 +1,8 @@ % arevmath.sty -% Part of the Arev Sans package by Stephen Hartke, 20050620 +% Part of the Arev Sans package by Stephen Hartke \def\fileversion{0.1}% -\def\filedate{2005/05/27}% +\def\filedate{2006/02/19}% \NeedsTeXFormat{LaTeX2e}% \ProvidesPackage{arevmath}% [\filedate\space\fileversion\space Arev Sans Math package]% @@ -15,13 +15,16 @@ \newcommand{\var@a}{true} \newcommand{\var@i}{true} \newcommand{\var@I}{true} -\newcommand{\var@f}{false} +\newcommand{\var@f}{true} \newcommand{\var@l}{true} \newcommand{\var@u}{true} \newcommand{\var@v}{true} \newcommand{\var@w}{true} \newcommand{\var@x}{true} +\newcommand{\var@Gamma}{true} +\newcommand{\var@Xi}{true} \newcommand{\var@Pi}{true} +\newcommand{\var@Sigma}{true} \newcommand{\var@Phi}{true} \DeclareOption{origletters}{ @@ -34,18 +37,25 @@ \renewcommand{\var@v}{false} \renewcommand{\var@w}{false} \renewcommand{\var@x}{false} +\renewcommand{\var@Gamma}{false} +\renewcommand{\var@Xi}{false} \renewcommand{\var@Pi}{false} +\renewcommand{\var@Sigma}{false} \renewcommand{\var@Phi}{false} } \DeclareOption{vara}{\renewcommand{\var@a}{true}} \DeclareOption{vari}{\renewcommand{\var@i}{true}} \DeclareOption{varI}{\renewcommand{\var@I}{true}} % no varIota option! \DeclareOption{varf}{\renewcommand{\var@f}{true}} +\DeclareOption{oldf}{\renewcommand{\old@f}{true}} \DeclareOption{varl}{\renewcommand{\var@l}{true}} \DeclareOption{varu}{\renewcommand{\var@u}{true}} \DeclareOption{varv}{\renewcommand{\var@v}{true}} \DeclareOption{varw}{\renewcommand{\var@w}{true}} +\DeclareOption{varGamma}{\renewcommand{\var@Gamma}{true}} +\DeclareOption{varXi}{\renewcommand{\var@Xi}{true}} \DeclareOption{varPi}{\renewcommand{\var@Pi}{true}} +\DeclareOption{varSigma}{\renewcommand{\var@Sigma}{true}} \DeclareOption{varPhi}{\renewcommand{\var@Phi}{true}} \DeclareOption*{\message{Error: option not recognized.}\MessageBreak} \ProcessOptions @@ -159,63 +169,40 @@ % over and under braces and square roots from mdbch are screwed up. % accents? % fix undefined small caps in text -% text symbols, like dagger and footnote and so on? + % for extra symbols and nonstandard alternate glyphs \DeclareSymbolFont{extraup} {U}{zavm}{m}{n} \DeclareSymbolFont{extraitalic} {U}{zavm}{m}{it} -% variant letters -\DeclareMathSymbol{\origa} {\mathalpha}{extraitalic}{50} -\DeclareMathSymbol{\origi} {\mathalpha}{extraitalic}{58} -\DeclareMathSymbol{\origimath} {\mathalpha}{extraitalic}{76} -\DeclareMathSymbol{\origI} {\mathalpha}{extraitalic}{30} -\DeclareMathSymbol{\origf} {\mathalpha}{extraitalic}{55} -\DeclareMathSymbol{\origl} {\mathalpha}{extraitalic}{61} -\DeclareMathSymbol{\origu} {\mathalpha}{extraitalic}{70} -\DeclareMathSymbol{\origv} {\mathalpha}{extraitalic}{71} -\DeclareMathSymbol{\origw} {\mathalpha}{extraitalic}{72} -\DeclareMathSymbol{\origx} {\mathalpha}{extraitalic}{73} -\DeclareMathSymbol{\origIota} {\mathord} {extraitalic}{87} -\DeclareMathSymbol{\origPi} {\mathord} {extraup} {93} -\DeclareMathSymbol{\origPhi} {\mathord} {extraup} {94} - -\DeclareMathSymbol{\vara} {\mathalpha}{extraitalic}{139} -\DeclareMathSymbol{\vari} {\mathalpha}{extraitalic}{140} -\DeclareMathSymbol{\varimath} {\mathalpha}{extraitalic}{111} -\DeclareMathSymbol{\varI} {\mathalpha}{extraitalic}{138} -\DeclareMathSymbol{\varf} {\mathalpha}{extraitalic}{149} -\DeclareMathSymbol{\varl} {\mathalpha}{extraitalic}{141} -\DeclareMathSymbol{\varu} {\mathalpha}{extraitalic}{142} -\DeclareMathSymbol{\varv} {\mathalpha}{extraitalic}{143} -\DeclareMathSymbol{\varw} {\mathalpha}{extraitalic}{144} -\DeclareMathSymbol{\varx} {\mathalpha}{extraitalic}{145} -\DeclareMathSymbol{\varIota} {\mathord} {extraitalic}{146} +\input{arevsymbols} % contains the macro names and positions from the glyph lists + +% We'll do extra symbols from OT1 separately +\DeclareMathSymbol{\varGamma} {\mathord} {operators} {0} +\DeclareMathSymbol{\varXi} {\mathord} {operators} {4} \DeclareMathSymbol{\varPi} {\mathord} {operators} {5} +\DeclareMathSymbol{\varSigma} {\mathord} {operators} {6} \DeclareMathSymbol{\varPhi} {\mathord} {operators} {8} -\ifthenelse{\equal{\var@a} {true}}{}{\DeclareMathSymbol{a} {\mathalpha}{extraitalic}{50}} -\ifthenelse{\equal{\var@i} {true}}{}{\DeclareMathSymbol{i} {\mathalpha}{extraitalic}{58} - \DeclareMathSymbol{\imath} {\mathord} {extraitalic}{76}} -\ifthenelse{\equal{\var@I} {true}}{}{\DeclareMathSymbol{I} {\mathalpha}{extraitalic}{30}} -\ifthenelse{\equal{\var@f} {false}}{}{\DeclareMathSymbol{f} {\mathalpha}{extraitalic}{149}} -\ifthenelse{\equal{\var@l} {true}}{}{\DeclareMathSymbol{l} {\mathalpha}{extraitalic}{61}} -\ifthenelse{\equal{\var@u} {true}}{}{\DeclareMathSymbol{u} {\mathalpha}{extraitalic}{70}} -\ifthenelse{\equal{\var@v} {true}}{}{\DeclareMathSymbol{v} {\mathalpha}{extraitalic}{71}} -\ifthenelse{\equal{\var@w} {true}}{}{\DeclareMathSymbol{w} {\mathalpha}{extraitalic}{72}} -\ifthenelse{\equal{\var@x} {true}}{}{\DeclareMathSymbol{x} {\mathalpha}{extraitalic}{73}} -\ifthenelse{\equal{\var@Pi} {true}}{}{\DeclareMathSymbol{\Pi} {\mathord} {extraup} {93}} -\ifthenelse{\equal{\var@Phi}{true}}{}{\DeclareMathSymbol{\Phi} {\mathord} {extraup} {94}} - - -% Extra Symbols -\DeclareMathSymbol{\varspade} {\mathalpha}{extraup} {85} -\DeclareMathSymbol{\varheart} {\mathalpha}{extraup} {86} -\DeclareMathSymbol{\vardiamond}{\mathalpha}{extraup} {87} -\DeclareMathSymbol{\varclub} {\mathalpha}{extraup} {88} -\DeclareMathSymbol{\steaming} {\mathalpha}{extraup} {89} -\DeclareMathSymbol{\quarternote}{\mathalpha}{extraup} {90} -\DeclareMathSymbol{\eighthnote}{\mathalpha}{extraup} {91} -\DeclareMathSymbol{\sixteenthnote}{\mathalpha}{extraup} {92} +\ifthenelse{\equal{\var@a} {true}}{}{\DeclareMathSymbol{a}{\mathalpha}{extraitalic}{139}} +\ifthenelse{\equal{\var@i} {true}}{}{\DeclareMathSymbol{i}{\mathalpha}{extraitalic}{140} + \DeclareMathSymbol{\imath}{\mathalpha}{extraitalic}{111}} +\ifthenelse{\equal{\var@I} {true}}{}{\DeclareMathSymbol{I}{\mathalpha}{extraitalic}{138}} +\ifthenelse{\equal{\var@f} {true}}{}{\DeclareMathSymbol{f}{\mathalpha}{extraitalic}{154}} +\ifthenelse{\equal{\var@l} {true}}{}{\DeclareMathSymbol{l}{\mathalpha}{extraitalic}{141}} +\ifthenelse{\equal{\var@u} {true}}{}{\DeclareMathSymbol{u}{\mathalpha}{extraitalic}{142}} +\ifthenelse{\equal{\var@v} {true}}{}{\DeclareMathSymbol{v}{\mathalpha}{extraitalic}{143}} +\ifthenelse{\equal{\var@w} {true}}{}{\DeclareMathSymbol{w}{\mathalpha}{extraitalic}{144}} +\ifthenelse{\equal{\var@x} {true}}{}{\DeclareMathSymbol{x}{\mathalpha}{extraitalic}{145}} +\ifthenelse{\equal{\var@Gamma} {true}}{}{\DeclareMathSymbol{\varGamma}{\mathord}{extraup}{93}} +\ifthenelse{\equal{\var@Xi} {true}}{}{\DeclareMathSymbol{\varXi}{\mathord}{extraup}{94}} +\ifthenelse{\equal{\var@Pi} {true}}{}{\DeclareMathSymbol{\varPi}{\mathord}{extraup}{95}} +\ifthenelse{\equal{\var@Sigma} {true}}{}{\DeclareMathSymbol{\varSigma}{\mathord}{extraup}{96}} +\ifthenelse{\equal{\var@Phi}{true}}{}{\DeclareMathSymbol{\varPhi}{\mathord}{extraup}{97}} + +% a few symbols that have multiple declarations +\DeclareMathSymbol{\varnothing}{\mathord}{extraup}{34} % emptyset +\DeclareMathSymbol{\origIota}{\mathord}{extraitalic}{30} % same as \origI +\DeclareMathSymbol{\varIota}{\mathord}{extraitalic}{138} % same as \varI \endinput |