summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/lwarp/lwarp-mathalpha.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2022-02-01 22:09:57 +0000
committerKarl Berry <karl@freefriends.org>2022-02-01 22:09:57 +0000
commitc64b76557cb363f0c2990ee6a72dd2f8cf231af4 (patch)
tree3f1e103ce71ec9e768c990949d6edbeceb34f963 /Master/texmf-dist/tex/latex/lwarp/lwarp-mathalpha.sty
parentb941504fe43d8fec69f16cafaa5a0ddd8fc943d8 (diff)
lwarp (1feb22)
git-svn-id: svn://tug.org/texlive/trunk@61842 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/lwarp/lwarp-mathalpha.sty')
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-mathalpha.sty10
1 files changed, 9 insertions, 1 deletions
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-mathalpha.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-mathalpha.sty
index 59e534e4d84..c37d6bb3ea6 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-mathalpha.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-mathalpha.sty
@@ -15,13 +15,21 @@
%% 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@ProvidesPackagePass{mathalpha}[2019/10/05]
+\LWR@ProvidesPackagePass{mathalpha}[2021/11/18]
\begin{warpMathJax}
+\CustomizeMathJax{\newcommand{\mathbfbb}[1]{\boldsymbol{\mathbb{#1}}}}% not bold
+\CustomizeMathJax{\newcommand{\mathbfcal}[1]{\boldsymbol{\mathcal{#1}}}}
+\CustomizeMathJax{\newcommand{\mathbffrak}[1]{\boldsymbol{\mathfrak{#1}}}}
+\CustomizeMathJax{\newcommand{\mathbfscr}[1]{\boldsymbol{\mathscr{#1}}}}% not bold
+
+\IfPackageLoadedWithOptionsTF{mathalpha}{oldbold}
+{
\CustomizeMathJax{\newcommand{\mathbbb}[1]{\boldsymbol{\mathbb{#1}}}}% not bold
\CustomizeMathJax{\newcommand{\mathbcal}[1]{\boldsymbol{\mathcal{#1}}}}
\CustomizeMathJax{\newcommand{\mathbfrak}[1]{\boldsymbol{\mathfrak{#1}}}}
\CustomizeMathJax{\newcommand{\mathbscr}[1]{\boldsymbol{\mathscr{#1}}}}% not bold
+}{}
\end{warpMathJax}
\endinput
%%