Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

Add optional Typst installation instructions (#4986)

Aryan Singh K.ed8002b198f7
diff --git a/docs/source/guides/using_text.rst b/docs/source/guides/using_text.rst
index e1e10334f..41ef73ca7 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 e8353f99c..ad0465a3d 100644
--- a/docs/source/installation/uv.md
+++ b/docs/source/installation/uv.md
@@ -270,6 +270,20 @@ uv add manim
::::::
+:::{dropdown} Optional: Add Typst support
+
+To render text and mathematical expressions with [Typst](https://typst.app/),
+add Manim's optional `typst` dependency to your project:
+
+```bash
+uv add "manim[typst]"
+```
+
+This dependency includes the Typst compiler, so no separate system-level Typst
+installation is required. See the {ref}`Typst section in the text guide <rendering-with-typst>`
+for examples.
+:::
+
To verify that your local Python project is setup correctly
and that Manim is available, simply run
```bash