> ## Documentation Index
> Fetch the complete documentation index at: https://manimvtk.mathify.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Text and LaTeX

> Text rendering reference

## Text Objects

### Text

```python theme={null}
Text(text, font="", font_size=48, **kwargs)
```

Regular text rendering.

**Example:**

```python theme={null}
text = Text("Hello, World!", font_size=60, color=BLUE)
```

### MarkupText

```python theme={null}
MarkupText(text, **kwargs)
```

Text with markup support (bold, italic, colors).

### Tex

```python theme={null}
Tex(*tex_strings, **kwargs)
```

LaTeX text rendering.

**Example:**

```python theme={null}
formula = Tex(r"E = mc^2")
```

### MathTex

```python theme={null}
MathTex(*tex_strings, **kwargs)
```

Mathematical equations.

**Example:**

```python theme={null}
equation = MathTex(
    r"\int_0^\infty e^{-x^2} dx = \frac{\sqrt{\pi}}{2}"
)
```

## See Also

<CardGroup cols={2}>
  <Card title="2D Examples" icon="font" href="/examples/basic-2d">
    Text examples
  </Card>

  <Card title="Mobjects Guide" icon="book" href="/concepts/mobjects">
    Mobject concepts
  </Card>
</CardGroup>
