%%
%% 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/03/19} {}
  {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 ProjLib
        \group_end:
      }
    \endinput
  }


\RequirePackage { tikz }

\cs_new_protected:Nn \projlib_logo_generic:
  {
    \skip_horizontal:n { .2em }
    \begin{tikzpicture}[line~width=.1em, baseline=0]
      \begin{scope}[color=blue!50!cyan!30!black]
        \draw (0.22em,.5em) circle (.22em);
        \draw (0em,0em) -- (0em,.5em);
      \end{scope}
      \begin{scope}[color=blue!50!cyan!40!black, xshift=.65em]
        \draw (0em,0em) -- (0em,.25em) arc [start~angle=180, end~angle=90, radius=.2em];
      \end{scope}
      \begin{scope}[color=blue!50!cyan!45!black, xshift=1.0em]
        \draw (0.2em,.24em) circle (.2em);
      \end{scope}
      \begin{scope}[color=blue!50!cyan!50!black, xshift=1.65em]
        \draw (0em,-.25em) -- (0em,.5em);
        \begin{scope}[yshift=.75em]
          % \draw[line~width=.032em, color=orange!60!yellow, 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=orange!60!yellow] (0,0) circle (.13em);
        \end{scope}
      \end{scope}
      \begin{scope}[color=blue!50!cyan!67!black, xshift=2.0em]
        \draw (0em,0em) -- (0em,.75em);
      \end{scope}
      \begin{scope}[color=blue!50!cyan!75!black, xshift=2.35em]
        \draw (0em,0em) -- (0em,.5em);
      \end{scope}
      \begin{scope}[color=blue!50!cyan!90!black, xshift=2.63em]
        \draw (0.2em,.24em) circle (.2em);
        \draw (0em,0.24em) -- (0em,.75em);
      \end{scope}
    \end{tikzpicture}
    \skip_horizontal:n { .2em }
  }

\DeclareRobustCommand * \ProjLib
  {
    \projlib_logo_generic:
  }

\endinput
%%
%% End of file `projlib-logo.sty'.
