Directory macros/latex/contrib/orcidlink
orcidlink-LaTeX-command
LaTeX style file to add a macro for inserting a linked ORCiD logo
This LaTeX style file defines \orcidlink
and a few related macros. The code is from this TeX.SE answer. I wrapped it into a style file and improved the fragility of the command a bit. Later (at the suggestion of Hugo Heagren) we added the \orcidlogo
command, and commands for the three recommended formats: full, compact, and inline, with commands \orcidlinkf
, \orcidlinkc
, and \orcidlinki
.
Installation
If orcidlink
is already provided in your TeX distribution, skip this section. You should be able to install orcidlink
from the CTAN via your distribution's utility (e.g. the TeX Live Utility). Alternatively, you can get the package from the source repository on GitHub. If you do not want to do a "full" installation, just copy orcidlink.sty into the same directory as your LaTeX source.
Usage
In your preamble, add:
\usepackage{orcidlink}
When you want to insert the hyperlinked ORCiD logo, use \orcidlink{0000-0000-0000-0000}
, replacing the digits with your ORCiD (just the digits, not your whole URL). This is most common in the author list. For example, in a revtex article, you would write e.g.
\author{Emmy Noether\,\orcidlink{0000-0000-0000-0000}} ...
This will appear as a clickable hyperlink, and will look like this:
If you simply want the ORCiD logo without a hyperlink anywhere, use \orcidlogo
.
ORCiD’s guidelines recommend three formats: full, compact, and inline. The three formats are available, through \orcidlinkf{orcid}
, \orcidlinkc{orcid}
, and \orcidlinki{Name}{orcid}
.
Dependancies and Compatibility
This package relies on the following packages:
All of these packages are included in the popular TeX Live distribution, so most users should not have to install anything new.
If you want to pass options to either of these packages, load them before you load orcidlink
. Similarly, if you want to specify options to e.g. xcolor
, load xcolor
before loading tikz
or orcidlink
.
Credits
The original TikZ icon code was created by user Milo on TeX.SE. This package was created and is maintained by Leo C. Stein, (c) 2019-2024. This material is subject to the LaTeX Project Public License 1.3c.
Download the contents of this package in one zip archive (185.0k).
orcidlink – Insert hyperlinked ORCiD logo
This package provides a command to insert the ORCiD logo, which is hyperlinked to the URL of the researcher whose iD was specified.
Package | orcidlink |
Bug tracker | https://github.com/duetosymmetry/orcidlink-LaTeX-command/issues |
Repository | https://github.com/duetosymmetry/orcidlink-LaTeX-command |
Version | 1.1.0 2024-06-26 |
Licenses | The LaTeX Project Public License 1.3 |
Copyright | 2019–2024 Leo Stein |
Maintainer | Leo Stein |
Contained in | TeX Live as orcidlink MiKTeX as orcidlink |
Topics | Graphics symbols Hyper PGF TikZ |
See also | doi |