diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/orcidlink')
-rw-r--r-- | Master/texmf-dist/tex/latex/orcidlink/orcidlink.sty | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/Master/texmf-dist/tex/latex/orcidlink/orcidlink.sty b/Master/texmf-dist/tex/latex/orcidlink/orcidlink.sty index 71d5f2aa57c..20f8c86b1d2 100644 --- a/Master/texmf-dist/tex/latex/orcidlink/orcidlink.sty +++ b/Master/texmf-dist/tex/latex/orcidlink/orcidlink.sty @@ -18,19 +18,20 @@ %% 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] +\ProvidesPackage{orcidlink} + [2020/11/21 v1.0.2 Linked ORCiD logo macro package] + +%% All I did was package up Milo's code on TeX.SE, +%% see https://tex.stackexchange.com/a/445583/34063 \RequirePackage{hyperref} \RequirePackage{scalerel} \RequirePackage{tikz} + \ProcessOptions\relax + \usetikzlibrary{svg.path} + \definecolor{orcidlogocol}{HTML}{A6CE39} \tikzset{ orcidlogo/.pic={ @@ -40,11 +41,13 @@ 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*{ + +\newcommand\orcidlink[1]{\texorpdfstring{\href{https://orcid.org/#1}{\mbox{\scalerel*{ \begin{tikzpicture}[yscale=-1,transform shape] \pic{orcidlogo}; \end{tikzpicture} -}{|}}}} +}{|}}}}{}} + \endinput %% %% End of file `orcidlink.sty'. |