> 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/narejjibsu/145-using-bibliographies-on-overleaf.md).

# Overleafで参考文献を使う

## はじめに

Overleafでは、LaTeXの主要な文献管理プログラム（biblatex、natbib、bibtex）のいずれを使用しても参考文献を含めることができます。この記事では、次の方法を説明します。

* 新しい `.bib` 参考文献データベースを保存するためのファイルを手動で作成する
* 既存の `.bib` ファイルをOverleafプロジェクトにアップロードする
* を作成する `.bib` Overleafテンプレートから開始するファイル。

**注**：有料アカウントのユーザーは、以下をリンクできるプレミアム機能を利用できます [Mendeley](/latex/ja/narejjibsu/070-how-to-link-mendeley-to-your-overleaf-account.md), [Zotero](/latex/ja/narejjibsu/073-how-to-link-zotero-to-your-overleaf-account.md)、および [Papers](/latex/ja/narejjibsu/071-how-to-link-papers-to-your-overleaf-account.md) をOverleafアカウントにリンクできます。これらの文献管理ツールを接続すると、簡単に `.bib` ファイルを、文献ライブラリの一括インポートまたは [高度な検索](/latex/ja/narejjibsu/076-how-to-search-for-references-in-an-overleaf-project.md) を使用して個々の文献を検索・インポートすることで作成できます。

## 参考文献データベースの作成

Overleafプロジェクトで新しい参考文献ファイルを作成するには、エディタで **新規ファイル** アイコンをクリックします：

![Biblio1OLV2.png](/files/8fc1d4acb4f20724b8e94f8cbc5a85da83953215)

新しいファイルの名前を設定するための入力ボックスが表示されます。ファイルには `.bib` 拡張子を付ける必要があります。この例では、 `mybibliography.bib`としています。次に、 **作成**.

![Biblio2OLV2.png](/files/ecc7a544fb1869bb87ff9a9d6792788d91c9bc99)

新しいファイルが左側のパネルに一覧表示されます。クリックして内容を編集してください。そこに参考文献エントリを追加します。 ![Biblio3OLV2.png](/files/3e7175534e673b96a2dc914658be3e36041ac532)

これで、この `.bib` ファイルをメインの `.tex` ファイルにインポートできます。次の例を参照してください。

```latex
\documentclass{article}

\usepackage[
backend=biber,
style=alphabetic,
sorting=ynt
]{biblatex}

\addbibresource{mybibliography.bib}

\title{文献管理: \texttt{biblatex} パッケージ}
\author{Share\LaTeX}
\date{ }

\begin{document}

\maketitle

\section{第1節}

\texttt{biblatex} を使うと、文献一覧を種類ごとにセクション分けして表示できます。
引用の種類に応じてです。
引用してみましょう！ アインシュタインの論文 \cite{einstein} とディラックの
本 \cite{dirac} は物理に関する項目です。
次に、\textit{The \LaTeX\ Companion}という書籍\cite{latexcompanion}、
Donald Knuthのウェブサイト\cite{knuthwebsite}、\textit{The Comprehensive
Tex Archive Network}（CTAN）\cite{ctan}は\LaTeX\ 関連の項目です。一方、
その他のDonald Knuthの項目\cite{knuth-fa,knuth-acp}は、
プログラミングに関するものです。

\medskip

\printbibliography
\end{document}
```

![Biblio4OLV2.png](/files/013e9891275761a391c6ea16d58a65920da6d2eb)

![Biblio5OLV2.png](/files/d9c53b9e54b663769b71c749bd5f1d819a976539)

コマンド `\addbibresource{mybibliography.bib}` 作成した参考文献ファイルを文書に追加するため、これらの文献を使用できます。 [LaTeX における参考文献管理](/latex/ja/sononotopikku/05-bibliography-management-in-latex.md) 参考文献管理についての詳細をご覧ください。

## 参考文献データベースのアップロード

Overleafプロジェクトで使用する必要がある参考文献ファイルがすでにある場合は、それをアップロードできます。 **アップロード** 左側パネルの上部にあるアイコンをクリックします。

![Biblio6OLV2.png](/files/52c2eda06c9cdec20d2ea6adbbcc3c30f9160506)

ダイアログボックスが表示されます。 `.bib` ファイルをドラッグ＆ドロップするか、 **コンピューターから選択** を選択して、デバイスからファイルをアップロードできます。

![Biblio7OLV2.png](/files/c675a18ea6f3195367535cef24bb9b521350845e)

アップロード処理が完了したら、 `.bib` ファイルをメインの `.tex` 文書に含めることができます。

## テンプレートの使用

その [Overleaf Gallery](https://www.overleaf.com/gallery) では、多数のテンプレートを提供しており、その中には複数の [参考文献関連の](https://www.overleaf.com/gallery?addsearch=Bibliographies) テンプレートも含まれます：

![Biblio8OLV2.png](/files/c7dc5a9d2a3d174c8aeb23dd126dda41d1699f0a)

たとえば、Galleryで検索すると、次のエントリが表示されます。 [bibunitsによる複数の参考文献一覧](https://www.overleaf.com/latex/examples/multiple-bibliographies-with-bibunits/ktgbztpwjnpb) 同じ文書内で複数の参考文献一覧／文献リストを作成する方法を示しています：

![Biblio9OLV2.png](/files/9e54347e93ab5d435cc4f0aa0f458dd653172e54)

「テンプレートとして開く」を選択すると、Overleafは新しいプロジェクトを作成します。これを変更して、作業の基礎として使用できます：

![Biblio10OLV2.png](/files/597d0a6e082fe80d44238029fa643777daaba2ba)

## 対応している参考文献パッケージ

LaTeXでの参考文献管理についての詳細は、以下を参照してください。

* [LaTeXでの参考文献管理（biblatexを使用）](/latex/ja/sononotopikku/05-bibliography-management-in-latex.md)
* [natbib を使った文献管理](/latex/ja/to-1/02-bibliography-management-with-natbib.md)
* [bibtexによる参考文献管理](/latex/ja/to-1/01-bibliography-management-with-bibtex.md)


---

# 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/narejjibsu/145-using-bibliographies-on-overleaf.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.
