summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/simpleicons/simpleicons.sty
blob: e85fcae01aa00a9acfbf8564fcb6852329420d56 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47

\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{simpleicons}[2023/07/07 9.4.0 Simple Icons 9.4.0 Logos]


\RequirePackage{iftex}
\newif\ifsimpleicons@otf\simpleicons@otffalse
\iftutex\simpleicons@otftrue\fi

\newcommand*{\simpleicon}[1]{%
  {\csname simpleicon@#1\endcsname}}

\ifsimpleicons@otf
\usepackage{fontspec}

\newfontfamily{\simpleiconsmap}{SimpleIcons.otf}
\input{simpleiconsglyphs-xeluatex.tex}

\else


  \DeclareRobustCommand\simpleiconsmapone{\fontencoding{U}\fontfamily{simpleiconsone}\selectfont}
  
  \DeclareRobustCommand\simpleiconsmaptwo{\fontencoding{U}\fontfamily{simpleiconstwo}\selectfont}
  
  \DeclareRobustCommand\simpleiconsmapthree{\fontencoding{U}\fontfamily{simpleiconsthree}\selectfont}
  
  \DeclareRobustCommand\simpleiconsmapfour{\fontencoding{U}\fontfamily{simpleiconsfour}\selectfont}
  
  \DeclareRobustCommand\simpleiconsmapfive{\fontencoding{U}\fontfamily{simpleiconsfive}\selectfont}
  
  \DeclareRobustCommand\simpleiconsmapsix{\fontencoding{U}\fontfamily{simpleiconssix}\selectfont}
  
  \DeclareRobustCommand\simpleiconsmapseven{\fontencoding{U}\fontfamily{simpleiconsseven}\selectfont}
  
  \DeclareRobustCommand\simpleiconsmapeight{\fontencoding{U}\fontfamily{simpleiconseight}\selectfont}
  
  \DeclareRobustCommand\simpleiconsmapnine{\fontencoding{U}\fontfamily{simpleiconsnine}\selectfont}
  
  \DeclareRobustCommand\simpleiconsmaponezero{\fontencoding{U}\fontfamily{simpleiconsonezero}\selectfont}
  
\input{simpleiconsglyphs-pdftex.tex}

\fi


\endinput