0

I want to add Orcid ID in Latex article. I have tried several methods that are used for other documentclasses, but none of them worked for me.

4
  • Welcome to TeX.SX! Please provide more details: Which document class do you use, and where do you want to add the Orcid Id?
    – gernot
    Nov 28, 2020 at 16:11
  • @gernot Thank you! I use article class. I want to add it to next to the author name.
    – tyMind
    Nov 28, 2020 at 16:27
  • 2
    If you want to have the id visible in the document, you could just use \thanks: \author{The Name\thanks{OrcID: 0000-0000-0000-0000}}. Otherwise see e.g. https://tex.stackexchange.com/questions/275578/is-there-a-standard-way-to-include-orcid-in-tex-pdf
    – gernot
    Nov 28, 2020 at 17:02
  • @Mico Well, the answer is linked in my answer, as well as the package that resulted from it.
    – user229669
    Nov 28, 2020 at 17:14

1 Answer 1

3

If you have a very up-to-date TeX installation, you can use the orcidlink package.

\documentclass{article}
\usepackage{orcidlink}
\begin{document}
\orcidlink{https://orcid.org} is an ORCID link.
\end{document}

enter image description here

Otherwise you can use this answer, which it is based on.

6
  • The first method does not compile in my Overleaf account. The second method I tried previously, but it didn't run correctly. Maybe I should try again.
    – tyMind
    Nov 28, 2020 at 16:21
  • 1
    @tyMind Unfortunately, Overleaf is the very opposite of an up-to-date TeX installation. As I do not know what the second method is I can't say much.
    – user229669
    Nov 28, 2020 at 16:22
  • 1
    @tyMind Overleaf currently runs TeX Live 2020 but for stability and continuity reasons, doesn't update packages between TeX Live releases. The solution is to fetch the orcidlink.sty file from the maintainer's GitHub repository, place it in your project Overleaf project's folder, and then your document should process with no trouble. Nov 28, 2020 at 17:09
  • @tyMind The GitHub repository is linked in the comments under the answer that I linked to.
    – user229669
    Nov 28, 2020 at 17:15
  • Thank you. I tried the method written in that Github link, but I got errors. When I write this: \author{Wow wow\, \orcidlink{0000-0000-0000-0000} } I got an error message, which says: Use of \\author doesn't match its definition.
    – tyMind
    Nov 28, 2020 at 17:36

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