> 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/fi/kysymykset-ja-vastaukset/22-how-do-i-add-additional-author-names-and-affiliations-to-my-paper.md).

# Kuinka lisään artikkeliini lisää kirjoittajien nimiä ja affiliaatioita?

Yksi tapa lisätä kirjoittajien affiliaatiot on käyttää [`authblk` paketti](https://ctan.org/pkg/authblk?lang=en). Jos lisäät

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

preambeliisi, voit sitten täyttää tekijä- ja affiliaatiokomennot tarvitsemillasi tiedoilla. Esimerkiksi kahden kirjoittajan artikkeliin voisit kirjoittaa:

```latex
\documentclass{article}
\usepackage{authblk}
\title{Satunnaiskävely \LaTeXissa}
\author[1]{Alison Carefully}
\author[2]{Ivor Question}
\affil[1]{Matematiikan laitos, Yliopisto X}
\affil[2]{Biologian laitos, Yliopisto Y}
\begin{document}
\maketitle
\section{Alussa...}
Jotakin oli...

\section{Lopussa}
... siellä ei ehkä ole mitään.
\end{document}
```

[Avaa tämä esimerkki Overleafissa](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)

Tämä esimerkki tuottaa seuraavan tulosteen:

![Esimerkkituloste, joka on tuotettu Overleafissa käyttäen authblk-pakettia](/files/4d7d5f6a69a064dd3c29e95c29da2b43e996a974)


---

# 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/fi/kysymykset-ja-vastaukset/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.
