Debian Codegraph @

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

raw
1 %%
2 %% This is file `lwarp-typicons.sty',
3 %% generated with the docstrip utility.
4 %%
5 %% The original source files were:
6 %%
7 %% lwarp.dtx (with options: `typicons')
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{typicons}[2015/05/20]
20 \LetLtxMacro\LWR@orig@symbol\symbol
21
22 \let\LWR@orig@typicon@TI\TI
23
24 \newcommand*{\LWR@typicon@symbol}[1]{%
25 \begin{lateximage}*[typicon][typicon#1]%
26 \begingroup%
27 \LWR@orig@typicon@TI%
28 \LWR@orig@symbol{#1}%
29 \endgroup%
30 \end{lateximage}%
31 }
32
33 \renewcommand*{\TI}{%
34 \LetLtxMacro\symbol\LWR@typicon@symbol%
35 }
36
37 \renewcommand*{\ticon}[1]
38 {%
39 \begin{lateximage}*[#1 icon]?[typicon#1]%
40 \TI\csname ticon@#1\endcsname%
41 \end{lateximage}%
42 }
43 \endinput
44 %%
45 %% End of file `lwarp-typicons.sty'.