27

I would like to add the ORCID to the metadata of documents I write. Is this possible with PDF? Is there a standard way to include it in TeX?

The nicest way would be if there way a standard TeX command so that the compiled PDF would automatically have this information. But if it is possible to add this after the PDF was compiled, it would be nice, too.

The simplest way to add the ORCID to the TeX code is adding a comment

% ORCID of the author: http://orcid.org/0000-0002-6517-1690

But how do other people add their ORCID to papers? Is there a recommendation how to do it, so that scripts / search engines can use the information?

migrated from academia.stackexchange.com Oct 29 '15 at 15:21

This question came from our site for academics and those enrolled in higher education.

  • 2
    You can use hyperref to set metadata for the generated PDF (e.g., the pdfauthor or pdfcreator fields), but that's indeed more of a question for TeX.SE. Whether anybody actually extracts that metadata in a structured fashion so that there's any benefit from doing this is a different matter... – Christian Clason Oct 29 '15 at 11:07
  • As mentioned in the answer below, and the mathoverflow question linked by Christian, you can add the ORCiD to your address information. I've now twice had this picked up automatically by Springer as part of the publication process (and then the paper automatically added to my ORCiD record upon publication via CrossRef). I can't speak as to whether this applies to other publishers also. – Lasse Rempe-Gillen Jan 4 '17 at 15:27
15

Academicons has TeX package at https://ctan.org/pkg/academicons which is supported by ORCiD. You may also download SVG or PNG icons from ORCiD website, https://orcid.org/trademark-and-id-display-guidelines

Example:
  1. Add following in Document SetUp section of tex file. Second line will define ORCiD recommended color for icon.

    \usepackage{academicons}
    \definecolor{orcidlogocol}{HTML}{A6CE39}
    
  2. Add following where you like to add ORCiD icon and URL

    \item \href{https://orcid.org/0000-0000-0000-0000}{\textcolor{orcidlogocol}{\aiOrcid} \hspace{2mm} orcid.org/0000-0000-0000-0000}
    

ORCiD recommends hex: #A6CE39 for icon color. \hspace{2mm} is optional, i.e., to give custom space margin between icon and adjacent text.

Preview:

enter image description here

You can read documentation at https://github.com/diogo-fernan/academicons for details on other icons.

One unresolved issue is to change icon color to ORCiD specified green color and keep it still hyperlinked.

  • 1
    Turns out (after so many edits!) that my answer is irrelevant to the question asked. Nonetheless, academicons package can be used to keep orcid icon beside author lists and make pdf as seen with many online journals. – Samir Jul 5 '17 at 18:12
  • I can't make your example work in LaTeX. Is it possible for you to publish a complete example? – sbac Aug 28 '18 at 14:45
  • 1
    See example here: gist.github.com/sbamin/1d2a8aff986d4e6156771dea0d645c52 and output.pdf. I use Texmaker and lualatex. – Samir Aug 28 '18 at 18:20
  • Thank you but in your example the ORCID logo does not come near the author name. That was really my problem. – sbac Aug 28 '18 at 18:30
  • 8
    Fatal fontspec error: "cannot-use-pdftex". It seems limited to xelatex and lualatex. – ar2015 Sep 17 '18 at 8:04
4

From the linked related answer: Springer picks up ORCID from LaTeX in the following format: Add it as the last line of your address. NOTE: this is in the header, but not wrapped by \hypersetup{}

\documentclass[11pt]{article}
\author{Herr Doktor John Smith}
\address{Dept. of Mathematical Sciences \\
     University of Awesome\\
     Liverpool 56893-3242\\
     Albion \\ 
     ORCiD: 0000-0004-8882-8330}
\email{profSmithRules@awesome.edu}
\begin{document}
\end{document}
  • 1
    Can you provide any reference(s) for this? – tdgunes Oct 17 '17 at 14:34
  • 2
    The Springer LNCS template now includes a \orcidID{0000-1111-2222-3333} command to add after an author name. You can get the latest templates from: [springer.com/gp/computer-science/lncs/… – Neil P Feb 28 '18 at 12:06
  • unfortunately, that only prints the orcid in [0000-...] – sebastian Jan 31 at 21:25
3

You can use the following template of Springer journals with some additions where I make hyperlink to the image of ORCID in \author.

enter image description here

%%%%%%%%%%%%%%%%%%%%%%% file template.tex %%%%%%%%%%%%%%%%%%%%%%%%%
%
% This is a general template file for the LaTeX package SVJour3
% for Springer journals.          Springer Heidelberg 2010/09/16
%
% Copy it to a new file with a new name and use it as the basis
% for your article. Delete % signs as needed.
%
% This template includes a few options for different layouts and
% content for various journals. Please consult a previous issue of
% your journal as needed.
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% First comes an example EPS file -- just ignore it and
% proceed on the \documentclass line
% your LaTeX will extract the file if required
\begin{filecontents*}{example.eps}
%!PS-Adobe-3.0 EPSF-3.0
%%BoundingBox: 19 19 221 221
%%CreationDate: Mon Sep 29 1997
%%Creator: programmed by hand (JK)
%%EndComments
gsave
newpath
  20 20 moveto
  20 220 lineto
  220 220 lineto
  220 20 lineto
closepath
2 setlinewidth
gsave
  .4 setgray fill
grestore
stroke
grestore
\end{filecontents*}
%
\RequirePackage{fix-cm}
%
%\documentclass{svjour3}                     % onecolumn (standard format)
%\documentclass[smallcondensed]{svjour3}     % onecolumn (ditto)
\documentclass[smallextended,final,numbook,envcountsect,envcountsame,envcountreset]{svjour3}       % onecolumn (second format)
%\documentclass[twocolumn]{svjour3}          % twocolumn
%
\smartqed  % flush right qed marks, e.g. at end of proof
%
\usepackage{graphicx} %%%% This is very important with image %%%%%
%
\usepackage{mathptmx}      % use Times fonts if available on your TeX system
%
% insert here the call for the packages your document requires
%\usepackage{latexsym}
% etc.
%%%%%%%%%%%%%%%%%%%%%%%%% My Package %%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% for hyperlink
\RequirePackage[colorlinks,citecolor=blue,urlcolor=blue]{hyperref}
% please place your own definitions here and don't use \def but
% \newcommand{}{}
%
%%%%%%%%%%%%%%%%%%%% My Commond %%%%%%%%%%%%%
%% for author affod
% Insert the name of "your journal" with
%\journalname{name}
%
\begin{document}

\title{topology%\thanks{Grants or other notes
%about the article that should go on the front page should be
%placed here. General acknowledgments should be placed at the end of the article.}
}
%\subtitle{Do you have a subtitle?\\ If so, write it here}

\titlerunning{topology}        % if too long for running head

\author{Ali Al-Obaidi \href{https://orcid.org/0000-0003-4221-7622}{\includegraphics[scale=1]{figures/orcid.jpg}}      \and
        Smath John\href{https://orcid.org/0000-0002-0000-0000}{\includegraphics[scale=1]{figures/orcid.jpg}}}%etc.



\authorrunning{Al-Obaidi and John } % if too long for running head

% The correct dates will be entered by the editor


\maketitle

\begin{abstract}
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA

%\keywords{ccccc \and cccc \and cccccc  \and xxxxn \and xxxxx \and xxxxx}
% \PACS{PACS code1 \and PACS code2 \and more}
%\subclass{AAA \and AAA \and AAAA \and AAA\and aaaa}
\end{abstract}

\section{Introduction}
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa

\end{document}

Don't forget to download this Color icon (The best choice is iD icon 16x16) from this link https://orcid.org/trademark-and-id-display-guidelines

2

If there are several authors, make a new command with the argument of the ORCID.

Using @Samir's answer, create a XeLaTeX document with the following at the top:

\documentclass{article}
\usepackage{hyperref}
\usepackage{academicons}
\usepackage{xcolor}

\newcommand{\orcid}[1]{\href{https://orcid.org/#1}{\textcolor[HTML]{A6CE39}{\aiOrcid}}}

\title{Some paper}

\author{
  Josiah Carberry \orcid{0000-0002-1825-0097} \and
  Ema Nowlen \orcid{0000-0000-0000-0000} \and
  Nella Penfold \orcid{0000-0000-0000-0000} \and
  Lorita Barthel \orcid{0000-0000-0000-0000} \and
  Sigrid Pardini \orcid{0000-0000-0000-0000} \and
  Sherri Sanks \orcid{0000-0000-0000-0000} \and
  Maryln Tall \orcid{0000-0000-0000-0000} \and
  Dwain Gooslin \orcid{0000-0000-0000-0000}
}

\begin{document}

\maketitle

\section{Introduction}

Cool.

\end{document}

out

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.