diff options
author | Karl Berry <karl@freefriends.org> | 2021-05-19 20:01:31 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2021-05-19 20:01:31 +0000 |
commit | 7ab648a536bdf717c5cdd8b1a4914cb3c4b4cee4 (patch) | |
tree | 9d0d8e4fdae6586557b5a9d72b0942ec9d7b0818 /Master/texmf-dist/tex/latex/projlib/PJLlogo.sty | |
parent | cc53a2c30201f9ac5454b948e94340a692aa3ebe (diff) |
projlib (19may21)
git-svn-id: svn://tug.org/texlive/trunk@59271 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/projlib/PJLlogo.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/projlib/PJLlogo.sty | 78 |
1 files changed, 78 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/projlib/PJLlogo.sty b/Master/texmf-dist/tex/latex/projlib/PJLlogo.sty new file mode 100644 index 00000000000..685c98af621 --- /dev/null +++ b/Master/texmf-dist/tex/latex/projlib/PJLlogo.sty @@ -0,0 +1,78 @@ +%% +%% This is file `PJLlogo.sty', +%% generated with the docstrip utility. + +%% Copyright (C) 2021 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] +\ProvidesPackage{PJLlogo} + [2021/05/19 The ProjLib logo] +\RequirePackage{kvoptions} +\RequirePackage{etoolbox} +\SetupKeyvalOptions{ + family = @PJLlogo, + prefix = @PJLlogo@, +} +\DeclareBoolOption[false]{draft} +\DeclareBoolOption[false]{fast} +\ProcessKeyvalOptions*\relax +\if@PJLlogo@draft + \@PJLlogo@fasttrue +\fi +\if@PJLlogo@fast\def\ProjLib{{\normalfont ProjLib}}\endinput\fi + +\RequirePackage{xcolor} +\RequirePackage{graphicx} +\RequirePackage{iftex} +\ifdefined\fontspec + \newcommand{\PJLlogo@font}{\normalfont\fontspec{LinBiolinum_R.otf}\selectfont} +\else + \PassOptionsToPackage{T1}{fontenc} + \RequirePackage{fontenc} + \newcommand{\PJLlogo@font}{\normalfont\fontfamily{LinuxBiolinumT-TLF}\selectfont} +\fi +\DeclareSymbolFont{PJLupright}{U}{zeur}{b}{n} +\DeclareMathSymbol{\PJLSigma}{\mathalpha}{PJLupright}{"06} + +\providecommand*{\ProjLib}{% +\begingroup% +\PJLlogo@font% +\color{blue!60!cyan}P% +\color{blue!45!cyan}r% +\color{blue!30!cyan}o% +\color{green!70!black}\j% +\kern-0.266em\raisebox{0.56em}{\scalebox{0.4}{\rotatebox{-10}{$\PJLSigma$}}}% +\kern-0.065em% +\color{red!20!yellow}L% +\color{red!40!yellow}i% +\color{red!60!yellow}b% +\endgroup% +} + +\providecommand*{\ProjLibText}{% +\begingroup% +\PJLlogo@font% +\color{blue!60!cyan}P% +\color{blue!45!cyan}r% +\color{blue!30!cyan}o% +\color{green!70!black}j% +\color{red!20!yellow}L% +\color{red!40!yellow}i% +\color{red!60!yellow}b% +\endgroup% +} + +\endinput +%% +%% End of file `PJLlogo.sty'. |