> 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/06-natbib-citation-styles.md).

# Natbib 인용 스타일

Natbib은 해당하는 [참고문헌 스타일](/latex/ko/references-and-citations/04-bibtex-bibliography-styles.md#natbib-styles) 특정 인용 명령이 선언되지 않은 경우. 일부 문장 부호 매개변수를 제어하는 추가 명령이 있습니다. 아래 예를 보세요:

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

%natbib 패키지를 가져오고 참고문헌 및 인용 스타일을 설정합니다
\usepackage{natbib}
\bibliographystyle{abbrvnat}
\setcitestyle{authoryear,open={((},close={))}} %인용 관련 명령

\title{Natbib 예제}

\author{Overleaf 팀}

\begin{document}

\maketitle

\section{첫 번째 섹션}
이 문서는 두 개의 인용 항목이 있는 예제입니다: \textit{The \LaTeX\ Companion} 책 \cite[see][chap 2]{latexcompanion}와 아인슈타인의 저널 논문 \citep{einstein}.

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

\end{document}
```

![CitationStylesEx1Overleaf.png](/files/a4e23ffb047fd6c08f88552eedd67c5c1cba53a2)

인용 스타일을 서식화하는 특정 명령은 다음과 같습니다:

```latex
\setcitestyle{authoryear, open={((},close={))}
```

쉼표로 구분된 매개변수는 LaTeX가 다음을 사용하도록 지시합니다: *저자-연도* 인용 모드를 사용하고 이중 괄호를 시작 및 종료 표시로 사용합니다. 이 명령에 전달할 수 있는 다양한 매개변수는 다음과 같습니다:

* 인용 모드: `저자-연도`, `numbers` 또는 `위첨자`.
* 괄호: `둥근` 또는 `대괄호`. 다음을 사용하여 다른 시작 및 종료 문자를 수동으로 설정할 수 있습니다: `open={char}` 및 `close={char}`.
* 인용 구분자: `세미콜론`, `쉼표`.
* 저자와 연도 사이의 구분자: `aysep{char}`.
* 공통 저자를 가진 연도 사이의 구분자: `yysep={char}`.
* 후주 앞의 텍스트: `notesep={text}`.

인용 모드에 따라 다른 추가 인용 명령도 있습니다. 예를 들어, 위 예의 명령 `\cite[see][chap 2]{latexcompanion}` 는 두 개의 추가 매개변수를 사용합니다. 첫 번째 선택적 매개변수 *참조* 는 인용 표기 앞에 출력되고, 두 번째 선택적 매개변수 *2장* 는 인용 표기 뒤에 출력됩니다. 아래는 일부 추가 인용 명령을 설명하는 표입니다:

| 명령을             | 설명                                          |
| --------------- | ------------------------------------------- |
| `\citet{}`      | 본문 내 인용                                     |
| `\citep{}`      | 괄호 인용                                       |
| `\citet*{}`     | 다음과 동일 `\citet` 하지만 저자가 여러 명이면 모든 이름이 출력됩니다 |
| `\citep*{}`     | 다음과 동일 `\citep` 하지만 저자가 여러 명이면 모든 이름이 출력됩니다 |
| `\citeauthor{}` | 저자 이름만 출력합니다                                |
| `\citeyear{}`   | 출판 연도만 출력합니다.                               |

이 예제의 나머지 명령에 대한 자세한 정보는 다음을 참조하세요 [natbib를 이용한 참고문헌 관리](/latex/ko/references-and-citations/02-bibliography-management-with-natbib.md)

[의 예제를 열어보라 `natbib` Overleaf에서 패키지](https://www.overleaf.com/project/new/template/19422?id=65532643\&templateName=Natbib+citation+styles+example\&latexEngine=\&texImage=texlive-full%3A2020.1\&mainFile=)

## 추가 읽을거리

* [natbib를 이용한 참고문헌 관리](/latex/ko/references-and-citations/02-bibliography-management-with-natbib.md)
* [Natbib 참고문헌 스타일](/latex/ko/references-and-citations/05-natbib-bibliography-styles.md)
* [Natbib 패키지 문서](http://mirrors.ibiblio.org/CTAN/macros/latex/contrib/natbib/natbib.pdf)
* [국제 언어 지원](/latex/ko/languages/03-international-language-support.md)
* [대규모 프로젝트에서의 관리](/latex/ko/document-structure/07-management-in-a-large-project.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/06-natbib-citation-styles.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.
