> 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/document-structure/06-nomenclatures.md).

# 명명법

## 소개

약어와 기호 목록은 많은 과학 문서에서 흔합니다. 이러한 유형의 목록은 LaTeX에서 다음을 통해 만들 수 있습니다. `nomencl` 패키지입니다. 이 글에서는 기호의 순서와 하위 그룹화를 사용자 지정하면서 명칭 목록을 만드는 방법을 설명합니다.

명칭 항목은 색인 항목과 거의 비슷하게 작동합니다:

```latex
\documentclass{article}
\usepackage{nomencl}
\makenomenclature

\begin{document}
예시는 다음과 같습니다:
\nomenclature{\(c\)}{진공에서의 빛의 속도}
\nomenclature{\(h\)}{플랑크 상수}

\printnomenclature
\end{document}
```

[이 예제를 `nomencl` Overleaf의 예](https://www.overleaf.com/docs?engine=pdflatex\&snip_name=nomencl+package+example\&snip=%5Cdocumentclass%7Barticle%7D%0A%5Cusepackage%7Bnomencl%7D%0A%5Cmakenomenclature%0A%0A%5Cbegin%7Bdocument%7D%0AHere+is+an+example%3A%0A%5Cnomenclature%7B%5C%28c%5C%29%7D%7BSpeed+of+light+in+a+vacuum%7D%0A%5Cnomenclature%7B%5C%28h%5C%29%7D%7BPlanck+constant%7D%0A%0A%5Cprintnomenclature%0A%5Cend%7Bdocument%7D)

![Nomenclatures01OLV2.png](/files/77ab834e72cf57e849a041f7b01a3591da3b1e72)

평소처럼 패키지는 서문에 다음과 같이 가져옵니다 `\usepackage{nomencl}`. 세 가지 기본 명칭 목록 생성 명령은 다음과 같습니다:

* `\makenomenclature`. 보통 패키지를 가져온 직후에 둡니다.
* `\nomenclature`. 명칭 항목 자체를 정의하는 데 사용됩니다. 두 개의 인수, 즉 기호와 해당 설명을 받습니다.
* `\printnomenclatures`. 이 명령은 명칭 목록을 출력합니다.

## 기본 구문

가져올 때 추가 옵션을 사용할 수 있습니다 `nomencl` 패키지. 다음 예시는 명칭 목록을 목차에 추가하고 기본 언어를 변경하는 방법을 보여줍니다:

```latex
\documentclass{article}
\usepackage[spanish]{babel}
\usepackage[intoc, spanish]{nomencl}
\makenomenclature

\begin{document}
\tableofcontents

\section{Primera Sección}

Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Etiam lobortisfacilisis sem. Nullam nec mi et neque pharetra sollicitudin. Praesent imperdie...

\nomenclature{\(c\)}{진공에서의 빛의 속도}
\nomenclature{\(h\)}{플랑크 상수}

\printnomenclature
\end{document}
```

[이 예제를 `nomencl` Overleaf의 예](https://www.overleaf.com/docs?engine=pdflatex\&snip_name=nomencl+package+example\&snip=%5Cdocumentclass%7Barticle%7D%0A%5Cusepackage%5Bspanish%5D%7Bbabel%7D%0A%5Cusepackage%5Bintoc%2C+spanish%5D%7Bnomencl%7D%0A%5Cmakenomenclature%0A%0A%5Cbegin%7Bdocument%7D%0A%5Ctableofcontents%0A%0A%5Csection%7BPrimera+Secci%C3%B3n%7D%0A%0ALorem+ipsum+dolor+sit+amet%2C+consectetuer+adipiscing+elit.+Etiam+lobortisfacilisis+sem.+Nullam+nec+mi+et+neque+pharetra+sollicitudin.+Praesent+imperdie...%0A%0A%5Cnomenclature%7B%5C%28c%5C%29%7D%7BSpeed+of+light+in+a+vacuum%7D%0A%5Cnomenclature%7B%5C%28h%5C%29%7D%7BPlanck+constant%7D%0A%0A%5Cprintnomenclature%0A%5Cend%7Bdocument%7D)

![Nomenclatures02OLV2.png](/files/f67b80e3f592561fd8a03e35f94aba442ba0e480)

여기서 패키지를 가져올 때 사용한 추가 옵션은 다음과 같습니다:

* `intoc` 다음을 추가합니다 **명칭 목록** 를 목차에 추가합니다.
* `스페인어` 언어를 변경하여 기본 제목인 *명칭 목록* 을 그에 맞게 번역합니다. 지원되는 언어는 다음과 같습니다: `크로아티아어`, `덴마크어`, `영어`, `프랑스어`, `독일어`, `이탈리아어`, `폴란드어`, `포르투갈어`, `러시아어`, `스페인어` 및 `우크라이나어`.

패키지의 다른 유용한 기능으로는 `nomencl` 명칭 목록 제목을 수동으로 설정하고 추가 주석을 넣는 기능이 있습니다.

```latex
\documentclass{article}
\usepackage{nomencl}
\makenomenclature

\renewcommand{\nomname}{기호 목록}

\renewcommand{\nompreamble}{다음 목록은 문서 본문에서 나중에 사용될 여러 기호를 설명합니다}

\begin{document}
예시는 다음과 같습니다:

\nomenclature{\(c\)}{진공에서의 빛의 속도}
\nomenclature{\(h\)}{플랑크 상수}

\printnomenclature
\end{document}
```

[이 예제를 `nomencl` Overleaf의 예](https://www.overleaf.com/docs?engine=pdflatex\&snip_name=nomencl+package+example\&snip=%5Cdocumentclass%7Barticle%7D%0A%5Cusepackage%7Bnomencl%7D%0A%5Cmakenomenclature%0A%0A%5Crenewcommand%7B%5Cnomname%7D%7BList+of+Symbols%7D%0A%0A%5Crenewcommand%7B%5Cnompreamble%7D%7BThe+next+list+describes+several+symbols+that+will+be+later+used+within+the+body+of+the+document%7D%0A%0A%5Cbegin%7Bdocument%7D%0AHere+is+an+example%3A%0A%0A%5Cnomenclature%7B%5C%28c%5C%29%7D%7BSpeed+of+light+in+a+vacuum%7D%0A%5Cnomenclature%7B%5C%28h%5C%29%7D%7BPlanck+constant%7D%0A%0A%5Cprintnomenclature%0A%5Cend%7Bdocument%7D)

![Nomenclatures03verbOLV2.png](/files/8c81e6ebc370e37cd81082c966dcbd992155baeb)

다음 줄은

```
\renewcommand{\nomname}{기호 목록}
```

기본 제목을 변경합니다.

명령은

```
\renewcommand{\nompreamble}{다음 목록...}
```

제목과 목록 기호 사이에 일부 텍스트를 삽입합니다.

## 그룹화

기호를 유형에 따라 그룹화하려면 추가 작업이 필요합니다. 각 기호에 접두사를 추가하고 `etoolbox` 패키지를 사용하여 접두사를 비교합니다.

```latex
\documentclass{article}
\usepackage{amssymb}
\usepackage{nomencl}
\makenomenclature

%% 이 코드는 그룹을 생성합니다
% -----------------------------------------
\usepackage{etoolbox}
\renewcommand\nomgroup[1]{%
  \item[\bfseries
  \ifstrequal{#1}{P}{물리 상수}{%
  \ifstrequal{#1}{N}{수 체계}{%
  \ifstrequal{#1}{O}{기타 기호}{}}}%
]}
% -----------------------------------------

\begin{document}
예시는 다음과 같습니다:

\nomenclature[P]{\(c\)}{진공에서의 빛의 속도}
\nomenclature[P]{\(h\)}{플랑크 상수}
\nomenclature[P]{\(G\)}{중력 상수}
\nomenclature[N]{\(\mathbb{R}\)}{실수}
\nomenclature[N]{\(\mathbb{C}\)}{복소수}
\nomenclature[N]{\(\mathbb{H}\)}{사원수}
\nomenclature[O]{\(V\)}{일정한 부피}
\nomenclature[O]{\(\rho\)}{마찰 지수}

\printnomenclature
\end{document}
```

[이 예제를 `nomencl` Overleaf의 예](https://www.overleaf.com/docs?engine=pdflatex\&snip_name=nomencl+package+example\&snip=%5Cdocumentclass%7Barticle%7D%0A%5Cusepackage%7Bamssymb%7D%0A%5Cusepackage%7Bnomencl%7D%0A%5Cmakenomenclature%0A%0A%25%25+This+code+creates+the+groups%0A%25+-----------------------------------------%0A%5Cusepackage%7Betoolbox%7D%0A%5Crenewcommand%5Cnomgroup%5B1%5D%7B%25%0A++%5Citem%5B%5Cbfseries%0A++%5Cifstrequal%7B%231%7D%7BP%7D%7BPhysics+constants%7D%7B%25%0A++%5Cifstrequal%7B%231%7D%7BN%7D%7BNumber+sets%7D%7B%25%0A++%5Cifstrequal%7B%231%7D%7BO%7D%7BOther+symbols%7D%7B%7D%7D%7D%25%0A%5D%7D%0A%25+-----------------------------------------%0A%0A%5Cbegin%7Bdocument%7D%0AHere+is+an+example%3A%0A%0A%5Cnomenclature%5BP%5D%7B%5C%28c%5C%29%7D%7BSpeed+of+light+in+a+vacuum%7D%0A%5Cnomenclature%5BP%5D%7B%5C%28h%5C%29%7D%7BPlanck+constant%7D%0A%5Cnomenclature%5BP%5D%7B%5C%28G%5C%29%7D%7BGravitational+constant%7D%0A%5Cnomenclature%5BN%5D%7B%5C%28%5Cmathbb%7BR%7D%5C%29%7D%7BReal+numbers%7D%0A%5Cnomenclature%5BN%5D%7B%5C%28%5Cmathbb%7BC%7D%5C%29%7D%7BComplex+numbers%7D%0A%5Cnomenclature%5BN%5D%7B%5C%28%5Cmathbb%7BH%7D%5C%29%7D%7BQuaternions%7D%0A%5Cnomenclature%5BO%5D%7B%5C%28V%5C%29%7D%7BConstant+volume%7D%0A%5Cnomenclature%5BO%5D%7B%5C%28%5Crho%5C%29%7D%7BFriction+index%7D%0A%0A%5Cprintnomenclature%0A%5Cend%7Bdocument%7D)

![Nomenclatures04OLV2.png](/files/20ca900f3a32f11b7c4a944fc14d671495d62383)

몇 개의 추가 그룹이 추가됩니다. 이를 위한 코드는 그렇게 단순하지 않으며, 다음 명령을 사용합니다 `\ifstrequal{}{}{}{}`에서 첫 두 인수는 비교할 문자열이며, 같으면 해당 용어가 그룹에 추가되고 그렇지 않으면 다음 중첩 조건이 검사됩니다.

이제 각 `\nomenclature` 명령에는 대괄호 안에 접두사라는 추가 인수가 있으며, 이는 그룹화 코드에서 사용됩니다.

만약 `etoolbox` 를 사용할 수 없다면 다음을 사용할 수 있습니다 `ifthen` 패키지를 대신 사용할 수 있으며, 다음 조건문을 제공합니다 `\ifthenelse{}{}{}`이지만, 구문은 조금 더 복잡합니다:

```latex
\usepackage{ifthen}
  \renewcommand{\nomgroup}[1]{%
  \item[\bfseries
  \ifthenelse{\equal{#1}{P}}{물리 상수}{%
  \ifthenelse{\equal{#1}{O}}{기타 기호}{%
  \ifthenelse{\equal{#1}{N}}{수 체계}{}}}%
  ]}
```

이렇게 하면 동일한 명칭 그룹이 생성됩니다.

## 물리 상수에 단위를 추가하기

또 다른 흥미로운 기능은 다음을 사용하는 것입니다 `siunitx` 패키지를 사용하여 단위를 추가하고, 해당 항목의 오른쪽에 맞추어 정렬하는 것입니다. 이를 위해 다음을 정의해야 합니다 `nomunit` 다음 예제와 같이 매크로를 정의합니다:

```latex
\documentclass{article}
\usepackage{amssymb}
\usepackage{nomencl}
\usepackage{siunitx}
\usepackage{hyperref}
\makenomenclature
\hypersetup{
    colorlinks=true,
    urlcolor=blue,
}
%% 이것은 하위 그룹을 추가합니다
%----------------------------------------------
\usepackage{etoolbox}
\renewcommand\nomgroup[1]{%
  \item[\bfseries
  \ifstrequal{#1}{A}{물리 상수}{%
  \ifstrequal{#1}{B}{수 체계}{%
  \ifstrequal{#1}{C}{기타 기호}{}}}%
]}
%----------------------------------------------

%% 이것은 단위를 추가합니다
%----------------------------------------------
\newcommand{\nomunit}[1]{%
\renewcommand{\nomentryend}{\hspace*{\fill}#1}}
%----------------------------------------------

\title{명칭 목록 예제}
\author{Overleaf 팀}
\date{\today}

\begin{document}
\maketitle

\noindent 이 예제는 \texttt{nomencl} 패키지가 어떻게 작동하는지, 그리고 \texttt{siunitx} 패키지를 통해 단위를 조판하는 방법을 보여주기 위한 것입니다. 물리 상수의 값과 해당 단위를 제공하기 위해 \href{https://www.nist.gov/pml/fundamental-physical-constants}{NIST}를 참고했으며, 링크는 \texttt{hyperref} 패키지를 통해 제공됩니다:

\nomenclature[A, 02]{\(c\)}{\href{https://physics.nist.gov/cgi-bin/cuu/Value?c}
{진공에서의 빛의 속도}
\nomunit{\SI{299792458}{\meter\per\second}}}
\nomenclature[A, 03]{\(h\)}{\href{https://physics.nist.gov/cgi-bin/cuu/Value?h}
{플랑크 상수}
\nomunit{\SI[group-digits=false]{6.62607015e-34}{\joule\per\hertz}}}
\nomenclature[A, 01]{\(G\)}{\href{https://physics.nist.gov/cgi-bin/cuu/Value?bg}
{중력 상수}
\nomunit{\SI[group-digits=false]{6.67430e-11}{\meter\cubed\per\kilogram\per\second\squared}}}
\nomenclature[B, 03]{\(\mathbb{R}\)}{실수}
\nomenclature[B, 02]{\(\mathbb{C}\)}{복소수}
\nomenclature[B, 01]{\(\mathbb{H}\)}{사원수}
\nomenclature[C]{\(V\)}{일정한 부피}
\nomenclature[C]{\(\rho\)}{마찰 지수}

\printnomenclature

\end{document}
```

[Overleaf에서 열기(패키지를 사용하는 예 `nomencl` 및 `siunitx` 들).](/latex/ko/document-structure/06-nomenclatures.md)

![Nomcomplex.png](/files/f383caa898654687292ee3335697ffcd0df4a1b5)

## 항목 정렬

이것이 기본 정렬 순서입니다:

```latex
\documentclass{article}
\usepackage{nomencl}

\makenomenclature

\begin{document}
예시는 다음과 같습니다:

\nomenclature{\(+a\)}{연산자}
\nomenclature{\(2a\)}{숫자}
\nomenclature{\(:a\)}{문장 부호}
\nomenclature{\(Aa\)}{대문자}
\nomenclature{\(aa\)}{소문자}
\nomenclature{\(\alpha\)}{그리스 문자}

\printnomenclature

\end{document}
```

[이 예제를 `nomencl` Overleaf의 예](https://www.overleaf.com/docs?engine=pdflatex\&snip_name=nomencl+default+sort+order\&snip=%5Cdocumentclass%7Barticle%7D%0A%5Cusepackage%7Bnomencl%7D%0A%0A%5Cmakenomenclature%0A%0A%5Cbegin%7Bdocument%7D%0AHere+is+an+example%3A%0A%0A%5Cnomenclature%7B%5C%28%2Ba%5C%29%7D%7BOperator%7D%0A%5Cnomenclature%7B%5C%282a%5C%29%7D%7BNumber%7D%0A%5Cnomenclature%7B%5C%28%3Aa%5C%29%7D%7BPunctuation+symbol%7D%0A%5Cnomenclature%7B%5C%28Aa%5C%29%7D%7BUppercase+letter%7D%0A%5Cnomenclature%7B%5C%28aa%5C%29%7D%7BLowercase+letter%7D%0A%5Cnomenclature%7B%5C%28%5Calpha%5C%29%7D%7BGreek+character%7D%0A%0A%5Cprintnomenclature%0A%0A%5Cend%7Bdocument%7D)

![Nomenclatures05OLV2.png](/files/8c75849646c9bbbbe7c1724fcb769f73335ab051)

백슬래시 때문에 그리스 문자가 알파벳 문자보다 먼저 나타났다는 점에 주목하세요 `\` 에서 `\alpha`.

그룹화와 마찬가지로 접두사를 사용하여 명칭 항목을 수동으로 정렬할 수 있습니다:

```latex
\documentclass{article}
\usepackage{nomencl}

\makenomenclature

\begin{document}
예시는 다음과 같습니다:

\nomenclature[06]{\(+a\)}{연산자}
\nomenclature[03]{\(2a\)}{숫자}
\nomenclature[05]{\(:a\)}{문장 부호}
\nomenclature[04]{\(Aa\)}{대문자}
\nomenclature[01]{\(aa\)}{소문자}
\nomenclature[02]{\(\alpha\)}{그리스 문자}

\printnomenclature

\end{document}
```

[이 예제를 `nomencl` Overleaf의 예](https://www.overleaf.com/docs?engine=pdflatex\&snip_name=Sorting+nomencl+entries\&snip=%5Cdocumentclass%7Barticle%7D%0A%5Cusepackage%7Bnomencl%7D%0A%0A%5Cmakenomenclature%0A%0A%5Cbegin%7Bdocument%7D%0AHere+is+an+example%3A%0A%0A%5Cnomenclature%5B06%5D%7B%5C%28%2Ba%5C%29%7D%7BOperator%7D%0A%5Cnomenclature%5B03%5D%7B%5C%282a%5C%29%7D%7BNumber%7D%0A%5Cnomenclature%5B05%5D%7B%5C%28%3Aa%5C%29%7D%7BPunctuation+symbol%7D%0A%5Cnomenclature%5B04%5D%7B%5C%28Aa%5C%29%7D%7BUppercase+letter%7D%0A%5Cnomenclature%5B01%5D%7B%5C%28aa%5C%29%7D%7BLowercase+letter%7D%0A%5Cnomenclature%5B02%5D%7B%5C%28%5Calpha%5C%29%7D%7BGreek+character%7D%0A%0A%5Cprintnomenclature%0A%0A%5Cend%7Bdocument%7D)

![Nomenclatures06OLV2.png](/files/5aea756b46309c3be04efa4239195fb8f8e241a1)

대괄호 안의 숫자는 해당 기호를 출력할 순서를 결정합니다. 그룹화와 수동 정렬을 함께 사용할 수도 있습니다:

```latex
\documentclass{article}
\usepackage{amssymb}
\usepackage{nomencl}
\makenomenclature

\usepackage{etoolbox}
\renewcommand\nomgroup[1]{%
  \item[\bfseries
  \ifstrequal{#1}{A}{물리 상수}{%
  \ifstrequal{#1}{B}{수 체계}{%
  \ifstrequal{#1}{C}{기타 기호}{}}}%
]}

\begin{document}
예시는 다음과 같습니다:

\nomenclature[A, 02]{\(c\)}{진공에서의 빛의 속도}
\nomenclature[A, 03]{\(h\)}{플랑크 상수}
\nomenclature[A, 01]{\(G\)}{중력 상수}
\nomenclature[B, 03]{\(\mathbb{R}\)}{실수}
\nomenclature[B, 02]{\(\mathbb{C}\)}{복소수}
\nomenclature[B, 01]{\(\mathbb{H}\)}{옥토니온}
\nomenclature[C]{\(V\)}{일정한 부피}
\nomenclature[C]{\(\rho\)}{마찰 지수}

\printnomenclature

\end{document}
```

[이 예제를 `nomencl` Overleaf의 예](https://www.overleaf.com/docs?engine=pdflatex\&snip_name=Grouping+and+sorting+with+nomencl\&snip=%5Cdocumentclass%7Barticle%7D%0A%5Cusepackage%7Bamssymb%7D%0A%5Cusepackage%7Bnomencl%7D%0A%5Cmakenomenclature%0A%0A%5Cusepackage%7Betoolbox%7D%0A%5Crenewcommand%5Cnomgroup%5B1%5D%7B%25%0A++%5Citem%5B%5Cbfseries%0A++%5Cifstrequal%7B%231%7D%7BA%7D%7BPhysics+Constants%7D%7B%25%0A++%5Cifstrequal%7B%231%7D%7BB%7D%7BNumber+Sets%7D%7B%25%0A++%5Cifstrequal%7B%231%7D%7BC%7D%7BOther+Symbols%7D%7B%7D%7D%7D%25%0A%5D%7D%0A%0A%5Cbegin%7Bdocument%7D%0AHere+is+an+example%3A%0A%0A%5Cnomenclature%5BA%2C+02%5D%7B%5C%28c%5C%29%7D%7BSpeed+of+light+in+a+vacuum%7D%0A%5Cnomenclature%5BA%2C+03%5D%7B%5C%28h%5C%29%7D%7BPlanck+constant%7D%0A%5Cnomenclature%5BA%2C+01%5D%7B%5C%28G%5C%29%7D%7BGravitational+constant%7D%0A%5Cnomenclature%5BB%2C+03%5D%7B%5C%28%5Cmathbb%7BR%7D%5C%29%7D%7BReal+numbers%7D%0A%5Cnomenclature%5BB%2C+02%5D%7B%5C%28%5Cmathbb%7BC%7D%5C%29%7D%7BComplex+numbers%7D%0A%5Cnomenclature%5BB%2C+01%5D%7B%5C%28%5Cmathbb%7BH%7D%5C%29%7D%7BOctonions%7D%0A%5Cnomenclature%5BC%5D%7B%5C%28V%5C%29%7D%7BConstant+volume%7D%0A%5Cnomenclature%5BC%5D%7B%5C%28%5Crho%5C%29%7D%7BFriction+index%7D%0A%0A%5Cprintnomenclature%0A%0A%5Cend%7Bdocument%7D)

![Nomenclatures07OLV2.png](/files/79df7c332c94d8a683d8cf8a13ff7bdfb8cf5907)

그룹화에 사용된 대문자는 이전 섹션의 예에서 사용된 문자와 다릅니다. 그 문자는 그룹을 정렬하는 데 사용되기 때문입니다.

## 추가 읽을거리

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

* [용어집](/latex/ko/document-structure/05-glossaries.md)
* [다중 파일 LaTeX 프로젝트](/latex/ko/document-structure/08-multi-file-latex-projects.md)
* [텍스트 정렬](/latex/ko/formatting/06-text-alignment.md)
* [굵게, 이탤릭체 및 밑줄](/latex/ko/latex/03-bold-italics-and-underlining.md)
* [수학 표현식](/latex/ko/mathematics/01-mathematical-expressions.md)
* [매크로 만들기 및 다시 정의하기](/latex/ko/commands/01-commands.md)
* [`nomencl` 패키지 문서](http://mirror.jmu.edu/pub/CTAN/macros/latex/contrib/nomencl/nomencl.pdf)
* [`ifthen` 패키지 문서](http://texdoc.net/texmf-dist/doc/latex/base/ifthen.pdf)
* [`etoolbox` 패키지 문서](http://mirror.math.ku.edu/tex-archive/macros/latex/contrib/etoolbox/etoolbox.pdf)


---

# 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/document-structure/06-nomenclatures.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.
