> 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/41-step-5-latex-font-weights-and-named-instances-of-variable-fonts.md).

# 5단계: 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의 표준 글꼴 굵기와 어떻게 대응될 수 있는지 살펴봅니다.

4단계에서 설정한 튜토리얼 프로젝트를 열었는지 확인하세요.

## 디자인 축 값을 설정하는 두 가지 방법

Google의 타입 테스터 페이지는 변수 글꼴의 디자인 축 값을 설정하는 두 가지 방법을 제공합니다: 슬라이더를 사용하거나 이름과 값의 드롭다운 목록을 사용하는 방법입니다.  [Noto Serif의 테스터 페이지는](https://fonts.google.com/noto/specimen/Noto+Serif/tester) 100에서 900까지의 굵기 축 슬라이더와, 서로 다른 글꼴 굵기를 나타내는 명명된 인스턴스 목록을 제공합니다.

![슬라이더 또는 명명된 인스턴스를 사용하여 디자인 축 값을 설정하는 두 가지 방법을 보여주는 이미지](/files/f8fe11fde6b87d133b51e63a7471effa1e643596)

### 변수 글꼴의 “인스턴스”란 무엇인가요?

변수 글꼴의  *인스턴스* 는 여러 가능한 스타일 변형 중 하나를 만들기 위해 사용되는 특정 축 값 집합입니다. 축 값 집합에 이름을 붙이면 명명된 인스턴스가 정의됩니다. 명명된 인스턴스에 대한 데이터는 변수 글꼴 파일 안에 저장됩니다.

## LaTeX의 글꼴 굵기 이름

2단계에서 언급했듯이, LaTeX는 9개의 표준 글꼴 굵기를 정의하며, 각각은 짧은 식별자와 더 긴 설명용 이름을 가집니다:

|                  |                 |
| ---------------- | --------------- |
| **LaTeX 굵기 식별자** | **LaTeX 굵기 이름** |
| ul               | 초경량             |
| el               | 경량              |
| l                | 가벼움             |
| sl               | 반가벼움            |
| m                | 중간(보통)          |
| sb               | 준굵게             |
| b                | 굵게              |
| eb               | 초굵게             |
| ub               | 극굵게             |

Noto Serif의 굵기 축 값은 100에서 900까지이며, 100씩 증가하는 9개의 명명된 인스턴스 값을 편리하게 제공합니다. 각 명명된 인스턴스는 아래 표에 요약된 것처럼 LaTeX의 9개 표준 굵기 중 하나와 대응될 수 있습니다.

|              |                    |        |           |
| ------------ | ------------------ | ------ | --------- |
| **LaTeX 굵기** | **변수 글꼴 명명된 인스턴스** |        |           |
| *LaTeX 식별자*  | *이름*               | *굵기 값* | *인스턴스 이름* |
| ul           | 초경량                | 100    | 가는        |
| el           | 경량                 | 200    | 경량        |
| l            | 가벼움                | 300    | 가벼움       |
| sl           | 반가벼움               | 400    | 보통        |
| m            | 중간(보통)             | 500    | 중간        |
| sb           | 준굵게                | 600    | 준굵게       |
| b            | 굵게                 | 700    | 굵게        |
| eb           | 초굵게                | 800    | 초굵게       |
| ub           | 극굵게                | 900    | 흑체        |

## LaTeX의 “medium”(regular) 굵기 값 선택하기

LaTeX에서 “medium”과 “regular” 굵기는 같은 의미입니다: 문서 본문 대부분에 사용되는 글꼴 굵기입니다. 이는 Regular 굵기가 400이고 Medium 굵기가 500인 Noto Serif의 명명된 인스턴스와는 대조적입니다. LaTeX의 medium 굵기에 어떤 값을 선택할지는 우리에게 달려 있습니다. 우리는 400을 시도해 보겠지만, 만약 잘 맞지 않으면(보기 좋지 않으면) 다른 값으로 쉽게 바꿀 수 있습니다. 이것이 바로 변수 글꼴의 장점인 타이포그래피 제어입니다.

### 중간 굵기 변수 글꼴의 값 설정하기

굵은 글꼴을 추가하기 전에, 프로젝트에서 사용하는 Noto Serif 글꼴의 LaTeX 중간(보통) 굵기에 대한 값을 설정해야 합니다.

fontspec은 굵기 축의 값을 설정하는 두 가지 기능을 제공합니다:

* Weight = ⟨value⟩는 굵기 축을 지원되는 모든 ⟨value⟩로 설정합니다
* Instance = ⟨named instance⟩는 ⟨named instance⟩ 설정에 정의된 대로 굵기를 설정합니다

### 중간 굵기를 400으로 설정하기

중간 굵기를 400으로 설정하려면, 현재 프로젝트의 \setmainfont 명령을 다음과 같이 수정하세요

```
\setmainfont{NotoSerif-VariableFont-wdth-wght.ttf}[
Weight=400,
% 또는 Weight=400을 다음으로 바꿀 수 있습니다
% Instance=Regular,
ItalicFont=NotoSerif-Italic-VariableFont-wdth-wght.ttf
]
```

이탤릭 글꼴의 굵기 축 값도 400이 됩니다.

문서를 다시 컴파일한 뒤 조판 결과가 마음에 들지 않으면 다음을 시도해 볼 수 있습니다:

* Weight 축에 다른 값을 사용해 보기
* 다음 명령을 사용하여 글꼴 크기와 줄 간격을 실험해 보기 `\fontsize` 명령; 예를 들어 다음과 같이 입력해 보세요

```
\fontsize{9}{11}\selectfont
```

바로 뒤에 `\begin{document}`

## 다음 단계에서

다음 단계에서는 변수 글꼴을 설정하여 굵은 글꼴과 굵은 이탤릭 글꼴을 제공하도록 구성합니다.


---

# 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/41-step-5-latex-font-weights-and-named-instances-of-variable-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.
