Debian Codegraph @

texmf-dist/tex/latex/lwarp/lwarp-physics.sty

raw
1 %%
2 %% This is file `lwarp-physics.sty',
3 %% generated with the docstrip utility.
4 %%
5 %% The original source files were:
6 %%
7 %% lwarp.dtx (with options: `physics')
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{physics}% No date is provided by the package.
19 \begin{warpMathJax}
20 \PackageNoteNoLine{lwarp, physics}{The MathJax v3 extension will be used}
21 \CustomizeMathJax{\require{physics}}
22 \CustomizeMathJax{\newcommand{\LWRphystrig}[2]{\ifblank{#1}{\textrm{#2}}{\textrm{#2}^{#1}}}}
23 \CustomizeMathJax{\renewcommand{\sin}[1][]{\LWRphystrig{#1}{sin}}}
24 \CustomizeMathJax{\renewcommand{\sinh}[1][]{\LWRphystrig{#1}{sinh}}}
25 \CustomizeMathJax{\renewcommand{\arcsin}[1][]{\LWRphystrig{#1}{arcsin}}}
26 \CustomizeMathJax{\renewcommand{\asin}[1][]{\LWRphystrig{#1}{asin}}}
27 \CustomizeMathJax{\renewcommand{\cos}[1][]{\LWRphystrig{#1}{cos}}}
28 \CustomizeMathJax{\renewcommand{\cosh}[1][]{\LWRphystrig{#1}{cosh}}}
29 \CustomizeMathJax{\renewcommand{\arccos}[1][]{\LWRphystrig{#1}{arcos}}}
30 \CustomizeMathJax{\renewcommand{\acos}[1][]{\LWRphystrig{#1}{acos}}}
31 \CustomizeMathJax{\renewcommand{\tan}[1][]{\LWRphystrig{#1}{tan}}}
32 \CustomizeMathJax{\renewcommand{\tanh}[1][]{\LWRphystrig{#1}{tanh}}}
33 \CustomizeMathJax{\renewcommand{\arctan}[1][]{\LWRphystrig{#1}{arctan}}}
34 \CustomizeMathJax{\renewcommand{\atan}[1][]{\LWRphystrig{#1}{atan}}}
35 \CustomizeMathJax{\renewcommand{\csc}[1][]{\LWRphystrig{#1}{csc}}}
36 \CustomizeMathJax{\renewcommand{\csch}[1][]{\LWRphystrig{#1}{csch}}}
37 \CustomizeMathJax{\renewcommand{\arccsc}[1][]{\LWRphystrig{#1}{arccsc}}}
38 \CustomizeMathJax{\renewcommand{\acsc}[1][]{\LWRphystrig{#1}{acsc}}}
39 \CustomizeMathJax{\renewcommand{\sec}[1][]{\LWRphystrig{#1}{sec}}}
40 \CustomizeMathJax{\renewcommand{\sech}[1][]{\LWRphystrig{#1}{sech}}}
41 \CustomizeMathJax{\renewcommand{\arcsec}[1][]{\LWRphystrig{#1}{arcsec}}}
42 \CustomizeMathJax{\renewcommand{\asec}[1][]{\LWRphystrig{#1}{asec}}}
43 \CustomizeMathJax{\renewcommand{\cot}[1][]{\LWRphystrig{#1}{cot}}}
44 \CustomizeMathJax{\renewcommand{\coth}[1][]{\LWRphystrig{#1}{coth}}}
45 \CustomizeMathJax{\renewcommand{\arccot}[1][]{\LWRphystrig{#1}{arccot}}}
46 \CustomizeMathJax{\renewcommand{\acot}[1][]{\LWRphystrig{#1}{acot}}}
47 \end{warpMathJax}
48
49 \endinput
50 %%
51 %% End of file `lwarp-physics.sty'.