You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
tex-compiler/texmf-dist/tex/latex/lwarp/lwarp-unicode-math.sty

64 lines
2.0 KiB

%%
%% This is file `lwarp-unicode-math.sty',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% lwarp.dtx (with options: `unicode-math')
%% 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{unicode-math}[2019/09/26]
\begin{warpMathJax}
\LWR@infoprocessingmathjax{unicode-math}
\CustomizeMathJax{\let\symnormal\mathit}
\CustomizeMathJax{\let\symliteral\mathrm}
\CustomizeMathJax{\let\symbb\mathbb}
\CustomizeMathJax{\let\symbbit\mathbb}% not italic
\CustomizeMathJax{\let\symcal\mathcal}
\CustomizeMathJax{\let\symscr\mathscr}
\CustomizeMathJax{\let\symfrak\mathfrak}
\CustomizeMathJax{\let\symsfup\mathsf}
\CustomizeMathJax{\newcommand{\symsfit}[1]{%
\mmlToken{mi}[mathvariant="sans-serif-italic"]{#1}}%
}
\CustomizeMathJax{\newcommand{\symbfsf}[1]{%
\mmlToken{mi}[mathvariant="bold-sans-serif"]{#1}}%
}
\CustomizeMathJax{\let\symbfup\mathbf}
\CustomizeMathJax{\newcommand{\symbfit}[1]{\boldsymbol{#1}}}
\CustomizeMathJax{\let\symbfcal\mathcal}% not bold
\CustomizeMathJax{\let\symbfscr\mathscr}% not bold
\CustomizeMathJax{\let\symbffrak\mathfrak}% not bold
\CustomizeMathJax{\newcommand{\symbfsfup}[1]{%
\mmlToken{mi}[mathvariant="bold-sans-serif"]{#1}}%
}
\CustomizeMathJax{\newcommand{\symbfsfit}[1]{%
\mmlToken{mi}[mathvariant="sans-serif-bold-italic"]{#1}}%
}
\CustomizeMathJax{\let\symup\mathrm}
\CustomizeMathJax{\let\symbf\mathbf}% \symbfup defined above
\CustomizeMathJax{\let\symit\mathit}
\CustomizeMathJax{\let\symsf\mathsf}
\CustomizeMathJax{\let\symtt\mathtt}
\CustomizeMathJax{\let\symbffrac\mathbffrac}
\end{warpMathJax}
\endinput
%%
%% End of file `lwarp-unicode-math.sty'.