> For the complete documentation index, see [llms.txt](https://ayakaleaf-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://ayakaleaf-pro.ayaka.space/latex/zh-cn/geng-duo-zhu-ti/40-multibib.md).

# Multibib

Multibib 是一个 LaTeX 宏包，可用于在论文中创建多个参考文献列表。它适用于创建多个参考文献列表，例如一个包含期刊文章，一个包含教材参考文献，另一个包含专利引用；等等。

该宏包使用 \newcites 命令来创建多个标题，并将相应的引用放置在各个标题下。该宏包在导言区使用标准命令调用——在本例中为 \usepackage{multibib}。

接下来是 \newcites 命令，每一种需要的参考文献类型对应一个实例。

例如，可以通过在导言区使用以下 LaTeX 序列创建两个参考文献列表，一个用于书籍来源，一个用于期刊文章：

```latex
\usepackage{multibib}
\newcites{book}{Book References}
\newcites{journal}{Journal References}
```

在上面的示例中，第一个参数表示参考文献列表的类型，第二个参数为该参考文献列表创建标题。然后，这两种引用类型可以在一句或多句话中使用。例如，书籍和期刊参考文献可以按如下方式放入句子中：

```latex
这句话在这里引用了一本书 \footcitebook{Walpol:2005}，并在这里引用了一篇期刊文章 \footcitejournal{Steinbeck:2013}。
```

通过在文档末尾或任何所需章节末尾放置以下序列来创建参考文献列表：

```latex
\bibliographystylebook{plain}
\bibliographybook{all}
\bibliographystylejournal{plain}
\bibliographyjournal{all}
```

随后需要为要创建的每一个参考文献列表运行一次 bibtex。在本例中有两个，因此需要按如下方式运行两次 bibtex：

```latex
% bibtex book
% bibtex journal
```

最后需要编译 `.tex` 文件，在本例中需要编译两次。 *Overleaf 会自动根据需要执行并重复这些步骤，因此您无需手动运行它们。*

以下是一个包含两个参考文献列表的完整 LaTeX 代码示例：

```latex
\documentclass{article}
\usepackage{multibib}
\newcites{book}{Book References}
\newcites{journal}{Journal References}

\begin{document}
关于这一现象最权威的论述之一是由 \cite{Homola:2006} 撰写的。
一篇关于同一主题的期刊文章由 \cite{Merwe:2012} 发表。
进一步阅读
```

## 更多信息请参见：

Overleaf 画廊中的 Multibib 示例

* [Multibib 画廊示例](https://www.overleaf.com/latex/examples/multiple-bibliographies-with-multibib/fzmrrgbcvqhf)


---

# 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://ayakaleaf-pro.ayaka.space/latex/zh-cn/geng-duo-zhu-ti/40-multibib.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.
