Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

Got sick of inconsistant Tex sizes

Grant Sandersonc9f5cefef416
diff --git a/mobject/tex_mobject.py b/mobject/tex_mobject.py
index b2efc14a5..4143f9826 100644
--- a/mobject/tex_mobject.py
+++ b/mobject/tex_mobject.py
@@ -13,11 +13,7 @@ class TexMobject(Mobject):
}
def __init__(self, expression, **kwargs):
if "size" not in kwargs:
- #Todo, make this more sophisticated.
- if len("".join(expression)) < MAX_LEN_FOR_HUGE_TEX_FONT:
- size = "\\Huge"
- else:
- size = "\\large"
+ size = "\\Large"
digest_locals(self)
Mobject.__init__(self, **kwargs)