Skip to content

duetosymmetry/orcidlink-LaTeX-command

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

orcidlink-LaTeX-command

LaTeX style file to add a macro for inserting a linked ORCiD logo

This LaTeX style file just defines a single macro, \orcidlink. The code is from this TeX.SE answer. My contribution was wrapping it into a style file (and improving the fragility of the command a bit).

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: Author LaTeX render preview image

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-2023. This material is subject to the LaTeX Project Public License 1.3c.