| 1 |
%% |
| 2 |
%% This is file `lwarp-unicode-math.sty', |
| 3 |
%% generated with the docstrip utility. |
| 4 |
%% |
| 5 |
%% The original source files were: |
| 6 |
%% |
| 7 |
%% lwarp.dtx (with options: `unicode-math') |
| 8 |
%% This is a generated file. |
| 9 |
%% Copyright 2016-2026 Brian Dunn |
| 10 |
%% |
| 11 |
%% This work may be distributed and/or modified under the |
| 12 |
%% conditions of the LaTeX Project Public License, either version 1.3 |
| 13 |
%% of this license or (at your option) any later version. |
| 14 |
%% The latest version of this license is in |
| 15 |
%% http://www.latex-project.org/lppl.txt |
| 16 |
%% and version 1.3 or later is part of all distributions of LaTeX |
| 17 |
%% version 2005/12/01 or later. |
| 18 |
|
| 19 |
\LWR@ProvidesPackagePass{unicode-math}[2019/09/26] |
| 20 |
\LWR@origRequirePackage{lwarp-common-mathjax-letters} |
| 21 |
|
| 22 |
\begin{warpMathJax} |
| 23 |
\LWR@infoprocessingmathjax{unicode-math} |
| 24 |
|
| 25 |
\CustomizeMathJax{\let\symnormal\mathit} |
| 26 |
\CustomizeMathJax{\let\symliteral\mathrm} |
| 27 |
\CustomizeMathJax{\let\symbb\mathbb} |
| 28 |
\CustomizeMathJax{\let\symbbit\mathbb}% not italic |
| 29 |
\CustomizeMathJax{\let\symcal\mathcal} |
| 30 |
\CustomizeMathJax{\let\symscr\mathscr} |
| 31 |
\CustomizeMathJax{\let\symfrak\mathfrak} |
| 32 |
|
| 33 |
\CustomizeMathJax{\let\symsfup\mathsf} |
| 34 |
|
| 35 |
\CustomizeMathJax{\let\symsfit\mathit}% not sans |
| 36 |
|
| 37 |
\CustomizeMathJax{\let\symbfsf\mathbf}% not sans |
| 38 |
|
| 39 |
\CustomizeMathJax{\let\symbfup\mathbf} |
| 40 |
\CustomizeMathJax{\newcommand{\symbfit}[1]{\boldsymbol{#1}}} |
| 41 |
\CustomizeMathJax{\let\symbfcal\mathcal}% not bold |
| 42 |
|
| 43 |
\CustomizeMathJax{\let\symbfscr\mathscr}% not bold |
| 44 |
|
| 45 |
\CustomizeMathJax{\let\symbffrak\mathfrak}% not bold |
| 46 |
|
| 47 |
\CustomizeMathJax{\let\symbfsfup\mathbf}% not sans |
| 48 |
|
| 49 |
\CustomizeMathJax{\newcommand{\symbfsfit}[1]{\boldsymbol{#1}}}% not sans |
| 50 |
|
| 51 |
\CustomizeMathJax{\let\symup\mathrm} |
| 52 |
\CustomizeMathJax{\let\symbf\mathbf}% \symbfup defined above |
| 53 |
\CustomizeMathJax{\let\symit\mathit} |
| 54 |
\ExplSyntaxOn |
| 55 |
\AtBeginDocument{ |
| 56 |
\bool_if:NTF \g__um_sfliteral_bool |
| 57 |
{\CustomizeMathJax{\let\symsf\symsfup}} |
| 58 |
{ |
| 59 |
\bool_if:NTF \g__um_upsans_bool |
| 60 |
{\CustomizeMathJax{\let\symsf\symsfup}} |
| 61 |
{\CustomizeMathJax{\let\symsf\symsfit}} |
| 62 |
} |
| 63 |
} |
| 64 |
\ExplSyntaxOff |
| 65 |
\CustomizeMathJax{\let\symtt\mathtt} |
| 66 |
\CustomizeMathJax{\let\symbffrac\mathbffrac} |
| 67 |
\CustomizeMathJax{\newcommand{\mathfence}[1]{\mathord{#1}}} |
| 68 |
\CustomizeMathJax{\newcommand{\mathover}[1]{#1}} |
| 69 |
\CustomizeMathJax{\newcommand{\mathunder}[1]{#1}} |
| 70 |
\CustomizeMathJax{\newcommand{\mathaccent}[1]{#1}} |
| 71 |
\CustomizeMathJax{\newcommand{\mathbotaccent}[1]{#1}} |
| 72 |
\CustomizeMathJax{\newcommand{\mathalpha}[1]{\mathord{#1}}} |
| 73 |
\ExplSyntaxOn |
| 74 |
|
| 75 |
\AtBeginDocument{ |
| 76 |
\bool_if:NTF \g__um_upGreek_bool |
| 77 |
{\LWR@mathjax@addgreek@u@up*{}{}} |
| 78 |
{\LWR@mathjax@addgreek@u@it*{}{}} |
| 79 |
|
| 80 |
\bool_if:NTF \g__um_upgreek_bool |
| 81 |
{\LWR@mathjax@addgreek@l@up{}{}} |
| 82 |
{\LWR@mathjax@addgreek@l@it{}{}} |
| 83 |
} |
| 84 |
|
| 85 |
\LWR@mathjax@addgreek@u@up*{up}{} |
| 86 |
\LWR@mathjax@addgreek@u@it*{it}{} |
| 87 |
\LWR@mathjax@addgreek@l@up{up}{} |
| 88 |
\LWR@mathjax@addgreek@l@it{it}{} |
| 89 |
|
| 90 |
\ExplSyntaxOff |
| 91 |
|
| 92 |
\CustomizeMathJax{\let\lparen(} |
| 93 |
\CustomizeMathJax{\let\rparen)} |
| 94 |
\CustomizeMathJax{\newcommand{\cuberoot}[1]{\,{}^3\!\!\sqrt{#1}}\,} |
| 95 |
\CustomizeMathJax{\newcommand{\fourthroot}[1]{\,{}^4\!\!\sqrt{#1}}\,} |
| 96 |
\CustomizeMathJax{\newcommand{\longdivision}[1]{\mathord{\unicode{x027CC}#1}}} |
| 97 |
|
| 98 |
\CustomizeMathJax{\newcommand{\mathcomma}{,}} |
| 99 |
\CustomizeMathJax{\newcommand{\mathcolon}{:}} |
| 100 |
\CustomizeMathJax{\newcommand{\mathsemicolon}{;}} |
| 101 |
|
| 102 |
\CustomizeMathJax{\newcommand{\overbracket}[1]{\mathinner{\overline{\ulcorner{#1}\urcorner}}}} |
| 103 |
\CustomizeMathJax{\newcommand{\underbracket}[1]{\mathinner{\underline{\llcorner{#1}\lrcorner}}}} |
| 104 |
|
| 105 |
\CustomizeMathJax{\newcommand{\overbar}[1]{\mathord{#1\unicode{x00305}}}} |
| 106 |
\CustomizeMathJax{\newcommand{\ovhook}[1]{\mathord{#1\unicode{x00309}}}} |
| 107 |
\CustomizeMathJax{\newcommand{\ocirc}[1]{\mathord{#1\unicode{x0030A}}}} |
| 108 |
\CustomizeMathJax{\newcommand{\candra}[1]{\mathord{#1\unicode{x00310}}}} |
| 109 |
\CustomizeMathJax{\newcommand{\oturnedcomma}[1]{\mathord{#1\unicode{x00312}}}} |
| 110 |
\CustomizeMathJax{\newcommand{\ocommatopright}[1]{\mathord{#1\unicode{x00315}}}} |
| 111 |
\CustomizeMathJax{\newcommand{\droang}[1]{\mathord{#1\unicode{x0031A}}}} |
| 112 |
\CustomizeMathJax{\newcommand{\leftharpoonaccent}[1]{\mathord{#1\unicode{x020D0}}}} |
| 113 |
\CustomizeMathJax{\newcommand{\rightharpoonaccent}[1]{\mathord{#1\unicode{x020D1}}}} |
| 114 |
\CustomizeMathJax{\newcommand{\vertoverlay}[1]{\mathord{#1\unicode{x020D2}}}} |
| 115 |
\CustomizeMathJax{\newcommand{\leftarrowaccent}[1]{\mathord{#1\unicode{x020D0}}}} |
| 116 |
\CustomizeMathJax{\newcommand{\annuity}[1]{\mathord{#1\unicode{x020E7}}}} |
| 117 |
\CustomizeMathJax{\newcommand{\widebridgeabove}[1]{\mathord{#1\unicode{x020E9}}}} |
| 118 |
\CustomizeMathJax{\newcommand{\asteraccent}[1]{\mathord{#1\unicode{x020F0}}}} |
| 119 |
\CustomizeMathJax{\newcommand{\threeunderdot}[1]{\mathord{#1\unicode{x020E8}}}} |
| 120 |
|
| 121 |
\CustomizeMathJax{\newcommand{\Bbbsum}{\mathop{\unicode{x2140}}\limits}} |
| 122 |
\CustomizeMathJax{\newcommand{\oiint}{\mathop{\unicode{x222F}}\limits}} |
| 123 |
\CustomizeMathJax{\newcommand{\oiiint}{\mathop{\unicode{x2230}}\limits}} |
| 124 |
\CustomizeMathJax{\newcommand{\intclockwise}{\mathop{\unicode{x2231}}\limits}} |
| 125 |
\CustomizeMathJax{\newcommand{\ointclockwise}{\mathop{\unicode{x2232}}\limits}} |
| 126 |
\CustomizeMathJax{\newcommand{\ointctrclockwise}{\mathop{\unicode{x2233}}\limits}} |
| 127 |
\CustomizeMathJax{\newcommand{\varointclockwise}{\mathop{\unicode{x2232}}\limits}} |
| 128 |
\CustomizeMathJax{\newcommand{\leftouterjoin}{\mathop{\unicode{x27D5}}\limits}} |
| 129 |
\CustomizeMathJax{\newcommand{\rightouterjoin}{\mathop{\unicode{x27D6}}\limits}} |
| 130 |
\CustomizeMathJax{\newcommand{\fullouterjoin}{\mathop{\unicode{x27D7}}\limits}} |
| 131 |
\CustomizeMathJax{\newcommand{\bigbot}{\mathop{\unicode{x27D8}}\limits}} |
| 132 |
\CustomizeMathJax{\newcommand{\bigtop}{\mathop{\unicode{x27D9}}\limits}} |
| 133 |
\CustomizeMathJax{\newcommand{\xsol}{\mathop{\unicode{x29F8}}\limits}} |
| 134 |
\CustomizeMathJax{\newcommand{\xbsol}{\mathop{\unicode{x29F9}}\limits}} |
| 135 |
\CustomizeMathJax{\newcommand{\bigcupdot}{\mathop{\unicode{x2A03}}\limits}} |
| 136 |
\CustomizeMathJax{\newcommand{\bigsqcap}{\mathop{\unicode{x2A05}}\limits}} |
| 137 |
\CustomizeMathJax{\newcommand{\conjquant}{\mathop{\unicode{x2A07}}\limits}} |
| 138 |
\CustomizeMathJax{\newcommand{\disjquant}{\mathop{\unicode{x2A08}}\limits}} |
| 139 |
\CustomizeMathJax{\newcommand{\bigtimes}{\mathop{\unicode{x2A09}}\limits}} |
| 140 |
\CustomizeMathJax{\newcommand{\modtwosum}{\mathop{\unicode{x2A0A}}\limits}} |
| 141 |
\CustomizeMathJax{\newcommand{\sumint}{\mathop{\unicode{x2A0B}}\limits}} |
| 142 |
\CustomizeMathJax{\newcommand{\intbar}{\mathop{\unicode{x2A0D}}\limits}} |
| 143 |
\CustomizeMathJax{\newcommand{\intBar}{\mathop{\unicode{x2A0E}}\limits}} |
| 144 |
\CustomizeMathJax{\newcommand{\fint}{\mathop{\unicode{x2A0F}}\limits}} |
| 145 |
\CustomizeMathJax{\newcommand{\cirfnint}{\mathop{\unicode{x2A10}}\limits}} |
| 146 |
\CustomizeMathJax{\newcommand{\awint}{\mathop{\unicode{x2A11}}\limits}} |
| 147 |
\CustomizeMathJax{\newcommand{\rppolint}{\mathop{\unicode{x2A12}}\limits}} |
| 148 |
\CustomizeMathJax{\newcommand{\scpolint}{\mathop{\unicode{x2A13}}\limits}} |
| 149 |
\CustomizeMathJax{\newcommand{\npolint}{\mathop{\unicode{x2A14}}\limits}} |
| 150 |
\CustomizeMathJax{\newcommand{\pointint}{\mathop{\unicode{x2A15}}\limits}} |
| 151 |
\CustomizeMathJax{\newcommand{\sqint}{\mathop{\unicode{x2A16}}\limits}} |
| 152 |
\CustomizeMathJax{\newcommand{\intlarhk}{\mathop{\unicode{x2A17}}\limits}} |
| 153 |
\CustomizeMathJax{\newcommand{\intx}{\mathop{\unicode{x2A18}}\limits}} |
| 154 |
\CustomizeMathJax{\newcommand{\intcap}{\mathop{\unicode{x2A19}}\limits}} |
| 155 |
\CustomizeMathJax{\newcommand{\intcup}{\mathop{\unicode{x2A1A}}\limits}} |
| 156 |
\CustomizeMathJax{\newcommand{\upint}{\mathop{\unicode{x2A1B}}\limits}} |
| 157 |
\CustomizeMathJax{\newcommand{\lowint}{\mathop{\unicode{x2A1C}}\limits}} |
| 158 |
\CustomizeMathJax{\newcommand{\bigtriangleleft}{\mathop{\unicode{x2A1E}}\limits}} |
| 159 |
\CustomizeMathJax{\newcommand{\zcmp}{\mathop{\unicode{x2A1F}}\limits}} |
| 160 |
\CustomizeMathJax{\newcommand{\zpipe}{\mathop{\unicode{x2A20}}\limits}} |
| 161 |
\CustomizeMathJax{\newcommand{\zproject}{\mathop{\unicode{x2A21}}\limits}} |
| 162 |
\CustomizeMathJax{\newcommand{\biginterleave}{\mathop{\unicode{x2AFC}}\limits}} |
| 163 |
\CustomizeMathJax{\newcommand{\bigtalloblong}{\mathop{\unicode{x2AFF}}\limits}} |
| 164 |
\CustomizeMathJax{\newcommand{\arabicmaj}{\mathop{\unicode{x1EEF0}}\limits}} |
| 165 |
\CustomizeMathJax{\newcommand{\arabichad}{\mathop{\unicode{x1EEF1}}\limits}} |
| 166 |
|
| 167 |
\end{warpMathJax} |
| 168 |
\endinput |
| 169 |
%% |
| 170 |
%% End of file `lwarp-unicode-math.sty'. |