> 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/in-depth-articles/38-step-2-an-introduction-to-latex-fonts.md).

# 2단계: LaTeX 글꼴 소개

[소개](https://www.overleaf.com/learn/latex/Articles/How_to_use_OpenType_variable_fonts_with_LaTeX?preview=true) [1단계](https://www.overleaf.com/learn/latex/Articles/Step_1:_Setting_up_an_Overleaf_project_to_use_variable_fonts?preview=true) [2단계](https://www.overleaf.com/learn/latex/Articles/Step_2:_An_introduction_to_LaTeX_fonts?preview=true) [3단계](https://www.overleaf.com/learn/latex/Articles/Step_3:_Replacing_LaTeX’s_default_fonts_with_variable_fonts?preview=true) [4단계](https://www.overleaf.com/learn/latex/Articles/Step_4:_How_to_configure_an_italic_variable_font_using_fontspec?preview=true) [5단계](https://www.overleaf.com/learn/latex/Articles/Step_5:_LaTeX_font_weights_and_named_instances_of_variable_fonts?preview=true) [6단계](https://www.overleaf.com/learn/latex/Articles/Step_6:_Using_variable_fonts_to_add_bold_fonts_to_an_Overleaf_project?preview=true) [7단계](https://www.overleaf.com/learn/latex/Articles/Step_7:_Using_Noto_Sans_and_Roboto_Mono_variable_fonts_with_LaTeX?preview=true) [8단계](https://www.overleaf.com/learn/latex/Articles/Step_8:_How_to_create_a_simple_LaTeX_package_to_configure_your_variable_fonts?preview=true) [예시와 프로젝트](https://www.overleaf.com/learn/latex/Articles/Overleaf_projects_showing_how_to_use_variable_fonts_with_LaTeX?preview=true)

이 단계에서는 LaTeX의 기본 글꼴을 소개하고, LaTeX가 글꼴 속성을 분류하고 “글꼴 형태”를 정의하는 데 사용하는 글꼴 선택 체계를 요약합니다. 이 글에서 다루는 주제들은 튜토리얼의 나머지 부분 전반에서 참조될 것입니다. 이 페이지를 몇 분만 읽어 두면 튜토리얼 시리즈를 최대한 활용하는 데 도움이 됩니다.

### LaTeX의 기본 문서 본문 글꼴

LaTeX는 어떤 문서의 본문을 조판할 때 세 종류의 글꼴 집합을 사용합니다. 이러한 글꼴 집합은 다음으로도 알려져 있습니다 *문서 글꼴 패밀리*; 각 패밀리는 공통된 디자인 특성을 공유하는 글꼴 모음으로 이루어져 있습니다:

* **본문 글꼴 패밀리**: 주로 다음과 같은 디자인을 사용하는 문서 본문용 글꼴입니다. [세리프 디자인](https://en.wikipedia.org/wiki/Serif).
* [**산세리프**](https://en.wikipedia.org/wiki/Sans-serif) **패밀리**: 섹션 제목과 기타 두드러진 텍스트를 조판할 때 자주 사용되는 글꼴입니다.
* [**고정폭**](https://en.wikipedia.org/wiki/Monospaced_font) **패밀리**: 일반적으로 컴퓨터 코드와 유사한 내용을 조판하는 데 사용되는 글꼴입니다.

기본적으로 LaTeX는 다음 계열의 글꼴 패밀리를 사용합니다. [컴퓨터 모더](https://en.wikipedia.org/wiki/Computer_Modern)n 시리즈(pdfLaTeX용) 또는 [Latin Modern](https://tug.org/FontCatalogue/latinmodernroman/) 시리즈(XeLaTeX 및 LuaLaTeX용).

### LaTeX가 글꼴을 분류(조직화)하는 방법

텍스트 조판용 글꼴은 매우 다양하며, 특정한 타이포그래피 목표를 충족하도록 만들어진 풍부한 디자인이 존재합니다. 이러한 다양성을 다루려면, 유연하고 논리적인 글꼴 선택 과정에는 디자인 특성을 바탕으로 글꼴을 조직하고 분류하는 잘 구조화된 체계가 필요합니다. LaTeX는 현재 NFSS2라고 불리는 새로운 글꼴 선택 체계를 사용해 이 문제를 해결하며, 각 텍스트 글꼴을 다음 다섯 매개변수에 따라 분류합니다: *인코딩*, *패밀리*, *시리즈*, *형태*와 *크기*.

다음은 이 다섯 매개변수의 요약입니다.

* **인코딩**: 텍스트 파일에 저장된 정수(문자 코드) 값과 그것이 나타내려는 문자 사이의 대응 관계입니다. LuaLaTeX과 가변 글꼴은 유니코드 인코딩을 사용하며, LaTeX에서는 이를 “TU”로 표기합니다.
* **패밀리**: 공통된 디자인을 가진 글꼴 모음에 붙는 이름입니다. fontspec으로 가변 글꼴을 설정할 때 글꼴 패밀리를 살펴보게 됩니다.
* **시리즈**: 시리즈 값은 글꼴의 굵기(weight)와 너비(width)를 식별합니다. 각 LaTeX 글꼴 시리즈 값은 다음과 같은 `⟨굵기⟩⟨너비⟩` 조합으로 정의되며, *다만* 굵기와 너비가 모두 중간인 경우를 제외하면 m은 생략되고, 이 경우에는 하나의 `m` 이 사용됩니다.

다음 표는 LaTeX의 표준 너비 및 굵기 식별자를 나열합니다.

|             |        |             |       |                            |
| ----------- | ------ | ----------- | ----- | -------------------------- |
| **굵기**      | **너비** |             |       |                            |
| *LaTeX 식별자* | *이름*   | *LaTeX 식별자* | *이름*  | *“보통” 너비의 백분율*<sup>†</sup> |
| ul          | 초경량    | uc          | 초압축   | 50%                        |
| el          | 경량     | ec          | 매우 압축 | 62.5%                      |
| l           | 가벼움    | c           | 압축    | 75%                        |
| sl          | 반가벼움   | sc          | 반압축   | 87.5%                      |
| m           | 중간(보통) | m           | 중간    | 100%                       |
| sb          | 준굵게    | sx          | 반확장   | 112.5%                     |
| b           | 굵게     | x           | 확장    | 125%                       |
| eb          | 초굵게    | ex          | 매우 확장 | 150%                       |
| ub          | 극굵게    | ux          | 초확장   | 200%                       |

<sup>†</sup>공식 LaTeX 문서에 제안된 바와 같이(다음을 보세요 `[fntguide.pdf](https://ctan.org/pkg/fntguide?lang=en)`).

다음은 글꼴 시리즈의 몇 가지 예입니다:

* **m**: 중간 굵기와 중간 너비.
* **b**: 굵은 굵기와 중간 너비—이는 “원래는” 다음과 같이 써야 합니다 **bm** 하지만 **m** (중간 너비를 뜻하는) 문자는 생략됩니다.
* **c**: 중간 굵기, 압축 너비—이는 “원래는” 다음과 같이 써야 합니다 **mc** 하지만 **m** (중간 굵기를 뜻하는) 문자는 생략됩니다.
* **sb**: 준굵은 굵기, 중간 너비—이는 “원래는” 다음과 같이 써야 합니다 **sbm** 하지만 **m** (중간 너비를 뜻하는) 문자는 생략됩니다.
* **bx**: 굵기와 **b** (굵은)과 너비 **x** (확장)를 결합합니다. 이는 현재 글꼴 패밀리의 굵은 확장 글꼴을 선택하는 데 사용됩니다(그런 글꼴이 존재하는 경우).
* **sbc**: 굵기와 **sb** (준굵은)과 너비 **c** (압축)를 결합합니다. 이는 현재 글꼴 패밀리의 준굵은 압축 글꼴을 선택하는 데 사용됩니다(그런 글꼴이 존재하는 경우).
* **형태**: 이 매개변수는 이탤릭, 기울임, 스몰 캡스, 스워시 캡스 같은 글꼴 형태(shape)를 선택합니다. LaTeX는 다음과 같은 표준 형태들을 정의합니다:

|            |                    |
| ---------- | ------------------ |
| **형태 식별자** | **형태 이름**          |
| n          | 보통 형태(직립)          |
| it         | 이탤릭 형태             |
| sl         | 기울임(비스듬한) 형태       |
| sw         | 스워시 문자 형태          |
| ui         | 직립 이탤릭 형태(드묾/호기심용) |
| sc         | 스몰 캡스 형태           |
| scit       | 이탤릭 스몰 캡스 형태       |
| scsl       | 기울인 스몰 캡스 형태       |

* **크기**: 글꼴이 사용되는 크기입니다. LaTeX에는 다음과 같은 여러 미리 정의된 크기 명령이 있습니다. `\tiny`, `\small`, `\normalsize`, `\large`, `\Large`, 등. 또한 다음을 사용하여 특정 글꼴 크기를 정의할 수도 있습니다. `\fontsize{size}{baselineskip}` 여기서 `크기` 는 글꼴 크기이고 `baselineskip` 은 줄 간격입니다.

### (선택 읽기) 특수 시리즈와 형태

이 절은 처음 읽을 때 건너뛰어도 됩니다. Overleaf는 다음과 같은 [이 특수 시리즈와 형태를 보여 주는 프로젝트를 만들었습니다](https://www.overleaf.com/1941895198cqjzyhzvxhwz#794ae2) (조판된 문서의 6절을 보세요).

#### 시리즈 식별자: m? 및 ?m

각 시리즈 식별자가 하나의 `⟨굵기⟩⟨너비⟩` 쌍으로 정의된다는 점을 떠올리면, LaTeX는 글꼴 굵기와 너비를 선택할 때 사용할 수 있는 두 개의 추가 식별자를 제공합니다:

* `m?` 는 중간 굵기를 선택하되 현재 너비 설정은 변경하지 않는다는 뜻입니다.
* `?m` 는 현재 굵기 설정은 변경하지 않지만 중간 너비를 선택한다는 뜻입니다.

#### “가상” 형태

LaTeX는 이른바 “가상” 형태 두 가지를 지원합니다. “가상”이라는 용어는 그것들이 오직 `\fontshape` 명령에 적용하기 위한 매개변수로만 의도되었음을 반영합니다—이 형태들은 실제 글꼴로 존재하지 않습니다.

| **가상 형태 식별자** | **동작**                | **명령**          | **선언**      | **비고**                                                                                             |
| ------------- | --------------------- | --------------- | ----------- | -------------------------------------------------------------------------------------------------- |
| `up`          | 직립 형태로 돌아갑니다.         | `\textup{...}`  | `\upshape`  | 형태를 직립으로 바꾸지만 스몰 캡스 형태는 유지됩니다. 예를 들어, up은 다음의 `scit` 형태를 `sc`. 특이점: 현재 형태가 `sc` 이면 up은 보통 형태(`n`). |
| `ucl`         | 대문자/소문자 글자 형태로 돌아갑니다. | `\textulc{...}` | `\uclshape` | 글꼴 형태를 대문자/소문자 형태로 바꾸지만 이탤릭, 기울임 또는 스워시 형태는 변경하지 않습니다.                                             |

## 다음 단계에서

3단계에서는 LaTeX의 기본 글꼴을 가변 글꼴로 바꾸는 방법을 보여 줍니다.

[소개](https://www.overleaf.com/learn/latex/Articles/How_to_use_OpenType_variable_fonts_with_LaTeX?preview=true) [1단계](https://www.overleaf.com/learn/latex/Articles/Step_1:_Setting_up_an_Overleaf_project_to_use_variable_fonts?preview=true) [2단계](https://www.overleaf.com/learn/latex/Articles/Step_2:_An_introduction_to_LaTeX_fonts?preview=true) [3단계](https://www.overleaf.com/learn/latex/Articles/Step_3:_Replacing_LaTeX’s_default_fonts_with_variable_fonts?preview=true) [4단계](https://www.overleaf.com/learn/latex/Articles/Step_4:_How_to_configure_an_italic_variable_font_using_fontspec?preview=true) [5단계](https://www.overleaf.com/learn/latex/Articles/Step_5:_LaTeX_font_weights_and_named_instances_of_variable_fonts?preview=true) [6단계](https://www.overleaf.com/learn/latex/Articles/Step_6:_Using_variable_fonts_to_add_bold_fonts_to_an_Overleaf_project?preview=true) [7단계](https://www.overleaf.com/learn/latex/Articles/Step_7:_Using_Noto_Sans_and_Roboto_Mono_variable_fonts_with_LaTeX?preview=true) [8단계](https://www.overleaf.com/learn/latex/Articles/Step_8:_How_to_create_a_simple_LaTeX_package_to_configure_your_variable_fonts?preview=true) [예시와 프로젝트](https://www.overleaf.com/learn/latex/Articles/Overleaf_projects_showing_how_to_use_variable_fonts_with_LaTeX?preview=true)


---

# 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/in-depth-articles/38-step-2-an-introduction-to-latex-fonts.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.
