# LaTeX to Typst

Turn a LaTeX draft into Typst source you can inspect, save, or open as a new project.

LaTeX to Typst gives you a head start when you want Typst's fast local workflow but your material already lives in LaTeX. It carries over common document structure and math, then leaves the result open for the decisions only an author can make.

## A good fit for

- articles or notes built from standard sections, prose, lists, links, tables, and equations;
- testing whether an existing draft suits Typst;
- moving content without retyping it.

Stay in LaTeX when the work depends on a publisher class, a large macro layer, or packages with no Typst counterpart. Conversion cannot make a journal accept a different source format.

## Convert the source

1. Open **LaTeX to Typst**, or run `/latex-to-typst`.
2. Paste the LaTeX source.
3. Choose **Convert**.
4. Read the generated Typst and inspect any conversion note.
5. Copy it, save `converted.typ`, or create a Typst project and compile it.

A standard `\section`, paragraph, itemized list, and display equation will map to their Typst equivalents. A custom command such as `\newcommand{\model}{...}` may need to become a Typst function or variable by hand.

## Review the migration

The bundled Pandoc conversion runs locally and applies a compatibility cleanup to the generated Typst. It does not reproduce LaTeX package behavior or the visual rules of a document class.

Check:

- custom macros and environments;
- equation syntax and numbering;
- figure paths and captions;
- tables and cross-references;
- bibliography and citation styling;
- page geometry and typography.

Keep the original project until the Typst version compiles and the complete PDF has been compared. For the reverse route, use [Typst to LaTeX](/docs/tools/typst-to-latex/).
