diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/projlib/projlib-logo.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/projlib/projlib-logo.sty | 83 |
1 files changed, 36 insertions, 47 deletions
diff --git a/Master/texmf-dist/tex/latex/projlib/projlib-logo.sty b/Master/texmf-dist/tex/latex/projlib/projlib-logo.sty index 2aec50e7db3..b6d568e82fb 100644 --- a/Master/texmf-dist/tex/latex/projlib/projlib-logo.sty +++ b/Master/texmf-dist/tex/latex/projlib/projlib-logo.sty @@ -19,7 +19,7 @@ \RequirePackage{l3keys2e} \ProvidesExplPackage {projlib-logo} - {2022/03/17} {} + {2022/03/19} {} {The ProjLib logo} \keys_define:nn { projlib-logo } @@ -42,59 +42,48 @@ \endinput } -\cs_if_exist:cTF { fontspec } - { - \newfontface \__projlib_logo_font: { LinBiolinum_R.otf } - } - { - \RequirePackage [T1] { fontenc } - \cs_gset:Nn \__projlib_logo_font: - { \fontfamily { LinuxBiolinumT-TLF } \selectfont } - } -\tl_new:N \g__projlib_logo_sigma_j_tl -\tl_gset:Nn \g__projlib_logo_sigma_j_tl - { - \vbox:n - { - \offinterlineskip - \hbox_overlap_center:n - { - \skip_horizontal:n { 0.75ex } - \hbox_set:Nn \l_tmpa_box { \usefont{U}{zeur}{b}{n} \symbol{"06} } - \box_rotate:Nn \l_tmpa_box { -10 } - \box_scale:Nnn \l_tmpa_box {.4} {.4} - \box_use:N \l_tmpa_box - } - \skip_vertical:n { 0.15ex } - \hbox:n { \j } - } - } +\RequirePackage { tikz } -\cs_new_protected:Nn \projlib_logo_generic:n +\cs_new_protected:Nn \projlib_logo_generic: { - \group_begin: - \normalfont - \__projlib_logo_font: - \color_group_begin: - \color_select:n { blue!60!cyan } { P } - \color_select:n { blue!45!cyan } { r } - \color_select:n { blue!30!cyan } { o } - \color_select:n { green!70!black!70 } { #1 } - \color_select:n { red!20!yellow } { L } - \color_select:n { red!40!yellow } { i } - \color_select:n { red!60!yellow } { b } - \color_group_end: - \group_end: + \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:n { \g__projlib_logo_sigma_j_tl } - } -\DeclareRobustCommand * \ProjLibText - { - \projlib_logo_generic:n { j } + \projlib_logo_generic: } \endinput |