TransWikia.com

Is there a standard way to include ORCID in TeX / PDF?

TeX - LaTeX Asked on October 22, 2020

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?

6 Answers

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{[email protected]}
begin{document}
end{document}

Answered by בנימן הגלילי on October 22, 2020

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.

Answered by Samir on October 22, 2020

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 Johnhref{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 AAAand 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

Answered by Ali Al-Obaidi on October 22, 2020

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

Answered by Mike T on October 22, 2020

Simplest solution without any additional package required:

newcommand{orcid}[1]{href{https://orcid.org/#1}{includegraphics[width=8pt]{orcid.png}}}

with orcid.png in the 128x128 pixel size and in color.

enter image description here

Then use

author{Max Mustermann orcid{0000-0000-0000-0000}}

to add the ORCID ID after your name.

Answered by ProjectPhysX on October 22, 2020

I would prefer to use the SVG package:

usepackage{svg}
newcommand{orcid}[1]{href{https://orcid.org/#1}{includesvg[width=10pt]{orcid}}}

Download the SVG logo from the ORCID website: orcid.svg

Then (like previous answers) simply do:

author{John Doe orcid{0000-0000-0000-0000}}

Answered by Robin Keskisarkka on October 22, 2020

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP