IEEEtran - How to include ORCID in TeX/PDF with PdfLatex

I would like to display the ORCID id in author list in IEEEtran pdf, like that

Is there a standard way to include it in an IEEEtran article with PdfLaTex? I used two approaches in Is there a standard way to include ORCID in TeX / PDF?, but I failed.

One is to insert the ORCID icon in the author list. I used the blow code:

\author{Ali Al-Obaidi \href{https://orcid.org/0000-0000-0000-0000}{\includegraphics[scale=1]{figures/orcid_16x16.png}}}


where orchid_16x16.png is provided in the link https://orcid.org/trademark-and-id-display-guidelines. But the result is that the icon is not clear enough, even I replaced it with the different size.

The other approach is to use the academicons package, like that

\usepackage{academicons}
\definecolor{orcidlogocol}{HTML}{A6CE39}
\author{AAA \href{https://orcid.org/0000-0000-0000-0000}{\textcolor{orcidlogocol}{\aiOrcid}}}


However, the result is like that:

And I also got two errors "Latex Error: Encoding scheme 'TU' unknown" and "Bad character code (59865)". In the lastest academicons.sty (see ftp://ftp.dante.de/tex-archive/fonts/academicons/academicons.sty), academicons use the font TU. However, it seems that the compiler PdfLatex cannot support this font.

Thus, is there anyone that knows a standard way to include it in an IEEEtran article with PdfLaTex? Help me.

• \usepackage{academicons} doesn't work with pdflatex – Milo Aug 11 '18 at 2:25

Here is a pdflatex solution which uses tikz and the original .svg of the orcid icon.

Here are the steps:

1. Using the svg.path TikZ library you can faithfully replicate the icon.

2. I've used the scalerel package to scale the icon to the size of | (a vertical bar). This means it scales nicely with the size of the font. No special reason for choosing | other than it makes the size and placement roughly match the guidelines on the orcid website, which illustrate the icon placement should look something like this:

1. This has all been wrapped in a command called orcidicon which takes as an input the orcid code, e.g. \orcidicon{0000-0000-0000-0000}.

2. \href takes care of making it hyperlinked.

Note to get a bit of additional spacing after the logo I've used \, to add some thinspace.

Inspired by Using TikZ to create a custom word which combines an svg image and text.

CODE

\documentclass{IEEEtran}
\usepackage{scalerel}
\usepackage{tikz}
\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\orcidicon[1]{\href{https://orcid.org/#1}{\mbox{\scalerel*{
\begin{tikzpicture}[yscale=-1,transform shape]
\pic{orcidlogo};
\end{tikzpicture}
}{|}}}}

\usepackage{hyperref} %<--- Load after everything else

\begin{document}

\title{Title goes here}
\author{John Doe \orcidicon{0000-0000-0000-0000}\,, \IEEEmembership{Senior Member, IEEE}}
\maketitle

\end{document}

• Is there a way to male this work with the authblk package? First the \orcidicon command needs a protect there and then it completely garbles how more than one author is typeset... – quazgar Oct 11 '18 at 15:24
• Sorry, can't help with this. Perhaps you can ask a new question on the site with a MWE of your problem. – Milo Oct 11 '18 at 15:59
• How to move the position of the logo so look it as a superscript of the name? – pankaj singh Apr 8 '19 at 9:19
• @pankajsingh If you have a new question, please ask it by clicking the Ask Question button. Include a link to this question if it helps provide context. - From Review – Stefan Pinnow Apr 8 '19 at 10:23
• Great, great, great. Anybody did something similar to the DOI icon? Or, any place where I can understand how to convert the DOI svg file into latex tikz commands? – Alberto Jun 17 '19 at 13:49