> 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-cn/latex-cuo-wu/27-no-author-given.md).

# 未给出 \author

如果你使用了 **`\maketitle`** 命令，但未指定任何 **`\author`**。下面给出了一个示例：

```latex
%在导言区
\title{热的一般分子理论}

% 在文档正文中
\maketitle
```

main.tex，第 5 行

未给出 \author。

你可以通过添加作者来解决此错误：

```latex
%在导言区
\title{热的一般分子理论}
\author{A. Einstein}

% 在文档正文中
\maketitle
```

如果你不想在标题页上指定作者，可以定义 **`\author{...}`** 为空，如下所示

```latex
%在导言区
\title{热的一般分子理论}
\author{}

% 在文档正文中
\maketitle
```

这仍会在标题页上作者通常所在的位置留下些空白。如果你想去除这部分空白，请查看 [**`titling`**](http://ctan.org/pkg/titling) 宏包。


---

# 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-cn/latex-cuo-wu/27-no-author-given.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.
