> 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/zh-tw/wen-yu-da/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}
```

到你的前言區中，接著就可以用你需要的資訊填入作者與隸屬機構指令。例如，對於一篇有兩位作者的論文，你可以寫：

```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}
```

[在 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/20d2e80eefb4666cc26d4d5ef20bf706fdfcefd0)


---

# 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/zh-tw/wen-yu-da/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.
