Debian Codegraph @

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

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