Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

Added clarification for add_to_document docstring

Philipp Imhof3516df5543ff
diff --git a/manim/utils/tex.py b/manim/utils/tex.py
index a20eb7c99..efe5f0dbe 100644
--- a/manim/utils/tex.py
+++ b/manim/utils/tex.py
@@ -119,7 +119,7 @@ class TexTemplate:
self.rebuild()
def add_to_document(self, txt):
- """Adds txt to the TeX template just after \\begin{document}
+ """Adds txt to the TeX template just after \\begin{document}, e.g. ``\\boldmath``
Parameters
----------