This question led to a new package:
orcidlink
I would like to display the ORCID id in an author list in an IEEEtran pdf, like that:
Is there a standard way to include it in an IEEEtran article with PdfLaTeX?
I used two approaches from 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 a 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 latest 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? Please help me.
Best Answer
This answer has been packaged into the
orcidlink
package on CTAN by @duetosymmetryHere is a
pdflatex
solution which usestikz
and the original.svg
of the orcid icon.Here are the steps:
Using the
svg.path
TikZ library you can faithfully replicate the icon.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: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}
.\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