> 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/ko/references-and-citations/02-bibliography-management-with-natbib.md).

# natbib를 사용한 참고문헌 관리

LaTeX에서 참고문헌 관리와 관련해서는, 패키지 **natbib** 는 인용을 사용자 지정하기 위한 패키지입니다(특히 저자-연도 인용 방식에서) [BibTeX](/latex/ko/references-and-citations/01-bibliography-management-with-bibtex.md). 이 글에서는 사용하는 방법을 설명합니다 `natbib` 를 사용해 참고문헌 출처를 서식화하고 인용하는 방법을 설명합니다.

**참고**: 처음부터 시작한다면 사용하는 것이 권장됩니다 [biblatex](/latex/ko/more-topics/05-bibliography-management-in-latex.md) 왜냐하면 그 패키지는 여러 언어에 대한 지역화를 제공하고, 활발히 개발되고 있으며, 참고문헌 관리를 더 쉽고 유연하게 만들어 주기 때문입니다. 다만 대부분의 학술지는 여전히 사용합니다 `bibtex` 및 `natbib`.

## 소개

아래에 최소 동작 예제가 제시되어 있습니다:

```latex
\usepackage{natbib}
\bibliographystyle{unsrtnat}
\title{참고문헌 관리: \texttt{natbib} 패키지}
\author{Overleaf}
\date {2021년 4월}

\begin{document}

\maketitle

이 문서는 참고문헌에서 사용되는 \texttt{natbib} 패키지의 예시입니다
관리입니다. 세 항목이 인용됩니다: \textit{The \LaTeX\ Companion} 책
\cite{latexcompanion}, Einstein의 저널 논문 \cite{einstein}, 그리고
Donald Knuth의 웹사이트 \cite{knuthwebsite}. \LaTeX\ 관련 항목은
\cite{latexcompanion,knuthwebsite}.

\medskip

\bibliography{sample}

\end{document}
```

![NatbibEx1Overleaf.png](/files/bff7b0db99f019cef829c09c4ca0909b74e29d94)

이 예제에는 참고문헌을 관리하는 네 가지 기본 명령이 있습니다:

**\usepackage{natbib}**

natbib 패키지를 불러옵니다.

**\bibliographystyle{unsrtnat}**

참고문헌 스타일을 unsrtnat로 설정합니다. 자세한 내용은 참고문헌 스타일에 관한 글을 참조하세요.

**\cite{labelcompanion}**

인용 항목에 대한 참조를 출력합니다. 출력 내용은 인용 스타일에 따라 달라집니다. 중괄호 안의 단어는 참고문헌 파일의 특정 항목에 해당합니다.

**bibliography{sample}**

참고문헌 출처를 포함하는 sample.bib 파일을 불러옵니다. 참고문헌 파일 섹션을 참조하세요.

[의 예제를 열어보세요 `natbib` 패키지 in Overleaf](https://www.overleaf.com/project/new/template/19402?id=65470147\&templateName=Basic+natbib+example\&latexEngine=\&texImage=texlive-full%3A2020.1\&mainFile=)

## 기본 사용법

도입부에서 간단한 동작 예제를 보여주었으며, 참고문헌 관련 명령을 더 사용할 수 있습니다.

```latex
\documentclass{article}
\usepackage[english]{babel}
\usepackage[square,numbers]{natbib}
\bibliographystyle{abbrvnat}

\title{참고문헌 관리: \texttt{natbib} 패키지}
\author{Overleaf}
\date {2021년 4월}

\begin{document}

\maketitle

이 문서는 참고문헌에서 사용되는 \texttt{natbib} 패키지의 예시입니다
관리입니다. 세 항목이 인용됩니다: \textit{The \LaTeX\ Companion} 책 \cite{latexcompanion}, Einstein의 저널 논문 \citet{einstein}, 그리고
Donald Knuth의 웹사이트 \cite{knuthwebsite}. \LaTeX\ 관련 항목은
\cite{latexcompanion,knuthwebsite}.

\medskip

\bibliography{sample}

\end{document}
```

![NatbibEx2Overleaf.png](/files/b981ca8fe8c183f5c504680c6995658f09510a06)

이 예제에는 몇 가지 변경 사항이 있습니다:

* 옵션 `square` 및 `numbers` 에서 `\usepackage[square,numbers]{natbib}` 는 각각 대괄호와 숫자 인용을 활성화합니다. 다음을 참조하세요 [참조 안내서](#reference-guide) 패키지 옵션 목록은
* 스타일 *abbrvnat* 가 여기서 사용됩니다. 다음을 참조하세요 [참고문헌 스타일](/latex/ko/references-and-citations/05-natbib-bibliography-styles.md)
* 명령은 `\citet` 는 인용 표시에 저자 이름을 추가합니다. 인용 [스타일과 무관하게](/latex/ko/references-and-citations/06-natbib-citation-styles.md).

[다른 예제를 열어보세요 `natbib` 패키지 in Overleaf](https://www.overleaf.com/project/new/template/19404?id=65473143\&templateName=Natbib+second+example\&latexEngine=\&texImage=texlive-full%3A2020.1\&mainFile=)

## 참고문헌 파일

참고문헌 파일은 표준 BibTeX 문법과 .bib 확장자를 가져야 합니다. 여기에는 참고문헌 출처 목록과 각 항목에 대한 정보를 담은 여러 필드가 포함됩니다.

```latex
@article{einstein,
    author =       "Albert Einstein",
    title =        "{Zur Elektrodynamik bewegter K{\"o}rper}. ({German})
        [{움직이는 물체의 전기역학에 관하여}]",
    journal =      "Annalen der Physik",
    volume =       "322",
    number =       "10",
    pages =        "891--921",
    year =         "1905",
    DOI =          "http://dx.doi.org/10.1002/andp.19053221004"
}

@book{latexcompanion,
    author    = "Michel Goossens and Frank Mittelbach and Alexander Samarin",
    title     = "The \LaTeX\ Companion",
    year      = "1993",
    publisher = "Addison-Wesley",
    address   = "Reading, Massachusetts"
}

@misc{knuthwebsite,
    author    = "Donald Knuth",
    title     = "Knuth: 컴퓨터와 조판",
    url       = "http://www-cs-faculty.stanford.edu/\~{}uno/abcde.html"
}
```

이 파일에는 특수한 형식의 기록이 들어 있습니다. 예를 들어, 첫 번째 서지 참조는 다음과 같이 정의됩니다:

**@article{...}**

이것은 레코드 항목의 첫 줄이며, @article은 BibTeX에 여기에 저장된 정보가 문서(article)에 관한 것임을 알려줍니다. 이 항목에 대한 정보는 중괄호 안에 포함됩니다. 예제에 표시된 항목 유형(article, book, misc) 외에도 훨씬 더 많은 유형이 있으며, 참조 가이드를 참조하세요.

**einstein**

레이블 einstein이 이 항목에 할당되며, 문서 내에서 이 문서를 참조하는 데 사용할 수 있는 고유 식별자입니다.

**author = "알베르트 아인슈타인",**

이것은 참고문헌 항목의 첫 번째 필드로, 이 논문의 저자가 Albert Einstein임을 나타냅니다. title, pages, year, URL 등과 같이 key = value와 같은 동일한 구문을 사용하여 쉼표로 구분된 여러 필드를 추가할 수 있습니다. 가능한 필드 목록은 참고 가이드를 참조하세요.

이 파일의 정보는 나중에 앞선 섹션에서 보인 것처럼 LaTeX 문서 안에서 명령 `\bibliography{sample}`으로 출력하고 참조할 수 있습니다. .bib 파일의 모든 정보가 표시되는 것은 아니며, 문서에 설정된 참고문헌 스타일에 따라 달라집니다.

## 참고문헌을 목차에 추가하기

참고문헌을 목차에 포함하고 싶다면, 패키지를 불러오면 됩니다 **tocbibind** 를 프리앰블에 추가하면 됩니다:

```latex
\documentclass{article}
\usepackage[english]{babel}

%목차에 "References"를 포함합니다
\usepackage[nottoc]{tocbibind}

%natbib 패키지를 불러오고 참고문헌 스타일을 설정합니다
\usepackage[square,numbers]{natbib}
\bibliographystyle{abbrvnat}

%제목과 저자
\title{참고문헌 관리: \texttt{natbib} 패키지}
\author{Overleaf}
\date {2021년 4월}

\begin{document}

\maketitle

\tableofcontents

\section{첫 번째 섹션}
이 문서는 예시입니다...

%참고문헌 파일 "sample.bib"를 불러옵니다
\bibliography{sample}

\end{document}
```

![BibliographyEx4Overleaf.png](/files/f03d101bb6e1d94e536e0497f0c731f7d76ec238)

[의 예제를 열어보세요 `natbib` 및 Overleaf에서 목차](https://www.overleaf.com/project/new/template/19416?id=65468889\&templateName=Natbib+and+contents\&latexEngine=\&texImage=texlive-full%3A2020.1\&mainFile=)

이 줄을 추가하면

```latex
\usepackage[nottoc]{tocbibind}
```

프리앰블에 추가하면 문서 유형에 따라 목차에 "References" 또는 "Bibliography"가 표시됩니다. 주의하세요. 색인, 용어집, 그리고 목록(listings) 같은 다른 요소도 목차에 추가됩니다. 자세한 내용은 [다음 `tocbibind` 패키지 문서](http://mirrors.ctan.org/macros/latex/contrib/tocbibind/tocbibind.pdf).

## 참조 안내서

**natbib 패키지 옵션**

* `round` 둥근 괄호용
* `square` 대괄호를 사용합니다
* `중괄호형` 중괄호
* `angle` 꺾쇠 괄호
* `세미콜론` 여러 인용을 세미콜론으로 구분합니다
* `콜론` 와 동일합니다 `세미콜론`
* `쉼표` 여러 인용을 쉼표로 구분합니다
* `저자-연도형` 저자-연도 인용용
* `numbers` 숫자 인용용
* `super` 숫자 인용에서 위첨자를 사용합니다. 예: *Nature*
* `정렬` 여러 인용을 참고문헌 목록 순서에 따라 정렬합니다
* `sort&compress` 와 동일합니다 `정렬` 하지만 여러 숫자 인용은 가능하면 압축됩니다
* `압축` 정렬 없이 압축
* `longnamefirst` 모든 참고문헌의 첫 인용에 저자의 전체 이름이 나타납니다
* `sectionbib` 패키지와 함께 사용됩니다 **chapterbib** 번호 없는 장이 아니라 번호 없는 절로 참고문헌을 목차에 추가하기 위해 사용됩니다
* `nonamebreak` 저자 이름의 하이픈 분리를 방지합니다
* `elide` 병합된 참고문헌의 공통 요소를 생략하기 위해

**표준 항목 유형**

**article**

잡지나 저널의 기사

**book**

출판된 책

**booklet**

인쇄되었지만 출판사나 후원 기관이 없는 문헌

**conference**

학회 발표집의 기사

**inbook**

책의 일부(섹션, 장 등)

**incollection**

자체 제목이 있는 책의 일부

**inproceedings**

학회 발표집의 기사

**manual**

기술 문서

**석사학위논문**

석사 논문

**misc**

다른 어떤 유형에도 해당하지 않는 것

**phdthesis**

박사 논문

**proceedings**

conference와 동일

**techreport**

기관에서 발행한 보고서

**unpublished**

저자와 제목이 있는, 정식으로 출판되지 않은 문서

**BibTeX에서 가장 흔히 사용되는 필드**

|      |          |        |
| ---- | -------- | ------ |
| 주소   | 주석       | author |
| 책 제목 | 장        | 교차 참조  |
| 판    | 편집자      | 기관     |
| 저널   | 키        | 월      |
| 메모   | 번호       | 기관명    |
| 쪽    | 출판사      | 학교     |
| 시리즈  | 제목       | 유형     |
| 권    | 연도       | URL    |
| ISBN | ISSN     | LCCN   |
| 초록   | keywords | 가격     |
| 저작권  | 언어       | 목차     |

## 추가 읽을거리

자세한 내용은 다음을 참조하세요

* [Natbib 참고문헌 스타일](/latex/ko/references-and-citations/05-natbib-bibliography-styles.md)
* [Natbib 인용 스타일](/latex/ko/references-and-citations/06-natbib-citation-styles.md)
* [biblatex를 사용한 참고문헌 관리](/latex/ko/references-and-citations/03-bibliography-management-with-biblatex.md)
* [bibtex를 사용한 참고문헌 관리](/latex/ko/references-and-citations/01-bibliography-management-with-bibtex.md)
* [CTAN 웹사이트의 natbib 문서](http://www.ctan.org/pkg/natbib)
* [tocbind 패키지 문서](ftp://ftp.tex.ac.uk/tex-archive/macros/latex/contrib/tocbibind/tocbibind.pdf)
* [국제 언어 지원](/latex/ko/languages/03-international-language-support.md)
* [목차](/latex/ko/document-structure/02-table-of-contents.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/ko/references-and-citations/02-bibliography-management-with-natbib.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.
