diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/lwarp/lwarp-statmath.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/lwarp/lwarp-statmath.sty | 53 |
1 files changed, 12 insertions, 41 deletions
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-statmath.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-statmath.sty index d5d93f0997a..ae8ccf628dc 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-statmath.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-statmath.sty @@ -15,12 +15,18 @@ %% http://www.latex-project.org/lppl.txt %% and version 1.3 or later is part of all distributions of LaTeX %% version 2005/12/01 or later. +\LWR@origRequirePackage{lwarp-common-mathjax-letters} + \LWR@ProvidesPackagePass{statmath}[2018/03/08] \begin{warpMathJax} \LWR@infoprocessingmathjax{statmath} -\CustomizeMathJax{\let\abcbf\mathbf} +\ifdefequal{\abcbf}{\mathbf} + {\CustomizeMathJax{\newcommand{\abcbf}[1]{\mathbf{#1}}}} + {\CustomizeMathJax{\newcommand{\abcbf}[1]{\boldsymbol{#1}}}} + \CustomizeMathJax{\newcommand{\greekbf}[1]{\boldsymbol{#1}}} + \CustomizeMathJax{\newcommand{\bfA}{\abcbf A}} \CustomizeMathJax{\newcommand{\bfB}{\abcbf B}} \CustomizeMathJax{\newcommand{\bfC}{\abcbf C}} @@ -73,47 +79,12 @@ \CustomizeMathJax{\newcommand{\bfx}{\abcbf x}} \CustomizeMathJax{\newcommand{\bfy}{\abcbf y}} \CustomizeMathJax{\newcommand{\bfz}{\abcbf z}} -\CustomizeMathJax{\newcommand{\bfalpha}{\greekbf \alpha}} -\CustomizeMathJax{\newcommand{\bfbeta}{\greekbf \beta}} -\CustomizeMathJax{\newcommand{\bfdelta}{\greekbf \delta}} -\CustomizeMathJax{\newcommand{\bfepsilon}{\greekbf \epsilon}} -\CustomizeMathJax{\newcommand{\bfvarepsilon}{\greekbf \varepsilon}} -\CustomizeMathJax{\newcommand{\bfzeta}{\greekbf \zeta}} -\CustomizeMathJax{\newcommand{\bfeta}{\greekbf \eta}} -\CustomizeMathJax{\newcommand{\bftheta}{\greekbf \theta}} -\CustomizeMathJax{\newcommand{\bfvartheta}{\greekbf \vartheta}} -\CustomizeMathJax{\newcommand{\bfgamma}{\greekbf \gamma}} -\CustomizeMathJax{\newcommand{\bfkappa}{\greekbf \kappa}} -\CustomizeMathJax{\newcommand{\bflambda}{\greekbf \lambda}} -\CustomizeMathJax{\newcommand{\bfmu}{\greekbf \mu}} -\CustomizeMathJax{\newcommand{\bfnu}{\greekbf \nu}} -\CustomizeMathJax{\newcommand{\bfxi}{\greekbf \xi}} -\CustomizeMathJax{\newcommand{\bfpi}{\greekbf \pi}} -\CustomizeMathJax{\newcommand{\bfvarpi}{\greekbf \varpi}} -\CustomizeMathJax{\newcommand{\bfrho}{\greekbf \rho}} -\CustomizeMathJax{\newcommand{\bfvarrho}{\greekbf \varrho}} -\CustomizeMathJax{\newcommand{\bfsigma}{\greekbf \sigma}} -\CustomizeMathJax{\newcommand{\bfvarsigma}{\greekbf \varsigma}} -\CustomizeMathJax{\newcommand{\bftau}{\greekbf \tau}} -\CustomizeMathJax{\newcommand{\bfupsilon}{\greekbf \upsilon}} -\CustomizeMathJax{\newcommand{\bfphi}{\greekbf \phi}} -\CustomizeMathJax{\newcommand{\bfvarphi}{\greekbf \varphi}} -\CustomizeMathJax{\newcommand{\bfchi}{\greekbf \chi}} -\CustomizeMathJax{\newcommand{\bfpsi}{\greekbf \psi}} -\CustomizeMathJax{\newcommand{\bfomega}{\greekbf \omega}} -\CustomizeMathJax{\newcommand{\bfiota}{\greekbf \iota}} -\CustomizeMathJax{\newcommand{\bfGamma}{\greekbf \Gamma}} -\CustomizeMathJax{\newcommand{\bfDelta}{\greekbf \Delta}} -\CustomizeMathJax{\newcommand{\bfTheta}{\greekbf \Theta}} -\CustomizeMathJax{\newcommand{\bfLambda}{\greekbf \Lambda}} -\CustomizeMathJax{\newcommand{\bfXi}{\greekbf \Xi}} -\CustomizeMathJax{\newcommand{\bfPi}{\greekbf \Pi}} -\CustomizeMathJax{\newcommand{\bfSigma}{\greekbf \Sigma}} -\CustomizeMathJax{\newcommand{\bfUpsilon}{\greekbf \Upsilon}} -\CustomizeMathJax{\newcommand{\bfPhi}{\greekbf \Phi}} -\CustomizeMathJax{\newcommand{\bfPsi}{\greekbf \Psi}} -\CustomizeMathJax{\newcommand{\bfOmega}{\greekbf \Omega}} + +\LWR@mathjax@addgreek@l@bfit{bf}{}% Greek lowercase bold face italic +\LWR@mathjax@addgreek@u@bfup*{bf}{}% Greek uppercase bold face upright, cap macros. + \CustomizeMathJax{\newcommand{\bfzero}{\greekbf 0}} + \CustomizeMathJax{\DeclareMathOperator{\cov}{Cov}} \CustomizeMathJax{\DeclareMathOperator{\E}{E}} \CustomizeMathJax{\DeclareMathOperator{\V}{V}} |