> For the complete documentation index, see [llms.txt](https://overleaf-pro.ayaka.space/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://overleaf-pro.ayaka.space/latex/no/sporsmal-og-svar/22-how-do-i-add-additional-author-names-and-affiliations-to-my-paper.md).

# Hvordan legger jeg til flere forfatternavn og tilknytninger i artikkelen min?

En måte å legge til forfattertilknytninger på er å bruke [`authblk` pakken](https://ctan.org/pkg/authblk?lang=en). Hvis du legger til

```latex
\usepackage{authblk}
```

til preamblen din, kan du deretter fylle inn kommandoene for forfatter og tilknytning med informasjonen du trenger. Som et eksempel, for en artikkel med to forfattere kan du skrive:

```latex
\documentclass{article}
\usepackage{authblk}
\title{En tilfeldig vandring i \LaTeX}
\author[1]{Alison Carefully}
\author[2]{Ivor Question}
\affil[1]{Institutt for matematikk, Universitet X}
\affil[2]{Institutt for biologi, Universitet Y}
\begin{document}
\maketitle
\section{I begynnelsen...}
Det var noe...

\section{Til slutt}
... det kan hende at det ikke er noe.
\end{document}
```

[Åpne dette eksemplet i Overleaf](https://www.overleaf.com/docs?engine=pdflatex\&snip_name=Multiple+authors\&snip=%5Cdocumentclass%7Barticle%7D%0A%5Cusepackage%7Bauthblk%7D%0A%5Ctitle%7BA+random+walk+in+%5CLaTeX%7D%0A%5Cauthor%5B1%5D%7BAlison+Carefully%7D%0A%5Cauthor%5B2%5D%7BIvor+Question%7D%0A%5Caffil%5B1%5D%7BDepartment+of+Mathematics%2C+University+X%7D%0A%5Caffil%5B2%5D%7BDepartment+of+Biology%2C+University+Y%7D%0A%5Cbegin%7Bdocument%7D%0A%5Cmaketitle%0A%5Csection%7BIn+the+beginning...%7D%0AThere+was+something...%0A%0A%5Csection%7BIn+the+end%7D%0A...+there+may+be+nothing.%0A%5Cend%7Bdocument%7D)

Dette eksemplet gir følgende resultat:

![Eksempel på utdata generert på Overleaf ved bruk av authblk-pakken](/files/5fd52dd54bfd7fffe4c28c0d7a91b46a8c996a03)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://overleaf-pro.ayaka.space/latex/no/sporsmal-og-svar/22-how-do-i-add-additional-author-names-and-affiliations-to-my-paper.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
