@@ -47,7 +47,19 @@ def construct(self):
47
47
48
48
class TexFontTemplateLibrary (Scene ):
49
49
"""An example scene that uses TexTemplate objects from the TexFontTemplates collection
50
- to create sample LaTeX output in every font that will compile on the local system"""
50
+ to create sample LaTeX output in every font that will compile on the local system.
51
+
52
+ Please Note:
53
+ Many of the in the TexFontTemplates collection require that specific fonts
54
+ are installed on your local machine.
55
+ For example, choosing the template TexFontTemplates.comic_sans will
56
+ not compile if the Comic Sans Micrososft font is not installed.
57
+
58
+ This scene will only render those Templates that do not cause a TeX
59
+ compilation error on your system. Furthermore, some of the ones that do render,
60
+ may still render incorrectly. This is beyond the scope of manim.
61
+ Feel free to experiment.
62
+ """
51
63
52
64
def construct (self ):
53
65
def write_one_line (template ):
@@ -56,17 +68,6 @@ def write_one_line(template):
56
68
self .wait (1 )
57
69
self .play (FadeOut (x ))
58
70
59
- # Please Note:
60
- # Many of these templates require that specific fonts
61
- # are installed on your local machine.
62
- # For example, choosing the template TexFontTemplates.chalkduster will
63
- # not compile if the chalkduster font is not installed.
64
- #
65
- # This scene will only render those Templates that do not cause a TeX
66
- # compilation error on your system. Some of the ones that do render,
67
- # may render incorrectly. This is beyond the scope of manim.
68
- # Feel free to experiment.
69
-
70
71
examples = [
71
72
TexFontTemplates .american_typewriter , # "American Typewriter"
72
73
TexFontTemplates .antykwa , # "Antykwa Półtawskiego (TX Fonts for Greek and math symbols)"
0 commit comments