Debian Codegraph @

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

raw
1 %%
2 %% This is file `lwarp-unitsdef.sty',
3 %% generated with the docstrip utility.
4 %%
5 %% The original source files were:
6 %%
7 %% lwarp.dtx (with options: `unitsdef')
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{unitsdef}[2005/01/04]
20 \newcommand{\LWR@HTML@unitvaluesep}{\,}
21 \LWR@formatted{unitvaluesep}
22
23 \newcommand{\LWR@HTML@unittimes}{\@@setunitsepfalse\HTMLunicode{22c5}}% \cdot
24 \LWR@formatted{unittimes}
25
26 \newunit{\LWR@HTML@arcmin}{%
27 \HTMLunicode{2032}% prime
28 }
29 \LWR@formatted{arcmin}
30
31 \newunit{\LWR@HTML@arcsec}{%
32 \HTMLunicode{2033}% dbl prime
33 }
34 \LWR@formatted{arcsec}
35
36 \newrobustcmd{\LWR@HTML@SI}[2]{%
37 \begingroup%
38 \let\unit@@xspace\relax%
39 \unitSIdef\selectfont%
40 \LWR@textcurrentfont{#1#2}% lwarp
41 \endgroup%
42 }
43 \LWR@formatted{SI}
44 \endinput
45 %%
46 %% End of file `lwarp-unitsdef.sty'.