3b1b / manim

Animation engine for explanatory math videos
MIT License
62.64k stars 5.81k forks source link

Update tex_templates.yml #2138

Closed MarkHoo closed 3 weeks ago

MarkHoo commented 3 months ago

Fix the error that occurs when using Chinese

Motivation

Fix the error that occurs when using Chinese

Proposed changes

Test

Code:

from manimlib import *

class Demo(Scene):
    def construct(self):
        tex = Tex("Hello你好World")
        self.play(Write(tex))
        self.wait(5)

Result:

hello