A community-maintained Python framework for creating mathematical animations.
Replace all unbalanced \left \right text in TexMobject
Grant Sanderson76fc6486157a
diff --git a/mobject/svg/tex_mobject.py b/mobject/svg/tex_mobject.pyindex fbaf89227..c96905af3 100644--- a/mobject/svg/tex_mobject.py+++ b/mobject/svg/tex_mobject.py@@ -86,7 +86,7 @@ class SingleStringTexMobject(SVGMobject):should_replace = reduce(op.and_, [t1 in tex,t2 not in tex,- len(tex) > len(t1) and tex[len(t1)] in "()[]<>|.\\"+ len(tex) > len(t1)])if should_replace:tex = tex.replace(t1, "\\big")