# How to Underline, bold and italize text while adding questions mannualy?

We can print bold, italicized, and underlined text using the commands `\textbf`, `\textit`, and `\underline`, respectively.

For example:

```
\textbf{Bold text} 
\textit{Italic text}
\underline{Underlined text}
```

This example produces the following output:

<figure><img src="https://github.com/Mathpix/mathpix-markdown-it/raw/master/doc/images/latex-underline/latex-underline_01.png" alt=""><figcaption></figcaption></figure>

### Double underline

Double underlining text can be done easily using the command `\underline` twice or using the command `\uuline`:

```
\underline{\underline{Double underlined text!}}

\uuline{Double underlined text!}
```

produces the output:

<figure><img src="https://github.com/Mathpix/mathpix-markdown-it/raw/master/doc/images/latex-underline/latex-underline_02.png" alt=""><figcaption></figcaption></figure>

### Wavy underlined text

We can easily create wavy underlined text using the command `\uwave{}`. Here is an illustrative example:

```
\uwave{This text is underlined with a wavy line!}
```

which produces the following result:

<figure><img src="https://github.com/Mathpix/mathpix-markdown-it/raw/master/doc/images/latex-underline/latex-underline_03.png" alt=""><figcaption></figcaption></figure>

### Strikethrough text

The command `\sout{}` which can be used to strikethrough text. Check this example:

```
\sout{Text with a horizontal line through its center!}
```

compiling this code yields:

<figure><img src="https://github.com/Mathpix/mathpix-markdown-it/raw/master/doc/images/latex-underline/latex-underline_04.png" alt=""><figcaption></figcaption></figure>

### Slash through letter

The command `\xout{}` can be used to create a hatching effect through text. Here is a basic usage of this command:

```
\xout{Text with hatching pattern!}
```

This code yields the following:

<figure><img src="https://github.com/Mathpix/mathpix-markdown-it/raw/master/doc/images/latex-underline/latex-underline_05.png" alt=""><figcaption></figcaption></figure>

### Dashed and dotted underline

The commands `\dashuline{}` and `\dotuline{}` as their names state can be used to create dashed and dotted lines under text respectively. Check the following code:

```
\dashuline{Dashed Underline}

\dotuline{Dotted Underline}
```

which produces the following output:

<figure><img src="https://github.com/Mathpix/mathpix-markdown-it/raw/master/doc/images/latex-underline/latex-underline_06.png" alt=""><figcaption></figcaption></figure>
