From 76fc6486157a756d20c4d15d950612f61b992eb9 Mon Sep 17 00:00:00 2001 From: Grant Sanderson Date: Thu, 17 May 2018 11:31:58 -0700 Subject: [PATCH] Replace all unbalanced \left \right text in TexMobject --- mobject/svg/tex_mobject.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mobject/svg/tex_mobject.py b/mobject/svg/tex_mobject.py index fbaf8922..c96905af 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")