diff options
author | Karl Berry <karl@freefriends.org> | 2020-11-20 22:12:01 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2020-11-20 22:12:01 +0000 |
commit | dc92c0b1de77d6b3085e6eacf05e82275f518b3b (patch) | |
tree | 37467c70dd73b1d94c7120ca24a9d0969e17967c /Master/texmf-dist/tex/latex/orcidlink | |
parent | 49382334020bb22be68d235c36623574c9f2a66d (diff) |
orcidlink (20nov20)
git-svn-id: svn://tug.org/texlive/trunk@56970 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/orcidlink')
-rw-r--r-- | Master/texmf-dist/tex/latex/orcidlink/orcidlink.sty | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/orcidlink/orcidlink.sty b/Master/texmf-dist/tex/latex/orcidlink/orcidlink.sty new file mode 100644 index 00000000000..71d5f2aa57c --- /dev/null +++ b/Master/texmf-dist/tex/latex/orcidlink/orcidlink.sty @@ -0,0 +1,50 @@ +%% +%% This is file `orcidlink.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% orcidlink.dtx (with options: `package') +%% +%% This is a generated file. +%% +%% Copyright (C) 2020 by Leo C. Stein <leo.stein@gmail.com> +%% -------------------------------------------------------------------------- +%% This work may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either version 1.3 +%% 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. +%% +\NeedsTeXFormat{LaTeX2e}[1999/12/01] +\ProvidesPackage{orcidlink} + [2020/11/19 v1.0.0 Linked ORCiD logo macro package] +\usepackage{orcidlink} +|\orcidlink| \marg{orcid}\newline +\author{Emmy Noether\,\orcidlink{0000-0000-0000-0000}} +\NeedsTeXFormat{LaTeX2e}[1994/06/01] +\ProvidesPackage{orcidlink}[2019/12/12 Linked ORCiD logo macro package] +\RequirePackage{hyperref} +\RequirePackage{scalerel} +\RequirePackage{tikz} +\ProcessOptions\relax +\usetikzlibrary{svg.path} +\definecolor{orcidlogocol}{HTML}{A6CE39} +\tikzset{ + orcidlogo/.pic={ + \fill[orcidlogocol] svg{M256,128c0,70.7-57.3,128-128,128C57.3,256,0,198.7,0,128C0,57.3,57.3,0,128,0C198.7,0,256,57.3,256,128z}; + \fill[white] svg{M86.3,186.2H70.9V79.1h15.4v48.4V186.2z} + svg{M108.9,79.1h41.6c39.6,0,57,28.3,57,53.6c0,27.5-21.5,53.6-56.8,53.6h-41.8V79.1z M124.3,172.4h24.5c34.9,0,42.9-26.5,42.9-39.7c0-21.5-13.7-39.7-43.7-39.7h-23.7V172.4z} + svg{M88.7,56.8c0,5.5-4.5,10.1-10.1,10.1c-5.6,0-10.1-4.6-10.1-10.1c0-5.6,4.5-10.1,10.1-10.1C84.2,46.7,88.7,51.3,88.7,56.8z}; + } +} +\newcommand\orcidlink[1]{\href{https://orcid.org/#1}{\mbox{\scalerel*{ +\begin{tikzpicture}[yscale=-1,transform shape] +\pic{orcidlogo}; +\end{tikzpicture} +}{|}}}} +\endinput +%% +%% End of file `orcidlink.sty'. |