mirror of
https://github.com/3b1b/manim.git
synced 2025-04-13 09:47:07 +00:00
Got sick of inconsistant Tex sizes
This commit is contained in:
parent
2a711a37f8
commit
c9f5cefef4
1 changed files with 1 additions and 5 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue