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

# Use LaTeX in question titles

> Two ways to add LaTeX equations to AhaSlides question titles, what KaTeX supports, and how invalid syntax is handled.

LaTeX lets you display mathematical equations and scientific notation directly in your question titles, with no image uploads needed. It renders on both the presenter view and all participant devices simultaneously.

## Add LaTeX to a question title

There are two ways to enter LaTeX in the canvas editor.

**1. Using the LaTeX dialog (recommended)**

Open the canvas editor and click the **LaTeX** button in the toolbar.

![The LaTeX icon highlighted in the canvas editor's text formatting toolbar, above a question title](https://mintcdn.com/ahaslides/T3rTlWXS6InzmHIp/images/latex-toolbar.png?fit=max\&auto=format\&n=T3rTlWXS6InzmHIp\&q=85\&s=6261eacf26d30acb818f98a88e4cabb8)

Type your equation in the dialog box. There's no need to wrap it in `$` signs. Click **Insert** to render it in your slide.

![The LaTeX dialog box with an equation typed in, and Close and Insert buttons below it](https://mintcdn.com/ahaslides/nZBn6ZrPZA8x3dcI/images/latex-dialog.png?fit=max\&auto=format\&n=nZBn6ZrPZA8x3dcI\&q=85\&s=8b7c1da2ba33a40a786a8f39d4bad17a)

**2. Typing directly in the title**

Click into the question title field and wrap your equation in `$` signs, for example, `$x^2 + y^2 = z^2$`. Press space or click outside the text box, and it converts to rendered LaTeX automatically.

## Where LaTeX works

LaTeX works in slide titles only. It isn't available in answer options, body text or other text boxes on a slide, so put your equation in the title.

## What LaTeX syntax AhaSlides supports

AhaSlides uses KaTeX to render LaTeX. This covers most standard equations and scientific notation, but it does not support full LaTeX document syntax. Commands like `\documentclass` or `\begin{document}` won't work. Write only the equation part.

## What happens with invalid LaTeX

> [!NOTE]
>
> If you enter invalid LaTeX syntax, the editor shows an error message rather than breaking your slide. Fix the syntax and the equation renders correctly, without affecting your presentation flow.

**Have a question?**

Contact our support team: if you're logged in, use the chat bubble in the bottom-right of your dashboard; otherwise [contact us here](https://ahaslides.com/contact-us/) or email [hi@ahaslides.com](mailto:hi@ahaslides.com).

Want to connect with other users? Join the [AhaSlides community](https://community.ahaslides.com/) to share tips, request features, and see how others engage their audiences.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.