generated from swissmanu/mse-paper-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ccicons.sty
110 lines (110 loc) · 4.22 KB
/
ccicons.sty
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
%%
%% This is file `ccicons.sty',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% ccicons.dtx (with options: `package')
%%
%% This is a generated file.
%%
%% Copyright (C) 2011-2017 by Michael Ummels <michael.ummels@rwth-aachen.de>
%%
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either version 1.3c
%% of this license or (at your option) any later version.
%% The latest version of this license is in
%% http://www.latex-project.org/lppl.txt
%% and version 1.3 or later is part of all distributions of LaTeX
%% version 2005/12/01 or later.
%%
%% This work has the LPPL maintenance status `maintained'.
%%
%% The Current Maintainer of this work is Michael Ummels.
%%
%% This work consists of the files ccicons.dtx, ccicons.ins
%% and the derived files ccicons.pdf and ccicons.sty.
%%
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
\ProvidesPackage{ccicons}[2017/10/30 v1.6 LaTeX support for Creative Commons icons]
\RequirePackage{xkeyval}
\define@boolkey{ccicons.sty}[ccicons@]{copyright}[true]{}
\newcommand{\ccicons@scale}{1.0}
\define@key{ccicons.sty}{scale}{\renewcommand\ccicons@scale{#1}}
\ProcessOptionsX
\DeclareFontFamily{U}{ccicons}{}
\DeclareFontShape{U}{ccicons}{m}{n}{
<-> s * [\ccicons@scale] ccicons
}{}
\newcommand{\ccicons@font}{\usefont{U}{ccicons}{m}{n}}
\newcommand{\ccicons@logo}{\char0}
\newcommand{\ccicons@by}{\char1}
\newcommand{\ccicons@sa}{\char2}
\newcommand{\ccicons@nd}{\char3}
\newcommand{\ccicons@nc}{\char4}
\newcommand{\ccicons@nceu}{\char5}
\newcommand{\ccicons@ncjp}{\char6}
\newcommand{\ccicons@pd}{\char7}
\newcommand{\ccicons@zero}{\char8}
\newcommand{\ccicons@sampling}{\char9}
\newcommand{\ccicons@share}{\char10}
\newcommand{\ccicons@remix}{\char11}
\newcommand{\ccicons@copy}{\char12}
\newcommand{\ccicons@pdalt}{\char13}
\newcommand{\ccLogo}{{\ccicons@font\ccicons@logo}}
\newcommand{\ccAttribution}{{\ccicons@font\ccicons@by}}
\newcommand{\ccShareAlike}{{\ccicons@font\ccicons@sa}}
\newcommand{\ccNoDerivatives}{{\ccicons@font\ccicons@nd}}
\newcommand{\ccNonCommercial}{{\ccicons@font\ccicons@nc}}
\newcommand{\ccNonCommercialEU}{{\ccicons@font\ccicons@nceu}}
\newcommand{\ccNonCommercialJP}{{\ccicons@font\ccicons@ncjp}}
\newcommand{\ccPublicDomain}{{\ccicons@font\ccicons@pd}}
\newcommand{\ccPublicDomainAlt}{{\ccicons@font\ccicons@pdalt}}
\newcommand{\ccZero}{{\ccicons@font\ccicons@zero}}
\newcommand{\ccSampling}{{\ccicons@font\ccicons@sampling}}
\newcommand{\ccShare}{{\ccicons@font\ccicons@share}}
\newcommand{\ccRemix}{{\ccicons@font\ccicons@remix}}
\newcommand{\ccCopy}{{\ccicons@font\ccicons@copy}}
\ifccicons@copyright\renewcommand{\textcopyright}{\ccCopy}\fi
\newcommand{\ccby}%
{\mbox{\ccicons@font\ccicons@logo\kern0.1em\ccicons@by}}
\newcommand{\ccbysa}%
{\mbox{\ccicons@font\ccicons@logo\kern0.1em\ccicons@by%
\kern0.1em\ccicons@sa}}
\newcommand{\ccbynd}%
{\mbox{\ccicons@font\ccicons@logo\kern0.1em\ccicons@by%
\kern0.1em\ccicons@nd}}
\newcommand{\ccbync}%
{\mbox{\ccicons@font\ccicons@logo\kern0.1em\ccicons@by%
\kern0.1em\ccicons@nc}}
\newcommand{\ccbynceu}%
{\mbox{\ccicons@font\ccicons@logo\kern0.1em\ccicons@by%
\kern0.1em\ccicons@nceu}}
\newcommand{\ccbyncjp}%
{\mbox{\ccicons@font\ccicons@logo\kern0.1em\ccicons@by%
\kern0.1em\ccicons@ncjp}}
\newcommand{\ccbyncsa}%
{\mbox{\ccicons@font\ccicons@logo\kern0.1em\ccicons@by%
\kern0.1em\ccicons@nc\kern0.1em\ccicons@sa}}
\newcommand{\ccbyncsaeu}%
{\mbox{\ccicons@font\ccicons@logo\kern0.1em\ccicons@by%
\kern0.1em\ccicons@nceu\kern0.1em\ccicons@sa}}
\newcommand{\ccbyncsajp}%
{\mbox{\ccicons@font\ccicons@logo\kern0.1em\ccicons@by%
\kern0.1em\ccicons@ncjp\kern0.1em\ccicons@sa}}
\newcommand{\ccbyncnd}%
{\mbox{\ccicons@font\ccicons@logo\kern0.1em\ccicons@by%
\kern0.1em\ccicons@nc\kern0.1em\ccicons@nd}}
\newcommand{\ccbyncndeu}%
{\mbox{\ccicons@font\ccicons@logo\kern0.1em\ccicons@by%
\kern0.1em\ccicons@nceu\kern0.1em\ccicons@nd}}
\newcommand{\ccbyncndjp}%
{\mbox{\ccicons@font\ccicons@logo\kern0.1em\ccicons@by%
\kern0.1em\ccicons@ncjp\kern0.1em\ccicons@nd}}
\newcommand{\cczero}%
{\mbox{\ccicons@font\ccicons@logo\kern0.1em\ccicons@zero}}
\newcommand{\ccpd}%
{\mbox{\ccicons@font\ccicons@logo\kern0.1em\ccicons@pd}}
%%
%%
%% End of file `ccicons.sty'.