Skip to content

One way to add author affiliations is to use the authblk package. If you add

\usepackage{authblk}

to your preamble, you can then fill in the author and affiliation commands with the information you need. As an example, for a paper with two authors you could write:

\documentclass{article}
\usepackage{authblk}
\title{A random walk in \LaTeX}
\author[1]{Alison Carefully}
\author[2]{Ivor Question}
\affil[1]{Department of Mathematics, University X}
\affil[2]{Department of Biology, University Y}
\begin{document}
\maketitle
\section{In the beginning...}
There was something...

\section{In the end}
... there may be nothing.
\end{document}

 Open this example in Overleaf

This example produces the following output:

Example output produced on Overleaf using the authblk package

Overleaf guides

LaTeX Basics

Mathematics

Figures and tables

References and Citations

Languages

Document structure

Formatting

Fonts

Presentations

Commands

Field specific

Class files

Advanced TeX/LaTeX