| 1 |
%% |
| 2 |
%% This is file `lwarp-kpfonts.sty', |
| 3 |
%% generated with the docstrip utility. |
| 4 |
%% |
| 5 |
%% The original source files were: |
| 6 |
%% |
| 7 |
%% lwarp.dtx (with options: `kpfonts') |
| 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 |
\LWR@ProvidesPackagePass{kpfonts}[2010/08/20] |
| 19 |
|
| 20 |
\LWR@infoprocessingmathjax{kpfonts} |
| 21 |
|
| 22 |
\LWR@origRequirePackage{lwarp-common-mathjax-newpxtxmath} |
| 23 |
|
| 24 |
\LWR@origRequirePackage{lwarp-common-mathjax-letters} |
| 25 |
|
| 26 |
\begin{warpMathJax} |
| 27 |
|
| 28 |
\ifkp@calasscr |
| 29 |
\CustomizeMathJax{\let\LWRorigmathscr\mathscr} |
| 30 |
\CustomizeMathJax{\let\LWRorigmathcal\mathcal} |
| 31 |
\CustomizeMathJax{\let\mathscr\LWRorigmathcal} |
| 32 |
\CustomizeMathJax{\let\mathcal\LWRorigmathscr} |
| 33 |
\fi |
| 34 |
|
| 35 |
\ifkp@upgrk % lowercase |
| 36 |
\LWR@mathjax@addgreek@l@up{}{} |
| 37 |
\LWR@mathjax@addgreek@l@it{other}{} |
| 38 |
\else |
| 39 |
\LWR@mathjax@addgreek@l@up{other}{} |
| 40 |
\fi |
| 41 |
|
| 42 |
\ifkp@slGrk |
| 43 |
\LWR@mathjax@addgreek@u@it*{}{} |
| 44 |
\LWR@mathjax@addgreek@u@up*{other}{} |
| 45 |
\LWR@mathjax@addgreek@u@up*{var}{} |
| 46 |
\else |
| 47 |
\LWR@mathjax@addgreek@u@it*{other}{} |
| 48 |
\LWR@mathjax@addgreek@u@it*{var}{} |
| 49 |
\fi |
| 50 |
|
| 51 |
\LWR@mathjax@addgreek@u@up*{}{up} |
| 52 |
\LWR@mathjax@addgreek@l@up{}{up} |
| 53 |
|
| 54 |
\LWR@mathjax@addgreek@u@it*{}{sl} |
| 55 |
\LWR@mathjax@addgreek@l@it{}{sl} |
| 56 |
|
| 57 |
\CustomizeMathJax{\newcommand{\partialsl}{\mathord{\unicode{x1D715}}}} |
| 58 |
\CustomizeMathJax{\let\partialup\uppartial}% not upright |
| 59 |
|
| 60 |
\ifkp@oldReIm |
| 61 |
\else |
| 62 |
\CustomizeMathJax{\renewcommand{\Re}{\mathfrak{Re}}} |
| 63 |
\CustomizeMathJax{\renewcommand{\Im}{\mathfrak{Im}}} |
| 64 |
\fi |
| 65 |
|
| 66 |
\ifkp@Dcommand |
| 67 |
\ifkp@upRm% |
| 68 |
\CustomizeMathJax{ |
| 69 |
\def\D#1{\mathclose{\,\mathrm{d}}#1} |
| 70 |
} |
| 71 |
\else |
| 72 |
\CustomizeMathJax{ |
| 73 |
\def\D#1{\mathclose{\,\mathit{d}}#1} |
| 74 |
} |
| 75 |
\fi |
| 76 |
\fi |
| 77 |
|
| 78 |
\CustomizeMathJax{\let\pounds\mathsterling} |
| 79 |
\CustomizeMathJax{\let\kppounds\mathsterling} |
| 80 |
|
| 81 |
\CustomizeMathJax{\newcommand{\mathup}[1]{\mathrm{#1}}}% never sans |
| 82 |
\CustomizeMathJax{\let\mathupright\mathup} |
| 83 |
|
| 84 |
\end{warpMathJax} |
| 85 |
|
| 86 |
\endinput |
| 87 |
%% |
| 88 |
%% End of file `lwarp-kpfonts.sty'. |