> 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/id/topik-lainnya/06-bold-italics-and-underlining-es.md).

# Tebal, miring, dan garis bawah es

Memberi format tertentu pada teks membantu menonjolkan konsep penting dalam sebuah dokumen dan membuatnya jauh lebih mudah dibaca. Dengan menggunakan huruf miring, huruf tebal, atau garis bawah, persepsi pembaca terhadap sebuah kata dapat diubah.

## Pendahuluan

Dalam artikel ini dijelaskan penggunaan tiga alat dasar untuk memformat dokumen: huruf miring, huruf tebal, dan garis bawah. Mari kita mulai dengan sebuah contoh:

```latex
Beberapa yang \textbf{paling hebat}
penemuan dalam \underline{sains}
ditemukan secara \textbf{\textit{tidak sengaja}}.
```

![Biu1.png](/files/14a34409e2bf484415621f93ef61fea7a868b27d)

Seperti yang dapat dilihat, ada tiga perintah dasar yang dapat disarangkan untuk menggabungkan efeknya.

Catatan: *Perintah **\it** dan **\bf** juga berfungsi untuk mengubah teks menjadi miring atau tebal, tetapi penggunaannya tidak dianjurkan karena tidak mempertahankan gaya sebelumnya. Misalnya, dengan perintah ini tidak dapat dibuat teks tebal dan miring*

[Buka contoh di Overleaf](https://www.sharelatex.com/project/new/template?zipUrl=/project/52e2cf6fcd3ae4400500066d/download/zip\&templateName=BoldItalicsUnderline\&compiler=pdflatex)

## Teks miring

Menulis teks dengan huruf miring (juga disebut italik atau bastardilla) sangat mudah, cukup gunakan perintah **\textit**:

```latex
Beberapa yang paling hebat
penemuan dalam sains
ditemukan secara \textit{tidak sengaja}.
```

![Biu2.png](/files/3504a4c8adb96e55eb39bafca6f86f964aae6433)

[Buka contoh di Overleaf](https://www.sharelatex.com/project/new/template?zipUrl=/project/52e2cf6fcd3ae4400500066d/download/zip\&templateName=Bold_Italics_Underline\&compiler=pdflatex)

## Teks tebal

Untuk menulis teks tebal, gunakan perintah **\textbf**:

```latex
Beberapa yang \textbf{paling hebat}
penemuan dalam sains
ditemukan secara tidak sengaja.
```

![Biu3.png](/files/208693cfc08432f56b9f1916f88d24ce393ca806)

[Buka contoh di Overleaf](https://www.sharelatex.com/project/new/template?zipUrl=/project/52e2cf6fcd3ae4400500066d/download/zip\&templateName=Bold_Italics_Underline\&compiler=pdflatex)

## Teks bergaris bawah

Menggarisbawahi teks juga sangat mudah, perintah yang digunakan adalah **\underline**:

```latex
Beberapa yang paling hebat
penemuan dalam \underline{sains}
ditemukan secara tidak sengaja.
```

![Biu4.png](/files/04872d7a71f102399e901523fff5c46bb0486504)

[Buka contoh di Overleaf](https://www.sharelatex.com/project/new/template?zipUrl=/project/52e2cf6fcd3ae4400500066d/download/zip\&templateName=Bold_Italics_Underline\&compiler=pdflatex)

## Menekankan teks

Teks dapat ditekankan melalui perintah **\emph**. Terkadang perintah ini berperilaku sama seperti **\textit** tetapi keduanya tidak persis sama.

```latex
Beberapa dari \emph{penemuan terbesar}
dalam sains
ditemukan secara tidak sengaja.

\textit{Beberapa dari \emph{penemuan terbesar}
dalam sains
ditemukan secara tidak sengaja.}

\textbf{Beberapa dari \emph{penemuan terbesar}
dalam sains
ditemukan secara tidak sengaja.}
```

![Biu5.png](/files/2be6bf5465b0c5cfea63436cd1e0d860d3cd9bf4)

Apa yang sebenarnya dilakukan perintah **\emph** bergantung pada konteks. Di dalam teks biasa, teks yang diberi penekanan dicetak miring, tetapi perilaku ini berbalik ketika perintah digunakan pada teks yang sudah ditulis dengan huruf miring. Lihat contoh sebelumnya untuk memahami maksudnya.

Lebih jauh lagi, beberapa paket, seperti misalnya [Beamer](/latex/id/presentasi/01-beamer.md), mengubah perilaku perintah **\emph**.

[Buka contoh di Overleaf](https://www.sharelatex.com/project/new/template?zipUrl=/project/52e2cf6fcd3ae4400500066d/download/zip\&templateName=Bold_Italics_Underline\&compiler=pdflatex)

## Bacaan tambahan

Untuk informasi lebih lanjut, lihat:

* [Paragraf dan baris baru](/latex/id/dasar-dasar-latex/02-paragraphs-and-new-lines.md)
* [Daftar](/latex/id/dasar-dasar-latex/04-lists.md)
* [Pemformatan paragraf](/latex/id/pemformatan/04-articles-how-to-change-paragraph-spacing-in-latex.md)
* [Pemisah baris dan spasi kosong](/latex/id/pemformatan/05-line-breaks-and-blank-spaces.md)
* [Pengantar LaTeX2ε yang tidak terlalu singkat](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://overleaf-pro.ayaka.space/latex/id/topik-lainnya/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.
