Adding authors, affiliations and ORCID iDs in LaTeX

Help centre › LaTeX › Document layout · Packages: authblk, orcidlink

In the article class, load \usepackage{authblk} and write \author[1,2]{Jane Doe} with \affil[1]{University …} so affiliations are numbered once and shared. Add an ORCID iD link with \usepackage{orcidlink} and \orcidlink{0000-0002-1825-0097} after the name. Journal classes have their own author macros, which replace authblk.

A complete example

A whole document: paste it into an empty project and compile it.

\documentclass{article}
\usepackage{authblk}
\usepackage{orcidlink}
\title{Measuring Things Carefully}
\author[1,2]{Jane Doe\,\orcidlink{0000-0002-1825-0097}\thanks{Corresponding author: [email protected]}}
\author[2]{Paul Brown}
\affil[1]{Department of Physics, Example University, Boston, USA}
\affil[2]{Institute for Measurement, Example City, USA}
\date{}
\begin{document}
\maketitle
\section{Introduction}
Text.
\end{document}

Without a package

The standard classes put one block per author, separated by \and, with the affiliation on the lines below the name and notes in \thanks. This repeats a shared affiliation under each author.

\documentclass{article}
\title{Measuring Things Carefully}
\author{Jane Doe\thanks{[email protected]}\\ Example University
  \and Paul Brown\\ Institute for Measurement}
\date{}
\begin{document}
\maketitle
\end{document}

authblk options

  • \author[1,2]{Name} and \affil[1]{…}: numbered affiliations, each written once.
  • \affil[ ]{…} or \affil*: an affiliation line without a mark.
  • \renewcommand\Affilfont{\small\itshape} and \renewcommand\Authfont{…}: the fonts.
  • \renewcommand\Authands{ and }: the word before the last author.
  • Package option blocks: each author with their affiliation beneath, side by side.

ORCID iDs

\orcidlink{iD} prints the green iD logo linked to https://orcid.org/ followed by the iD. Write it after the author's name; it loads hyperref if it is not loaded already. To print the iD itself, add it as text in \thanks or a footnote: ORCID: \href{https://orcid.org/0000-0002-1825-0097}{0000-0002-1825-0097}.

Journal classes

In a journal class, use its own commands: they place names, affiliations and corresponding-author notes as the journal prints them, and authblk would undo that. The fragment below is elsarticle's; it goes inside frontmatter.

\begin{frontmatter}
\title{Measuring Things Carefully}
\author[inst1]{Jane Doe\corref{cor1}}
\ead{[email protected]}
\cortext[cor1]{Corresponding author}
\author[inst1,inst2]{Paul Brown}
\affiliation[inst1]{organization={Example University},
  city={Boston}, country={USA}}
\affiliation[inst2]{organization={Institute for Measurement},
  city={Example City}, country={USA}}
\end{frontmatter}

Common mistakes

In journal templates

Errors you may meet

In Manulyx

Insert → Title and authors writes the title block for you.

Write in Manulyx for free · Journal templates

Related

  • Adding appendices in LaTeXStart appendices with \appendix so sections become A, B, C, or use the appendix package for "Appendix A" headings and contents entries.

The examples on this page were compiled with pdfLaTeX to check that they work as shown. LaTeX quick reference · LaTeX errors explained