← Back to support

Can I use TeX (LaTex) with AlgoApp?

Yes

TeX rendering is available through custom layouts.

How it works

Wrap the field you want to render as math in an element with the attribute data-type="tex".

Example

If your deck has a field named "back", a layout can render it like this:

<div data-type="tex">{{back}}</div>

Steps

  1. Open the deck's "Layouts" screen.
  2. Create a layout or edit an existing one.
  3. Put your TeX field inside an element with data-type="tex".
  4. Save the layout.
  5. Enter TeX into that field when creating or editing cards.

Good to know

This is an advanced feature. If you are not already comfortable with custom layouts, read the "What are Layouts?" article first.