TexFontTemplates#
Qualified name: manim.utils.tex\_templates.TexFontTemplates
- class TexFontTemplates[source]#
Bases:
object
A collection of TeX templates for the fonts described at http://jf.burnol.free.fr/showcase.html
These templates are specifically designed to allow you to typeset formulae and mathematics using different fonts. They are based on the mathastext LaTeX package.
Examples
Normal usage as a value for the keyword argument tex_template of Tex() and MathTex() mobjects:
``Tex("My TeX code", tex_template=TexFontTemplates.comic_sans)``
Notes
Many of these templates require that specific fonts are installed on your local machine. For example, choosing the template TexFontTemplates.comic_sans will not compile if the Comic Sans Microsoft font is not installed.
- To experiment, try to render the TexFontTemplateLibrary example scene:
manim path/to/manim/example_scenes/advanced_tex_fonts.py TexFontTemplateLibrary -p -ql
Methods
Attributes
American Typewriter
Antykwa Półtawskiego (TX Fonts for Greek and math symbols)
Apple Chancery
Auriocus Kalligraphicus (Symbol Greek)
Baskervald ADF with Fourier
Baskerville (Italic)
Biolinum
BrushScriptX-Italic (PX math and Greek)
Chalkboard SE
Chalkduster
Comfortaa
Comic Sans MS
Droid Sans
Droid Sans (Italic)
Droid Serif
Droid Serif (PX math symbols) (Italic)
ECF Augie (Euler Greek)
ECF JD (with TX fonts)
ECF Skeetch (CM Greek)
ECF Tall Paul (with Symbol font)
ECF Webster (with TX fonts)
Electrum ADF (CM Greek)
Epigrafica
Fourier Utopia (Fourier upright Greek)
French Cursive (Euler Greek)
GFS Bodoni
GFS Didot (Italic)
GFS NeoHellenic
GNU FreeSerif (and TX fonts symbols)
GNU FreeSerif and FreeSans
Helvetica with Fourier (Italic)
Latin Modern Typewriter Proportional
Latin Modern Typewriter Proportional (CM Greek) (Italic)
Libertine
Libris ADF with Fourier
Minion Pro and Myriad Pro (and TX fonts symbols)
Minion Pro (and TX fonts symbols)
New Century Schoolbook (Symbol Greek)
New Century Schoolbook (Symbol Greek, PX math symbols)
Noteworthy Light
Palatino (Symbol Greek)
Papyrus
Romande ADF with Fourier (Italic)
SliTeX (Euler Greek)
Times with Fourier (Italic)
URW Avant Garde (Symbol Greek)
URW Zapf Chancery (CM Greek)
Venturis ADF with Fourier (Italic)
Verdana (Italic)
Vollkorn (TX fonts for Greek and math symbols)
Vollkorn with Fourier (Italic)
Zapf Chancery
- american_typewriter = <manim.utils.tex.TexTemplate object>#
American Typewriter
- antykwa = <manim.utils.tex.TexTemplate object>#
Antykwa Półtawskiego (TX Fonts for Greek and math symbols)
- apple_chancery = <manim.utils.tex.TexTemplate object>#
Apple Chancery
- auriocus_kalligraphicus = <manim.utils.tex.TexTemplate object>#
Auriocus Kalligraphicus (Symbol Greek)
- baskervald_adf_fourier = <manim.utils.tex.TexTemplate object>#
Baskervald ADF with Fourier
- baskerville_it = <manim.utils.tex.TexTemplate object>#
Baskerville (Italic)
- biolinum = <manim.utils.tex.TexTemplate object>#
Biolinum
- brushscriptx = <manim.utils.tex.TexTemplate object>#
BrushScriptX-Italic (PX math and Greek)
- chalkboard_se = <manim.utils.tex.TexTemplate object>#
Chalkboard SE
- chalkduster = <manim.utils.tex.TexTemplate object>#
Chalkduster
- comfortaa = <manim.utils.tex.TexTemplate object>#
Comfortaa
- comic_sans = <manim.utils.tex.TexTemplate object>#
Comic Sans MS
- droid_sans = <manim.utils.tex.TexTemplate object>#
Droid Sans
- droid_sans_it = <manim.utils.tex.TexTemplate object>#
Droid Sans (Italic)
- droid_serif = <manim.utils.tex.TexTemplate object>#
Droid Serif
- droid_serif_px_it = <manim.utils.tex.TexTemplate object>#
Droid Serif (PX math symbols) (Italic)
- ecf_augie = <manim.utils.tex.TexTemplate object>#
ECF Augie (Euler Greek)
- ecf_jd = <manim.utils.tex.TexTemplate object>#
ECF JD (with TX fonts)
- ecf_skeetch = <manim.utils.tex.TexTemplate object>#
ECF Skeetch (CM Greek)
- ecf_tall_paul = <manim.utils.tex.TexTemplate object>#
ECF Tall Paul (with Symbol font)
- ecf_webster = <manim.utils.tex.TexTemplate object>#
ECF Webster (with TX fonts)
- electrum_adf = <manim.utils.tex.TexTemplate object>#
Electrum ADF (CM Greek)
- epigrafica = <manim.utils.tex.TexTemplate object>#
Epigrafica
- fourier_utopia = <manim.utils.tex.TexTemplate object>#
Fourier Utopia (Fourier upright Greek)
- french_cursive = <manim.utils.tex.TexTemplate object>#
French Cursive (Euler Greek)
- gfs_bodoni = <manim.utils.tex.TexTemplate object>#
GFS Bodoni
- gfs_didot = <manim.utils.tex.TexTemplate object>#
GFS Didot (Italic)
- gfs_neoHellenic = <manim.utils.tex.TexTemplate object>#
GFS NeoHellenic
- gnu_freesans_tx = <manim.utils.tex.TexTemplate object>#
GNU FreeSerif (and TX fonts symbols)
- gnu_freeserif_freesans = <manim.utils.tex.TexTemplate object>#
GNU FreeSerif and FreeSans
- helvetica_fourier_it = <manim.utils.tex.TexTemplate object>#
Helvetica with Fourier (Italic)
- latin_modern_tw = <manim.utils.tex.TexTemplate object>#
Latin Modern Typewriter Proportional
- latin_modern_tw_it = <manim.utils.tex.TexTemplate object>#
Latin Modern Typewriter Proportional (CM Greek) (Italic)
- libertine = <manim.utils.tex.TexTemplate object>#
Libertine
- libris_adf_fourier = <manim.utils.tex.TexTemplate object>#
Libris ADF with Fourier
- minion_pro_myriad_pro = <manim.utils.tex.TexTemplate object>#
Minion Pro and Myriad Pro (and TX fonts symbols)
- minion_pro_tx = <manim.utils.tex.TexTemplate object>#
Minion Pro (and TX fonts symbols)
- new_century_schoolbook = <manim.utils.tex.TexTemplate object>#
New Century Schoolbook (Symbol Greek)
- new_century_schoolbook_px = <manim.utils.tex.TexTemplate object>#
New Century Schoolbook (Symbol Greek, PX math symbols)
- noteworthy_light = <manim.utils.tex.TexTemplate object>#
Noteworthy Light
- palatino = <manim.utils.tex.TexTemplate object>#
Palatino (Symbol Greek)
- papyrus = <manim.utils.tex.TexTemplate object>#
Papyrus
- romande_adf_fourier_it = <manim.utils.tex.TexTemplate object>#
Romande ADF with Fourier (Italic)
- slitex = <manim.utils.tex.TexTemplate object>#
SliTeX (Euler Greek)
- times_fourier_it = <manim.utils.tex.TexTemplate object>#
Times with Fourier (Italic)
- urw_avant_garde = <manim.utils.tex.TexTemplate object>#
URW Avant Garde (Symbol Greek)
- urw_zapf_chancery = <manim.utils.tex.TexTemplate object>#
URW Zapf Chancery (CM Greek)
- venturis_adf_fourier_it = <manim.utils.tex.TexTemplate object>#
Venturis ADF with Fourier (Italic)
- verdana_it = <manim.utils.tex.TexTemplate object>#
Verdana (Italic)
- vollkorn = <manim.utils.tex.TexTemplate object>#
Vollkorn (TX fonts for Greek and math symbols)
- vollkorn_fourier_it = <manim.utils.tex.TexTemplate object>#
Vollkorn with Fourier (Italic)
- zapf_chancery = <manim.utils.tex.TexTemplate object>#
Zapf Chancery