-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdevicons.sty
23 lines (18 loc) · 1.03 KB
/
devicons.sty
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
%% based on furl's latex-fontawesome project.
% Identify this package.
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{devicons}[2018/10/22 Provides devicons icons]
% Requirements to use.
\usepackage{fontspec}
% Define shortcut to load the Font Awesome font.
\newfontfamily{\DIs}{icomoon}
% Generic command displaying an icon by its name.
\newcommand*{\icomoon}[1]{{
\DIs\csname icomoon@#1\endcsname
}}
\expandafter\def\csname icomoon@haskell\endcsname { \symbol{"E677}} \def\disHaskell {{\DIs\csname icomoon@haskell\endcsname}}
\expandafter\def\csname icomoon@clojure-alt\endcsname { \symbol{"E66A}} \def\disClojurePlain {{\DIs\csname icomoon@clojure-alt\endcsname}}
\expandafter\def\csname icomoon@gcp\endcsname { \symbol{"E6B2}} \def\disGCP {{\DIs\csname icomoon@gcp\endcsname}}
\expandafter\def\csname icomoon@visual-studio\endcsname { \symbol{"E60C}} \def\disVisualStudio {{\DIs\csname icomoon@visual-studio\endcsname}}
\expandafter\def\csname icomoon@scala\endcsname { \symbol{"E637}} \def\disScala {{\DIs\csname icomoon@scala\endcsname}}
\endinput