数学人生分享 http://blog.sciencenet.cn/u/ChinaAbel 在苦难中寻求那微薄却终将照亮前程的智慧之光!

博文

LaTeX文件加入ORCID iD 链接

已有 20985 次阅读 2019-12-17 14:09 |个人分类:科技论文写作、搜索经验集锦|系统分类:科研笔记

     开放的研究员和贡献者ID(英语:Open Researcher and Contributor ID,简称ORCID)是一种非专有的字母及数字代码,用以唯一性识别科学家及其他学术作者和贡献者。此地址簿要解决的问题是,特定作者在科学文献或出版物上的人名可能不唯一而难以识别,它们可能改变(如因婚姻)、顺序上有文化的差异、对不同的部分缩写,以及使用不同的文字系统。它为一个人提供一个持久的身份,类似为数字网络上的内容相关实体创建数字对象标识符(DOI)。

ORCID组织提供一个开放、独立的注册表,旨在成为研究和学术出版领域中贡献者识别的事实标准。

在形式上,ORCID ID是URI形式,例如John Wilbanks的ORCID是https://orcid.org/0000-0002-4510-0385。不过,一些发布者使用短格式,例如“ORCID: 0000-0002-4510-0385"。

ORCID是国际标准名称识别码(ISNI)的一个子集,在国际标准化组织(遵循ISO 27729)的支持下两个组织正在合作。ISNI唯一性识别图书电视节目报纸的撰稿者,并保留了一个标识符块供ORCID使用,范围从0000-0001-5000-0007至0000-0003-5000-0001。因此,一个人可能合法地同时拥有一个ISNI和一个ORCID——相当于,两个ISNI。

ORCID和ISNI都使用16个字符的标识符[19],使用数字0–9并通过连字符分隔为4个组。最后一个字符可能是字母“X”,表示数值“10",这是为符合MOD 11-2校验码ISO/IEC 7064:2003标准。

一个ORCID账户Josiah Carberry存在于https://orcid.org/0000-0002-1825-0097,可供测试和作为范例.

ORCID的目的是帮助“从科学过渡到信息化科学,在不断增长的学术文献中挖掘出隐藏的关联和想法。”另一个使用建议是“为每个研究人员提供‘不断更新’的数字简历,提供远超简单的出版物清单的科学贡献概况”。其设想是其他组织使用开放访问的ORCID数据库构建自己的服务。(以上摘自维基百科https://wikipedia.hk.wjbk.site/zh-hans/ORCID  )

Linking ORCID iD in LaTeX files

方法1:见https://gugushvili.github.io/blog/2019/08/09/orcid 

Given a growing popularity of ORCID, it is only natural to devise a way to include its identifier in LATEXLATEXdocuments. Some publishers already incorporate such an option in their journals. The method I provide below has been adapted from this template. It yields a green iD icon hyperlinked to the full https URI (cf. the iD display requirements here). Feel free to use the code in your work.

Required steps

Include in the document preamble the following code that will draw the ORCID logo.

\usepackage{tikz,xcolor,hyperref}
\definecolor{lime}{HTML}{A6CE39}
\DeclareRobustCommand{\orcidicon}{
	\begin{tikzpicture}
	\draw[lime, fill=lime] (0,0) 
	circle [radius=0.16] 
	node[white] {{\fontfamily{qag}\selectfont \tiny ID}};	
	\draw[white, fill=white] (-0.0625,0.095) 
	circle [radius=0.007];	
	\end{tikzpicture}
	\hspace{-2mm}}

Then add

\foreach \x in {A, ..., Z}{\expandafter\xdef\csname orcid\x\endcsname{\noexpand\href{https://orcid.org/\csname orcidauthor\x\endcsname
			{\noexpand\orcidicon}}
}

Now create for each author a command that will produce an image of the logo linked to the ORCID iD in the compiled pdf file. This is done by concatenating \orcidauthor and a capital letter (anything from A to Z), like so

\newcommand{\orcidauthorA}{0000-0002-6963-295X} % For author A
\newcommand{\orcidauthorB}{0000-0001-7246-8612} % For author B
\newcommand{\orcidauthorC}{0000-0002-6416-6320} % For author C

With this method, in a given paper the maximal number of authors with ORCID iD is 26, i.e. is limited by the number of letters in the English alphabet. This is more than enough for most purposes in mathematics, and extensions are not difficult either.

As a final step, to actually produce the hyperlinked iD symbols after the author names, simply insert \orcidA{}\orcidB{}\orcidC{} etc. at the end of the respective author information fields.

Working example

Here is a simple working example. The resulting pdf is provided for download here.

%------------------------------------------------------------------------------
% Example file
%------------------------------------------------------------------------------
\documentclass{amsart}
\usepackage{lipsum} % To generate some text for the article via \lipsum
%------------------------------------------------------------------------------
% Code for ORCID iD
%------------------------------------------------------------------------------
\usepackage{tikz,xcolor,hyperref}% Make Orcid icon
\definecolor{lime}{HTML}{A6CE39}
\DeclareRobustCommand{\orcidicon}{%
	\begin{tikzpicture}
	\draw[lime, fill=lime] (0,0) 
	circle [radius=0.16] 
	node[white] {{\fontfamily{qag}\selectfont \tiny ID}};	\draw[white, fill=white] (-0.0625,0.095) 
	circle [radius=0.007];	\end{tikzpicture}
	\hspace{-2mm}}
\foreach \x in {A, ..., Z}{%
	\expandafter\xdef\csname orcid\x\endcsname{\noexpand\href{https://orcid.org/\csname orcidauthor\x\endcsname}{\noexpand\orcidicon}}
	}
% Define the ORCID iD command for each author separately. Here done for two authors.
\newcommand{\orcidauthorA}{0000-0001-5316-8964}
\newcommand{\orcidauthorB}{0000-0002-6963-295X}
\begin{document}
\title{Lorem ipsum dolor sit amet}
% First author
\author[Author One]{Author One\orcidA{}}
% IMPORTANT: specify explicitly the running author name via the option [ ],
% otherwise the ORCID logo will be generated at every occurence of the author name in the pdf file
% at the top of the page. Clearly not what one would like to see.
	
% Second author
\author[Author Two]{Author Two\orcidB{}}
\maketitle
\begin{abstract}
\lipsum[1] % Generate some random text
\end{abstract}
\section{Lorem ipsum dolor sit amet}
\lipsum % Generate some random text
\end{document}

方2   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. 

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

方法3. 

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}

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}


方4.

The Springer LNCS template now includes a \orcidID{0000-1111-2222-3333} command to add after an author name.


方5.

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

%%%%%%%%%%%%%%%%%%%%%%% 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 linkhttps://orcid.org/trademark-and-id-display-guidelines

方 6. 

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}








https://blog.sciencenet.cn/blog-81613-1210392.html

上一篇:可编辑的PDF
下一篇:LaTeX文件加入ORCID iD 链接(续)
收藏 IP: 58.192.87.*| 热度|

0

该博文允许注册用户评论 请点击登录 评论 (4 个评论)

数据加载中...
扫一扫,分享此博文

Archiver|手机版|科学网 ( 京ICP备07017567号-12 )

GMT+8, 2024-11-22 17:52

Powered by ScienceNet.cn

Copyright © 2007- 中国科学报社

返回顶部