A community-maintained Python framework for creating mathematical animations.
more docstrings
Aron Fischer2d6f2d08335d
diff --git a/example_scenes/advanced_tex_fonts.py b/example_scenes/advanced_tex_fonts.pyindex f43916c95..5f951338b 100644--- a/example_scenes/advanced_tex_fonts.py+++ b/example_scenes/advanced_tex_fonts.py@@ -1,6 +1,6 @@from manim import *-# French Cursive LaTeX font examples from http://jf.burnol.free.fr/showcase.html+# French Cursive LaTeX font example from http://jf.burnol.free.fr/showcase.html# Example 1 Manually creating a Template@@ -22,6 +22,8 @@ def FrenchCursive(*tex_strings, **kwargs):class TexFontTemplateManual(Scene):+ """ An example scene that uses a manually defined TexTemplate() object to create+ LaTeX output in French Cursive font """def construct(self):self.add(Tex("Tex Font Example").to_edge(UL))self.play(ShowCreation(FrenchCursive("$f: A \\longrightarrow B$").shift(UP)))@@ -43,6 +45,8 @@ class TexFontTemplateManual(Scene):class TexFontTemplateLibrary(Scene):+ """ An example scene that uses TexTemplate objects from the TexFontTemplates collection+ to create sample LaTeX output in every font that will compile on the local system """def construct(self):def write_one_line(template):x = Tex(template.description, tex_template=template).shift(UP)