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
|
%%
%% This is file `projlib-logo.sty',
%% generated with the docstrip utility.
%% Copyright (C) 2021-2022 by Jinwen XU
%%
%% This is part of the ProjLib Toolkit.
%%
%% 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.3c or later is part of all distributions of LaTeX version
%% 2005/12/01 or later.
%%
\NeedsTeXFormat{LaTeX2e}[2020-10-01]
\RequirePackage{l3keys2e}
\ProvidesExplPackage
{projlib-logo}
{2022/04/18} {}
{The ProjLib logo}
\keys_define:nn { projlib-logo }
{
, draft .bool_set:N = \l__projlib_logo_fast_bool
, draft .initial:n = { false }
, fast .bool_set:N = \l__projlib_logo_fast_bool
, unknown .code:n = {}
}
\ProcessKeysOptions { projlib-logo }
\bool_if:NT \l__projlib_logo_fast_bool
{
\DeclareRobustCommand * \ProjLib
{
\group_begin:
\normalfont\sffamily ProjLib
\group_end:
}
\DeclareRobustCommand * \ProjLibText
{
\group_begin:
\normalfont\sffamily ProjLib
\group_end:
}
\endinput
}
\RequirePackage { tikz }
\cs_new_protected:Nn \projlib_logo_generic:nn
{
\colorlet{projlib-logo-saved-color}{.}
\skip_horizontal:n { .2em }
\begin{tikzpicture}[line~width=.1em, baseline=0]
\begin{scope}[color=#1!30!projlib-logo-saved-color]
\draw (0.22em,.5em) circle (.22em);
\draw (0em,0em) -- (0em,.5em);
\end{scope}
\begin{scope}[color=#1!40!projlib-logo-saved-color, xshift=.65em]
\draw (0em,0em) -- (0em,.25em) arc [start~angle=180, end~angle=90, radius=.2em];
\end{scope}
\begin{scope}[color=#1!45!projlib-logo-saved-color, xshift=1.0em]
\draw (0.2em,.24em) circle (.2em);
\end{scope}
\begin{scope}[color=#1!50!projlib-logo-saved-color, xshift=1.65em]
\draw (0em,-.25em) -- (0em,.5em);
\begin{scope}[yshift=.75em]
% \draw[line~width=.032em, color=#2, xshift=.01em, yshift=-.003em] (0,0) circle (.13em);
% \node[rotate=-15,scale=0.45, xshift=.033em] { \usefont{U}{zeur}{b}{n} \symbol{"02} };
\draw[line~width=.06em, color=#2] (0,0) circle (.13em);
\end{scope}
\end{scope}
\begin{scope}[color=#1!67!projlib-logo-saved-color, xshift=2.0em]
\draw (0em,0em) -- (0em,.75em);
\end{scope}
\begin{scope}[color=#1!75!projlib-logo-saved-color, xshift=2.35em]
\draw (0em,0em) -- (0em,.5em);
\end{scope}
\begin{scope}[color=#1!90!projlib-logo-saved-color, xshift=2.63em]
\draw (0.2em,.24em) circle (.2em);
\draw (0em,0.24em) -- (0em,.75em);
\end{scope}
\end{tikzpicture}
\skip_horizontal:n { .1em }
}
\DeclareRobustCommand * \ProjLib
{
\projlib_logo_generic:nn { blue!50!cyan } { orange!60!yellow }
}
\DeclareRobustCommand * \ProjLibText
{
\projlib_logo_generic:nn { projlib-logo-saved-color } { projlib-logo-saved-color }
}
\endinput
%%
%% End of file `projlib-logo.sty'.
|