When IEEE writes LaTeX, add the ORCID logo and link after the author (simple solution, one line of code)

Some IEEE papers, such as the Trans series, are customary to add the ORCID logo and links after the author, but How tothere are no relevant latex code cases in it.

1. A usable but complex solution

Many bloggers in CSDN have also given beautiful but complicated solutions, such as this list:

\documentclass[lettersize,journal]{IEEEtran}
% add ORCID
\usepackage{tikz,xcolor}
% 加入超链接
\usepackage[implicit=false]{hyperref}

% 设置必有,去方框,取出参考文献的方框
\hypersetup{hidelinks,
	colorlinks=true,
	allcolors=black,
	pdfstartview=Fit,
	breaklinks=true}
	
% 下面的内容参考网上给的,几乎一样
\definecolor{lime}{HTML}{A6CE39}
\DeclareRobustCommand{\orcidicon}{
\begin{tikzpicture}
\draw[lime, fill=lime] (0,0)
circle[radius=0.16]
node[white]{
   
   {\fontfamily{qag}\selectfont \tiny \.{I}D}};
\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}}
}

% 写入ID
\newcommand{\orcidauthorA}{0000-0001-6677-6677}
\begin{document}

\title{Lorem ipsum dolor sit amet}
% 加入并设置合适位置\hspace{-1.5mm}
\author{BingBing\hspace{-1.5mm}\orcidA{}, ~\IEEEmembership{Staff,~IEEE,}}

\maketitle
% 参考文献不会改变哦
AAAAAAAAAAAAAAAAAAAAAA\cite{strom2005origin}

% 参考文献测试
\begin{thebibliography}{1}
\bibliographystyle{IEEEtran}
\bibitem{strom2005origin}
\end{thebibliography}

\end{document}

2. Simple and easy-to-use solution (one line of code)

In fact, some Daniels on the Internet have packaged the relevant code into a package orcidlink and integrated it into the Tex distribution. So directly switch the package, and then it is a matter of one line of code.

2.1 Official tutorial

\usepackage{orcidlink} # 调包

\author{Bill Gate\orcidlink{0000-0000-0000-0000}} # 添加ORCID logo及链接

The effect is as follows:
insert image description here

2.2 Improve demo

But I think it is still not perfect: the ORCID logo and text are horizontally centered. But the actual ideal effect should be that the logo 上标exists. That's simple: use the superscript method in the LaTeX formula to lift the logo up.

\usepackage{orcidlink} %调包
\hypersetup{hidelinks} % hide the hyperlink box

\author{Bill Gate$^{\orcidlink{0000-0000-0000-0000}}$} % 添加ORCID logo及链接

The final effect is as follows:
insert image description here

reference link


Other recommended academic writing skills:

Guess you like

Origin blog.csdn.net/lyh458/article/details/130692255