Debian Codegraph @

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

raw
1 %%
2 %% This is file `lwarp-ar.sty',
3 %% generated with the docstrip utility.
4 %%
5 %% The original source files were:
6 %%
7 %% lwarp.dtx (with options: `ar')
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{ar}[2012/01/23]
19 \newlength{\LWR@ar@width}
20
21 \newcommand*{\LWR@ar@printwidth}[1]{%
22 \setlength{\LWR@ar@width}{\widthof{#1}}%
23 width:%
24 \LWR@convertto{em}{\the\LWR@ar@width}em%
25 }
26 \newrobustcmd*{\LWR@HTML@AR}{%
27 \begin{lateximage}*[AR][\LWR@f@series][\LWR@ar@printwidth{\LWR@print@AR}]%
28 \ifmmode\else\csuse{LWR@orig\LWR@f@series series}\fi%
29 \LWR@print@AR%
30 \end{lateximage}%
31 }
32 \LWR@formatted{AR}
33 \newrobustcmd*{\LWR@HTML@ARb}{%
34 \begin{lateximage}*[AR][b][\LWR@ar@printwidth{\LWR@print@ARb}]%
35 \LWR@print@ARb%
36 \end{lateximage}%
37 }
38 \LWR@formatted{ARb}
39 \newrobustcmd*{\LWR@HTML@ARss}{%
40 \begin{lateximage}*[ARss][\LWR@f@series][\LWR@ar@printwidth{\LWR@print@ARss}]%
41 \ifmmode\else\csuse{LWR@orig\LWR@f@series series}\fi%
42 \LWR@print@ARss%
43 \end{lateximage}%
44 }
45 \LWR@formatted{ARss}
46 \newrobustcmd*{\LWR@HTML@ARssb}{%
47 \begin{lateximage}*[AR][ssb][\LWR@ar@printwidth{\LWR@print@ARssb}]%
48 \LWR@print@ARssb%
49 \end{lateximage}%
50 }
51 \LWR@formatted{ARssb}
52 \newrobustcmd*{\LWR@HTML@ARtt}{%
53 \begin{lateximage}*[AR][tt][\LWR@ar@printwidth{\LWR@print@ARtt}]%
54 \LWR@print@ARtt%
55 \end{lateximage}%
56 }
57 \LWR@formatted{ARtt}
58 \begin{warpMathJax}
59 \CustomizeMathJax{\newcommand{\AR}{\mathit{A\!\!R}}}
60 \CustomizeMathJax{\newcommand{\ARb}{\boldsymbol{A\!\!R}}}
61 \end{warpMathJax}
62
63 \endinput
64 %%
65 %% End of file `lwarp-ar.sty'.