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

# 論文に著者名と所属を追加するにはどうすればよいですか？

著者の所属を追加する方法の一つは、 [`authblk` パッケージ](https://ctan.org/pkg/authblk?lang=en)。もし

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

をプリアンブルに追加すれば、必要な情報を著者および所属のコマンドに入力できます。例として、2人の著者による論文なら次のように書けます。

```latex
\documentclass{article}
\usepackage{authblk}
\title{LaTeX でのランダムウォーク}
\author[1]{Alison Carefully}
\author[2]{Ivor Question}
\affil[1]{数学科, 大学X}
\affil[2]{生物学科, 大学Y}
\begin{document}
\maketitle
\section{はじめに...}
何かがありました…

\section{最後に}
… 何もないかもしれません。
\end{document}
```

&#x20;[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)

この例では次の出力が生成されます:

![authblkパッケージを使用してOverleafで生成された出力例](/files/20dfbaa861bd3308760f436e2d2f8a97ae8b50c4)


---

# 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/ja/to-2/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.
