From 3afde82456b4514b6ed8dd7c54183435aa708977 Mon Sep 17 00:00:00 2001 From: "Aryan Singh K." <70511529+aryansk@users.noreply.github.com> Date: Wed, 2 Sep 2026 13:29:54 +0530 Subject: [PATCH] docs: add Typst installation instructions --- docs/source/guides/using_text.rst | 4 +++- docs/source/installation/uv.md | 21 +++++++++++++++++++++ 2 files changed, 24 insertions(+), 1 deletion(-) diff --git a/docs/source/guides/using_text.rst b/docs/source/guides/using_text.rst index cdfb789832..70fd8aa5a6 100644 --- a/docs/source/guides/using_text.rst +++ b/docs/source/guides/using_text.rst @@ -309,7 +309,9 @@ Manim also supports rendering text and formulas with Typst via .. important:: Typst support requires the optional ``typst`` dependency. Install it with - ``pip install manim[typst]``. + ``uv add "manim[typst]"`` or ``pip install "manim[typst]"``. The optional + dependency includes the Typst compiler; no separate system installation is + required. Typst mobjects compile Typst markup directly to SVG and import the result as vector graphics. This works both for general markup and for mathematical diff --git a/docs/source/installation/uv.md b/docs/source/installation/uv.md index c4cf17e6cb..6906ada06d 100644 --- a/docs/source/installation/uv.md +++ b/docs/source/installation/uv.md @@ -135,6 +135,27 @@ setspace standalone tipa wasy wasysym xcolor xetex xkeyval ``` ::: +### Step 2 (optional): Installing Typst support + +Manim can render text and mathematical expressions with [Typst](https://typst.app/). +The Typst compiler is provided by the optional `typst` Python dependency, so no +separate system-level Typst installation is required. + +If you plan to use the `Typst` or `MathTypst` mobjects, +include the optional dependency when adding Manim to your project: + +```bash +uv add "manim[typst]" +``` + +If you installed Manim with `pip` instead, use: + +```bash +pip install "manim[typst]" +``` + +See the :ref:`Typst text guide ` for examples. + ### Step 3: Installing Manim These steps again differ slightly between different operating systems. Make