> 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/uk/inshi-temi/06-bold-italics-and-underlining-es.md).

# Жирний, курсив і підкреслення es

Надання тексту певного форматування допомагає виділити важливі поняття в документі та робить його набагато читабельнішим. За допомогою курсиву, напівжирного шрифту або підкреслення можна змінити сприйняття слова читачем.

## Вступ

У цій статті пояснюється використання трьох базових інструментів для форматування документа: курсиву, напівжирного шрифту та підкреслення. Почнімо з прикладу:

```latex
Деякі з \textbf{найвидатніших}
відкриттів у \underline{науці}
були зроблені \textbf{\textit{випадково}}.
```

![Biu1.png](/files/95b43a4cbe59b300765bd8dd3f90878234e35534)

Як видно, є три базові команди, які можна вкладати одна в одну, щоб поєднати їхній ефект.

Примітка: *Команди **\it** і **\bf** також працюють для перетворення тексту на курсив або жирний шрифт, але їхнє використання не рекомендується, оскільки вони не зберігають попередні стилі. Наприклад, за допомогою цих команд не можна створити текст жирним і курсивом*

[Відкрити приклад в Overleaf](https://www.sharelatex.com/project/new/template?zipUrl=/project/52e2cf6fcd3ae4400500066d/download/zip\&templateName=BoldItalicsUnderline\&compiler=pdflatex)

## Текст курсивом

Написати текст курсивом (також званим італіком або похилим шрифтом) дуже просто, достатньо лише використати команду **\textit**:

```latex
Деякі з найвидатніших
відкриттів у науці
були зроблені \textit{випадково}.
```

![Biu2.png](/files/ea7ab0c2d9794d1a094c98bf7a62a7d9e037371e)

[Відкрити приклад в Overleaf](https://www.sharelatex.com/project/new/template?zipUrl=/project/52e2cf6fcd3ae4400500066d/download/zip\&templateName=Bold_Italics_Underline\&compiler=pdflatex)

## Жирний текст

Для написання тексту жирним слід використати команду **\textbf**:

```latex
Деякі з \textbf{найвидатніших}
відкриттів у науці
були зроблені випадково.
```

![Biu3.png](/files/253f3f1aafbbe95480dc8bcd66405b81e7a6588e)

[Відкрити приклад в Overleaf](https://www.sharelatex.com/project/new/template?zipUrl=/project/52e2cf6fcd3ae4400500066d/download/zip\&templateName=Bold_Italics_Underline\&compiler=pdflatex)

## Підкреслений текст

Підкреслювати текст також дуже просто, команда, яку слід використовувати, це **\underline**:

```latex
Деякі з найвидатніших
відкриттів у \underline{науці}
були зроблені випадково.
```

![Biu4.png](/files/b6d9c5887616cde80d4fcbeb3d6bcd11fd107dac)

[Відкрити приклад в Overleaf](https://www.sharelatex.com/project/new/template?zipUrl=/project/52e2cf6fcd3ae4400500066d/download/zip\&templateName=Bold_Italics_Underline\&compiler=pdflatex)

## Акцентування тексту

Текст можна виділити за допомогою команди **\emph**. Іноді ця команда поводиться так само, як **\textit** але це не зовсім одне й те саме.

```latex
Деякі з \emph{найвидатніших відкриттів}
у науці
були зроблені випадково.

\textit{Деякі з \emph{найвидатніших відкриттів}
у науці
були зроблені випадково.}

\textbf{Деякі з \emph{найвидатніших відкриттів}
у науці
були зроблені випадково.}
```

![Biu5.png](/files/d6f71cef171f8316d63eaab4b28c9cd832392d80)

Що насправді робить команда **\emph** залежить від контексту. У звичайному тексті виділений текст друкується курсивом, але ця поведінка змінюється на протилежну, коли команду використовують із текстом, який уже написаний курсивом. Дивіться попередній приклад, щоб зрозуміти, що це означає.

Більше того, деякі пакети, наприклад [Beamer](/latex/uk/prezentaciyi/01-beamer.md), змінюють поведінку команди **\emph**.

[Відкрити приклад в Overleaf](https://www.sharelatex.com/project/new/template?zipUrl=/project/52e2cf6fcd3ae4400500066d/download/zip\&templateName=Bold_Italics_Underline\&compiler=pdflatex)

## Додаткові матеріали

Для отримання додаткової інформації див.:

* [Абзаци та нові рядки](/latex/uk/osnovi-latex/02-paragraphs-and-new-lines.md)
* [Списки](/latex/uk/osnovi-latex/04-lists.md)
* [Форматування абзаців](/latex/uk/formatuvannya/04-articles-how-to-change-paragraph-spacing-in-latex.md)
* [Перенесення рядків і порожні пробіли](/latex/uk/formatuvannya/05-line-breaks-and-blank-spaces.md)
* [Не зовсім короткий вступ до LaTeX2ε](http://www.ctan.org/tex-archive/info/lshort/)


---

# 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/uk/inshi-temi/06-bold-italics-and-underlining-es.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.
