> 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/29-how-to-use-opentype-variable-fonts-with-latex.md).

# LaTeX에서 OpenType 가변 글꼴을 사용하는 방법

[소개](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)

이 튜토리얼 시리즈에서는 LuaLaTeX와 [fontspec 패키지](https://ctan.org/pkg/fontspec?lang=en)를 중심으로, LaTeX에서 OpenType 가변 글꼴을 설치, 설정, 사용하는 방법을 배웁니다. [Overleaf 프로젝트](https://www.overleaf.com/8438931911svtqtnmfvsrp#28008d)를 통해, 실용적인 기술과 필수 배경 지식을 모두 다루는 단계별 지침을 따라가며 LaTeX 문서에서 가변 글꼴을 자신 있게 사용할 수 있게 됩니다. 또한 적절한 가변 글꼴을 설정해 “undefined font shape” 경고를 해결하는 방법을 포함하여, LaTeX 글꼴에 대한 더 넓은 이해를 쌓게 됩니다.

가변 글꼴은 LaTeX 문서 디자인에서 비교할 수 없는 유연성을 제공하며, 굵기와 너비 같은 글꼴 속성을 사용자 지정할 수 있게 해 텍스트 표현과 가독성을 향상합니다. 또한 주어진 공간에 더 많은 텍스트를 맞추는 것과 같은 조판 문제를 해결하는 데도 도움이 됩니다. 단, 이 시리즈는 텍스트 글꼴에만 초점을 맞추며, 수학 조판용 가변 글꼴은 아직 제공되지 않는다는 점에 유의하세요.

### 튜토리얼 내용

* 가변 글꼴 소개(이 글)
* [1단계: 가변 글꼴을 사용하기 위한 Overleaf 프로젝트 설정](/latex/ko/in-depth-articles/37-step-1-setting-up-an-overleaf-project-to-use-variable-fonts.md)
* [2단계: LaTeX 글꼴 소개](/latex/ko/in-depth-articles/38-step-2-an-introduction-to-latex-fonts.md)
* [3단계: LaTeX의 기본 글꼴을 가변 글꼴로 교체하기](/latex/ko/in-depth-articles/39-step-3-replacing-latex-s-default-fonts-with-variable-fonts.md)
* [4단계: fontspec을 사용하여 이탤릭 가변 글꼴을 설정하는 방법](/latex/ko/in-depth-articles/40-step-4-how-to-configure-an-italic-variable-font-using-fontspec.md)
* [5단계: LaTeX 글꼴 굵기와 가변 글꼴의 명명된 인스턴스](/latex/ko/in-depth-articles/41-step-5-latex-font-weights-and-named-instances-of-variable-fonts.md)
* [6단계: 가변 글꼴을 사용해 Overleaf 프로젝트에 굵은 글꼴 추가하기](/latex/ko/in-depth-articles/42-step-6-using-variable-fonts-to-add-bold-fonts-to-an-overleaf-project.md)
* [7단계: LaTeX와 함께 Noto Sans 및 Roboto Mono 가변 글꼴 사용하기](/latex/ko/in-depth-articles/43-step-7-using-noto-sans-and-roboto-mono-variable-fonts-with-latex.md)
* [8단계: 가변 글꼴을 설정하는 간단한 LaTeX 패키지 만들기](/latex/ko/in-depth-articles/44-step-8-how-to-create-a-simple-latex-package-to-configure-your-variable-fonts.md)
* [LaTeX에서 가변 글꼴을 사용하는 방법을 보여주는 5개의 Overleaf 프로젝트](/latex/ko/in-depth-articles/35-overleaf-projects-showing-how-to-use-variable-fonts-with-latex.md)

### 가변 글꼴 소개

활자 디자이너, 디자이너, 글꼴 애호가들에게 2016년 9월 14일은 기억할 만한 날입니다. 그날 Microsoft, [Google](https://opensource.googleblog.com/2016/09/introducing-opentype-font-variations.html), [Adobe](https://blog.typekit.com/2016/09/14/variable-fonts-a-new-kind-of-font-for-flexible-design/)와 Apple은 [공개적으로 발표했습니다](https://youtu.be/6kizDePhcFU?feature=shared\&t=250) 새로운 글꼴 형식인 [OpenType Font Variations](https://medium.com/variable-fonts/https-medium-com-tiro-introducing-opentype-variable-fonts-12ba6cd2369)를, 더 흔히 알려진 이름으로는 *OpenType 가변 글꼴* 또는 간단히 *가변 글꼴*.

전통적으로 regular, bold, semi-bold, extra bold, condensed, bold-condensed 등 각 글꼴 스타일마다 별도의 글꼴 파일이 필요했지만, 이제는 더 이상 그럴 필요가 없습니다. OpenType 가변 글꼴은 *디자인 축*으로 알려진 내장 매개변수의 값을 조정하여 하나의 글꼴 파일로 여러 글꼴 스타일을 만들어 낼 수 있게 해 주는 인상적인 기술입니다. 이는 다음 비디오에서 Google의 [Noto Serif 가변 글꼴](https://fonts.google.com/noto/specimen/Noto+Serif/tester).

{% embed url="<https://videos.ctfassets.net/nrgyaltdicpt/3OhDBHA95DciCRVRgrF4wp/18f8c3f6d15109bf307c48bde9d7c879/VariableFonts.mp4>" %}

을 사용하여 보여줍니다. Google의 Noto Serif에는 너비와 굵기라는 두 개의 디자인 축이 있지만, 다른 글꼴은 하나의 축만 가지거나 여러 축을 가질 수도 있습니다. 예를 들어 [Recursive](https://fonts.google.com/specimen/Recursive/tester) 라는 가변 글꼴은 다섯 개의 축을 가지고 있고 [어떤 것은 그보다 더 많습니다](https://www.axis-praxis.org/specimens/decovar). 글꼴 개발자가 축의 개수와 그 디자인 효과를 결정합니다.

### 디자인 축에 대한 몇 가지 참고 사항

LaTeX(특히 fontspec과 LuaLaTeX)에서 가변 글꼴을 사용하기 위해 디자인 축에 대해 알아야 할 내용은 다음과 같습니다.

* 각 디자인 축은 짧은 네 글자짜리 “태그”와 더 길고 설명적인 이름으로 식별됩니다.
* OpenType 가변 글꼴 사양은 다음을 규정합니다 [5개의 등록된(“표준”) 축](https://learn.microsoft.com/en-us/typography/opentype/spec/dvaraxisreg#registered-axis-tags):

|      |       |
| ---- | ----- |
| 태그   | 이름    |
| ital | 이탤릭   |
| opsz | 광학 크기 |
| slnt | 기울기   |
| wdth | 폭     |
| wght | 굵기    |

* 부터 시작하여 [버전 2.9a](https://github.com/latex3/fontspec/releases/tag/v2.9a)에서 관찰했듯이, [fontspec 패키지](https://ctan.org/pkg/fontspec?lang=en) 와 같은 이름을 사용해 표준 축의 값을 설정할 수 있습니다 `Weight=400`.
* 글꼴 제작자는 추가 디자인 축을 자유롭게 만들고 이름을 붙일 수 있습니다. fontspec은 네 글자 태그를 사용해 어떤 디자인 축이든 값을 설정할 수 있는 기능을 제공합니다.
* 디자인 축의 값은 글꼴 제작자가 정한 단계 크기를 사용해 최솟값에서 최댓값까지 범위가 정해집니다. LaTeX(LuaLaTeX)에서 가변 글꼴을 사용하려면 해당 축과 그 최솟값, 최댓값, 증가값(단계 크기)을 알아야 합니다.
* 현재 가변 글꼴은 문서의 텍스트에만 사용할 수 있으며, 가변 수학 글꼴은 없습니다.
* Google은 [디자인 축 목록](https://fonts.google.com/variablefonts#axis-definitions) 을 유지 관리하고 있으며, 여기에는 그들이 제공하는 글꼴에서 현재 사용되는 네 글자 디자인 태그, 전체 이름, 그리고 해당 축이 무엇을 하는지에 대한 설명이 포함됩니다.

### 가변 글꼴은 LuaLaTeX와 fontspec 패키지가 필요합니다

2024년 8월 기준으로 OpenType 가변 글꼴을 지원하는 것은 LuaLaTeX [컴파일러](/latex/ko/knowledge-base/026-changing-compiler.md) 뿐이며, pdfLaTeX와 XeLaTeX는 지원하지 않습니다.

LuaLaTeX에서 OpenType 글꼴을 사용하려면 fontspec 패키지가 필요하며, 이는 사용자가 더 낮은 수준의 보다 기술적인 글꼴 로딩 시스템인 [luaotfload](https://ctan.org/pkg/luaotfload?lang=en)에 접근할 수 있도록 해 주는 명령을 제공합니다. luaotfload의 기능을 직접 사용하는 것도 충분히 가능하지만, 대부분의 사람들은 fontspec의 편의성과 사용성을 선호합니다.

[TeX Live 2024](https://www.overleaf.com/blog/tex-live-2024-is-now-available) 에는 2024년 2월 13일에 공개된 fontspec 버전 2.9a가 포함되어 있으며, 가변 글꼴 사용을 훨씬 더 쉽게 해 주는 추가 기능이 들어 있습니다.

### 가변 글꼴을 어디서 찾고 살펴볼 수 있나요?

Google Fonts를 방문하는 것이 시작하기에 아주 좋은 곳입니다. 특히 [글꼴 패밀리와 그 디자인 축을 나열한 페이지](https://fonts.google.com/variablefonts)가 유용합니다. 관심 있는 글꼴을 찾으면 해당 글꼴의 *Type tester* 페이지로 이동해 제공되는 컨트롤로 디자인 축을 조정해 보세요.

다음 [Axis-Praxis 웹사이트](https://www.axis-praxis.org) 에서는 다양한 가변 글꼴을 실험해 볼 수 있으며, 그중에는 흥미로운 디자인 가능성을 보여 주는 글꼴도 있습니다. 여기에는 [Decovar](https://www.axis-praxis.org/specimens/decovar)처럼 12개의 디자인 축을 가진 실험적 글꼴도 포함됩니다. 또한 가변 글꼴을 Axis-Praxis에 업로드하고, 플랫폼이 자동으로 생성한 컨트롤을 사용해 디자인 축 값을 바꾸며 테스트할 수도 있습니다.

또 다른 유용한 사이트는 <https://v-fonts.com/>이며, 자신의 목적을 “가변 글꼴을 찾고 시험해 볼 수 있는 간단한 자료”라고 설명합니다.

[소개](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/29-how-to-use-opentype-variable-fonts-with-latex.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.
