Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

Tex strings ending with 'dot' have a '{\quad}' added

Grant Sanderson0b56d6f311fa
diff --git a/manimlib/mobject/svg/tex_mobject.py b/manimlib/mobject/svg/tex_mobject.py
index 16687c858..b8efddf5f 100644
--- a/manimlib/mobject/svg/tex_mobject.py
+++ b/manimlib/mobject/svg/tex_mobject.py
@@ -66,8 +66,7 @@ class SingleStringTexMobject(SVGMobject):
# Need to add blank subscript or superscript
tex.endswith("_"),
tex.endswith("^"),
- tex.endswith("\\ddot"),
- tex.endswith("\\dot"),
+ tex.endswith("dot"),
])
if should_add_filler:
filler = "{\\quad}"