I don't like this fix, but TexMobjects were breaking if the 'dot' part was left isolated

This commit is contained in:
Grant Sanderson 2019-03-22 11:50:58 -07:00
parent 677f67cb9d
commit 282dfeedde

View file

@ -66,6 +66,8 @@ class SingleStringTexMobject(SVGMobject):
# Need to add blank subscript or superscript # Need to add blank subscript or superscript
tex.endswith("_"), tex.endswith("_"),
tex.endswith("^"), tex.endswith("^"),
tex.endswith("\\ddot"),
tex.endswith("\\dot"),
]) ])
if should_add_filler: if should_add_filler:
filler = "{\\quad}" filler = "{\\quad}"