> 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/sononotopikku/40-multibib.md).

# Multibib

Multibib は、論文内で複数の参考文献リストを作成するために使用できる LaTeX パッケージです。たとえば、1 つは学術雑誌論文を含むもの、1 つは教科書の参考文献を含むもの、さらに別の 1 つは特許への参照を含むもの、というように、複数の参考文献リストを作成するのに便利です。

このパッケージは、複数の見出しを作成し、それぞれの見出しの下に適切な引用を配置するために \newcites コマンドを使用します。パッケージは標準コマンドを使ってプリアンブルで呼び出します。この場合は \usepackage{multibib} です。

その後に \newcites コマンドを続け、必要な参考文献の種類ごとに 1 回ずつ指定します。

たとえば、書籍の出典用と学術雑誌論文用の 2 つの参考文献リストは、プリアンブルで次の LaTeX シーケンスを使って作成できます。

```latex
\usepackage{multibib}
\newcites{book}{書籍の参考文献}
\newcites{journal}{学術雑誌の参考文献}
```

上の例では、最初の引数は参考文献の種類を表し、2 つ目の引数はその参考文献リストの見出しを作成します。その後、2 種類の引用は 1 つ以上の文の中で使用できます。たとえば、書籍と学術雑誌の参考文献は、次のように文中に配置できます。

```latex
この文では、ここで書籍を \footcitebook{Walpol:2005}、ここで学術雑誌を \footcitejournal{Steinbeck:2013} 引用しています。
```

参考文献リストは、文書の最後、または任意のセクションの最後に次のシーケンスを配置することで作成されます。

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

その後、作成する参考文献リストの数だけ bibtex を 1 回ずつ実行します。この場合は 2 つあるので、次のように bibtex を 2 回実行します。

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

最後に `.tex` ファイルをコンパイルする必要があります。この例では 2 回です。 *Overleaf は必要に応じてこれらの手順を自動的に実行・繰り返すため、手動で実行する必要はありません。*

以下は、2 つの参考文献リストを含む完全な LaTeX コードの例です。

```latex
\documentclass{article}
\usepackage{multibib}
\newcites{book}{書籍の参考文献}
\newcites{journal}{学術雑誌の参考文献}

\begin{document}
現象に関する最も権威ある論考の 1 つは
\cite{Homola:2006} によって書かれました。
同じ主題に関する学術雑誌論文は \cite{Merwe:2012} によって発表されました。
```

## さらに読む

詳細は次を参照してください。

* [Overleaf ギャラリーの 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://overleaf-pro.ayaka.space/latex/ja/sononotopikku/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.
