summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/lwarp/lwarp-mathastext.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-11-29 21:40:18 +0000
committerKarl Berry <karl@freefriends.org>2020-11-29 21:40:18 +0000
commit374930a15c704ed02fc00a4bc439c2af3dce9af8 (patch)
treed7bc3fd9cfb5b670d5dcbd0794205e94d78a536d /Master/texmf-dist/tex/latex/lwarp/lwarp-mathastext.sty
parent1bc1ec22661bff3a64049fe0b421a3038d831c21 (diff)
lwarp
git-svn-id: svn://tug.org/texlive/trunk@57032 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/lwarp/lwarp-mathastext.sty')
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-mathastext.sty62
1 files changed, 62 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-mathastext.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-mathastext.sty
new file mode 100644
index 00000000000..a83c5b4a69f
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-mathastext.sty
@@ -0,0 +1,62 @@
+%%
+%% This is file `lwarp-mathastext.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% lwarp.dtx (with options: `mathastext')
+%% This is a generated file.
+%% Copyright 2016-2020 Brian Dunn
+%%
+%% 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.
+%% The latest version of this license is in
+%% 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{mathastext}[2019/11/16]
+\LWR@origRequirePackage{lwarp-common-mathjax-letters}
+
+\begin{warpMathJax}
+\ifmst@itgreek
+\else
+ \ifmst@upgreek
+ \LWR@mathjax@addgreek@l@up{}{}
+ \else
+ \ifmst@frenchmath
+ \LWR@mathjax@addgreek@l@up{}{}
+ \else
+ \ifmst@italic
+ \else
+ \LWR@mathjax@addgreek@l@up{}{}
+ \fi
+ \fi
+ \fi
+\fi
+
+\ifcase\mst@greek@select
+ \or{\LWR@mathjax@addgreek@u@it*{}{}}
+\fi
+
+\CustomizeMathJax{\newcommand{\mathnormalbold}[1]{\boldsymbol{#1}}}
+\CustomizeMathJax{\newcommand{\MathEulerBold}[1]{\boldsymbol{#1}}}
+\CustomizeMathJax{\newcommand{\MathEuler}[1]{{#1}}}
+\CustomizeMathJax{\newcommand{\MathPSymbol}[1]{{#1}}}
+\CustomizeMathJax{\let\fouriervec\vec}
+\CustomizeMathJax{\let\pmvec\vec}
+\CustomizeMathJax{\let\inodot\imath}
+\CustomizeMathJax{\let\jnodot\jmath}
+\CustomizeMathJax{\let\shortiff\iff}
+\CustomizeMathJax{\let\longto\longrightarrow}
+\CustomizeMathJax{\newcommand{\inftypsy}{\mathord{\unicode{x221E}}}}
+\CustomizeMathJax{\newcommand{\proptopsy}{\mathrel{\unicode{x221D}}}}
+\CustomizeMathJax{\let\prodpsy\prod}
+\CustomizeMathJax{\let\sumpsy\sum}
+\CustomizeMathJax{\let\MToriginalprod\prod}
+\CustomizeMathJax{\let\MToriginalsum\sum}
+\CustomizeMathJax{\newcommand{\DotTriangle}{\mathord{\unicode{x2234}}}}
+\end{warpMathJax}
+\endinput
+%%
+%% End of file `lwarp-mathastext.sty'.