diff --git a/mobject/svg/tex_mobject.py b/mobject/svg/tex_mobject.py index 2fbe11f3..cbb57a72 100644 --- a/mobject/svg/tex_mobject.py +++ b/mobject/svg/tex_mobject.py @@ -275,6 +275,14 @@ class BulletedList(TextMobject): else: other_part.set_fill(opacity=opacity) + +class TexMobjectFromPresetString(TexMobject): + + def __init__(self, **kwargs): + digest_config(self, kwargs) + TexMobject.__init__(self, self.tex, **kwargs) + self.set_color(self.color) + ##########