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

American Typewriter

antykwa

Antykwa Półtawskiego (TX Fonts for Greek and math symbols)

apple_chancery

Apple Chancery

auriocus_kalligraphicus

Auriocus Kalligraphicus (Symbol Greek)

baskervald_adf_fourier

Baskervald ADF with Fourier

baskerville_it

Baskerville (Italic)

biolinum

Biolinum

brushscriptx

BrushScriptX-Italic (PX math and Greek)

chalkboard_se

Chalkboard SE

chalkduster

Chalkduster

comfortaa

Comfortaa

comic_sans

Comic Sans MS

droid_sans

Droid Sans

droid_sans_it

Droid Sans (Italic)

droid_serif

Droid Serif

droid_serif_px_it

Droid Serif (PX math symbols) (Italic)

ecf_augie

ECF Augie (Euler Greek)

ecf_jd

ECF JD (with TX fonts)

ecf_skeetch

ECF Skeetch (CM Greek)

ecf_tall_paul

ECF Tall Paul (with Symbol font)

ecf_webster

ECF Webster (with TX fonts)

electrum_adf

Electrum ADF (CM Greek)

epigrafica

Epigrafica

fourier_utopia

Fourier Utopia (Fourier upright Greek)

french_cursive

French Cursive (Euler Greek)

gfs_bodoni

GFS Bodoni

gfs_didot

GFS Didot (Italic)

gfs_neoHellenic

GFS NeoHellenic

gnu_freesans_tx

GNU FreeSerif (and TX fonts symbols)

gnu_freeserif_freesans

GNU FreeSerif and FreeSans

helvetica_fourier_it

Helvetica with Fourier (Italic)

latin_modern_tw

Latin Modern Typewriter Proportional

latin_modern_tw_it

Latin Modern Typewriter Proportional (CM Greek) (Italic)

libertine

Libertine

libris_adf_fourier

Libris ADF with Fourier

minion_pro_myriad_pro

Minion Pro and Myriad Pro (and TX fonts symbols)

minion_pro_tx

Minion Pro (and TX fonts symbols)

new_century_schoolbook

New Century Schoolbook (Symbol Greek)

new_century_schoolbook_px

New Century Schoolbook (Symbol Greek, PX math symbols)

noteworthy_light

Noteworthy Light

palatino

Palatino (Symbol Greek)

papyrus

Papyrus

romande_adf_fourier_it

Romande ADF with Fourier (Italic)

slitex

SliTeX (Euler Greek)

times_fourier_it

Times with Fourier (Italic)

urw_avant_garde

URW Avant Garde (Symbol Greek)

urw_zapf_chancery

URW Zapf Chancery (CM Greek)

venturis_adf_fourier_it

Venturis ADF with Fourier (Italic)

verdana_it

Verdana (Italic)

vollkorn

Vollkorn (TX fonts for Greek and math symbols)

vollkorn_fourier_it

Vollkorn with Fourier (Italic)

zapf_chancery

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