> For the complete documentation index, see [llms.txt](https://ayakaleaf-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://ayakaleaf-pro.ayaka.space/latex/tr/derinlemesine-makaleler/37-step-1-setting-up-an-overleaf-project-to-use-variable-fonts.md).

# 1. Adım: Değişken yazı tipleri kullanmak için bir Overleaf projesi kurma

[Giriş](https://www.overleaf.com/learn/latex/Articles/How_to_use_OpenType_variable_fonts_with_LaTeX?preview=true) [Adım 1](https://www.overleaf.com/learn/latex/Articles/Step_1:_Setting_up_an_Overleaf_project_to_use_variable_fonts?preview=true) [Adım 2](https://www.overleaf.com/learn/latex/Articles/Step_2:_An_introduction_to_LaTeX_fonts?preview=true) [Adım 3](https://www.overleaf.com/learn/latex/Articles/Step_3:_Replacing_LaTeX’s_default_fonts_with_variable_fonts?preview=true) [Adım 4](https://www.overleaf.com/learn/latex/Articles/Step_4:_How_to_configure_an_italic_variable_font_using_fontspec?preview=true) [Adım 5](https://www.overleaf.com/learn/latex/Articles/Step_5:_LaTeX_font_weights_and_named_instances_of_variable_fonts?preview=true) [Adım 6](https://www.overleaf.com/learn/latex/Articles/Step_6:_Using_variable_fonts_to_add_bold_fonts_to_an_Overleaf_project?preview=true) [Adım 7](https://www.overleaf.com/learn/latex/Articles/Step_7:_Using_Noto_Sans_and_Roboto_Mono_variable_fonts_with_LaTeX?preview=true) [Adım 8](https://www.overleaf.com/learn/latex/Articles/Step_8:_How_to_create_a_simple_LaTeX_package_to_configure_your_variable_fonts?preview=true) [Örnekler ve projeler](https://www.overleaf.com/learn/latex/Articles/Overleaf_projects_showing_how_to_use_variable_fonts_with_LaTeX?preview=true)

Bu öğreticiye başlamak için, eşlik eden Overleaf projesini açın [eşlik eden Overleaf projesini](https://www.overleaf.com/8438931911svtqtnmfvsrp#28008d) aşağıdaki değişken yazı tiplerini içermektedir:

* [Noto Serif](https://fonts.google.com/noto/specimen/Noto+Serif/tester) (ana belge metni)
* [Noto Sans](https://fonts.google.com/noto/specimen/Noto+Sans/tester) (sans serif yazı tipi)
* [Roboto Mono](https://fonts.google.com/specimen/Roboto+Mono/tester) (eş aralıklı yazı tipi)

Bu yazı tipleri henüz kullanım için yapılandırılmamıştır. Başlangıçta, [eşlik eden Overleaf projesini](https://www.overleaf.com/8438931911svtqtnmfvsrp#28008d) derlediğinizde, LaTeX'in standart (varsayılan) metin yazı tipleri uygulanacaktır. Bu öğreticinin tamamı boyunca, bu varsayılan yazı tiplerini proje klasöründe bulunan `VariableFonts`.

değişken yazı tipleriyle nasıl değiştireceğinizi öğreneceksiniz. Farklı değişken yazı tipleri kullanmayı tercih ederseniz, aşağıdaki talimatları izleyin. Aksi takdirde, [Adım 2](https://www.overleaf.com/learn/latex/Articles/Step_2:_An_introduction_to_LaTeX_fonts?preview=true) bu öğreticiye geçin.

## (İsteğe bağlı) Kendi değişken yazı tiplerinizi nasıl seçip yükleyeceğiniz

Seçtiğiniz değişken yazı tiplerini yüklemek için bu adımları izleyin.

### 1. Google Fonts'tan değişken yazı tipleri edinme

[Google Fonts](https://fonts.google.com/) mükemmel bir kaynaktır. Şunları sağlar: [yardımcı dokümantasyon](https://fonts.google.com/knowledge/introducing_type/introducing_variable_fonts) ve kullanımı ücretsiz birçok [değişken yazı tipi](https://fonts.google.com/?vfonly=true) bunlar Overleaf'e yüklenebilir ve projelerinizde kullanılacak şekilde yapılandırılabilir.

* **İPUCU**: Değişken yazı tiplerini bulmak için Google Fonts filtrelerini kullanın. Filtreyi *Teknoloji* şu olarak ayarlayın: *Değişken* yalnızca değişken yazı tiplerini göstermek için. Aramanızı daha da daraltmak için, *Serif*gibi ek filtreler kullanın.

![Google Fonts arama filtrelerini gösteren görsel](/files/fc2b90072595b2545b2578c4455cb1845b56965d)

* **İPUCU**: Destekledikleri tasarım eksenlerine göre değişken yazı tiplerine göz atabilirsiniz: bkz. <https://fonts.google.com/variablefonts>. Google ayrıca değişken yazı tipi tasarım eksenlerinin tanımlarını da sağlar: bkz. <https://fonts.google.com/variablefonts#axis-definitions>.
* Kullanmak istediğiniz değişken yazı tiplerini bulduktan sonra, bunları yerel aygıtınıza indirin ve sorunlu karakterler içeren tüm dosyaların adını değiştirin.
* Bazı değişken yazı tipleri iki `.ttf` dosyadan oluşur: biri dik (normal) biçim için ve, sağlanmışsa, biri de italik biçim için. İndirdiğiniz her yazı tipi için bunu kontrol ettiğinizden emin olun.

### 2. Sorunlu Google yazı tipi dosyası adlarını yeniden adlandırma

Google’ın değişken yazı tipi dosyalarını adlandırma şeması, yazı tipinin tasarım eksenlerini virgüllerle ayrılmış şekilde içerir. Ne yazık ki bu şema, değişken yazı tiplerini LuaLaTeX ile kullanmak için gerekli olan fontspec paketi için sorunlara yol açar. Örneğin, Noto Serif genişlik ve ağırlık eksenleri sağlar ve iki dosya halinde sunulur—biri dik yazı tipi, diğeri italik yazı tipi için:

* NotoSerif-VariableFont\_wdth,wght.ttf
* NotoSerif-Italic-VariableFont\_wdth,wght.ttf

Bu dosya adlarındaki virgüller, fontspec’in `\setmainfont` komutunda kullanıldığında hataları tetikler. Örneğin,

```
\setmainfont{NotoSerif-VariableFont_wdth,wght.ttf}
[ItalicFont = NotoSerif-Italic-VariableFont_wdth,wght.ttf]
```

yazmak şu hataları üretir:

```
! Package fontspec Error: The font "NotoSerif-Italic-VariableFont_wdth" cannot
(fontspec)                be found.

! LaTeX Error: The key 'fontspec-opentype/wght.ttf' is unknown and is being
(LaTeX)        ignored.
```

Bu sorunu çözmek için, font dosyalarının adını virgülleri (ve alt çizgileri '\_') kaldıracak şekilde yeniden adlandırmanız, bunları kısa çizgi ('-') gibi "güvenli" bir karakterle değiştirmeniz ve boşluk karakteri eklenmemesini sağlamanız gerekir. Örneğin, şunu yeniden adlandırabilirsiniz:

* NotoSans-VariableFont\_wdth,wght.ttf

ile

* NotoSans-VariableFont-wdth-wght.ttf

Bu basit yeniden adlandırma adımı, çakışmaları önlemeye yardımcı olacak ve değişken yazı tiplerinin LaTeX belgelerinize sorunsuz entegrasyonunu sağlayacaktır.

### 3. Yeni bir Overleaf projesi oluşturma

* Yeni bir Overleaf projesi oluşturun ve [derleyiciyi LuaLaTeX olarak ayarlayın](/latex/tr/bilgi-bankasi/026-changing-compiler.md) çünkü değişken yazı tiplerini destekleyen tek derleyici odur.
* şu `fontspec` paketi belgenizin önsözüne yazarak ekleyin `\usepackage{fontspec}`.
* Dosya yükleme simgesini (![Image displaying Overleaf file-upload icon](/files/2eda6e9c02e848b4b35ca05fc70bf2f5ac7b44f7)) seçerek yerel olarak yeniden adlandırılmış değişken yazı tipi dosyalarını yeni projenize ekleyin:

![Bir dosyanın Overleaf projesine nasıl yükleneceğini gösteren görsel](/files/8c88697afb0e8dc0cf3bb95cbacef3bad569f47e)

### 4. (İsteğe bağlı) Projenizin yazı tipi dosyalarını düzenleme

Çeşitli yazı tipleriyle deneme yapmak istiyorsanız, örneğin belge tasarımlarını test ederken, yazı tipi dosyalarınızı proje klasörlerini kullanarak düzenlemek faydalıdır. Ancak derleme sırasında LaTeX, projenizin klasörlerinde yazı tiplerini otomatik olarak aramaz; adı verilen yerel bir yapılandırma dosyası kullanarak LaTeX'e yardımcı olmanız gerekir [latexmkrc](/latex/tr/derinlemesine-makaleler/28-how-to-use-latexmkrc-with-overleaf.md). Burada ayrıntıya girmeyeceğiz, ancak adı verilen bir proje klasörü oluşturmanızı öneririz `VariableFonts` ve `latexmkrc` dosyasını kopyalamanızı [eşlik eden projede kullanılan](https://www.overleaf.com/8438931911svtqtnmfvsrp#28008d).

## Sonraki Adımda

2\. Adım, LaTeX'in yazı tiplerini seçme modelini tanıtır: New Font Selection Scheme, bu öğreticinin geri kalanında kullanılan önemli arka plan bilgisini sağlar.

[Giriş](https://www.overleaf.com/learn/latex/Articles/How_to_use_OpenType_variable_fonts_with_LaTeX?preview=true) [Adım 1](https://www.overleaf.com/learn/latex/Articles/Step_1:_Setting_up_an_Overleaf_project_to_use_variable_fonts?preview=true) [Adım 2](https://www.overleaf.com/learn/latex/Articles/Step_2:_An_introduction_to_LaTeX_fonts?preview=true) [Adım 3](https://www.overleaf.com/learn/latex/Articles/Step_3:_Replacing_LaTeX’s_default_fonts_with_variable_fonts?preview=true) [Adım 4](https://www.overleaf.com/learn/latex/Articles/Step_4:_How_to_configure_an_italic_variable_font_using_fontspec?preview=true) [Adım 5](https://www.overleaf.com/learn/latex/Articles/Step_5:_LaTeX_font_weights_and_named_instances_of_variable_fonts?preview=true) [Adım 6](https://www.overleaf.com/learn/latex/Articles/Step_6:_Using_variable_fonts_to_add_bold_fonts_to_an_Overleaf_project?preview=true) [Adım 7](https://www.overleaf.com/learn/latex/Articles/Step_7:_Using_Noto_Sans_and_Roboto_Mono_variable_fonts_with_LaTeX?preview=true) [Adım 8](https://www.overleaf.com/learn/latex/Articles/Step_8:_How_to_create_a_simple_LaTeX_package_to_configure_your_variable_fonts?preview=true) [Örnekler ve projeler](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://ayakaleaf-pro.ayaka.space/latex/tr/derinlemesine-makaleler/37-step-1-setting-up-an-overleaf-project-to-use-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.
