'Manim Vollkorn Font

Manim version:

Manim Community v0.15.1

Ubuntu Version:

Ubuntu 20.04.4 LTS

How do I use vollkorn font in tex objects?

class a_Multiplicative_Inverse(Scene):
    def construct(self):
        
        tex1 = Tex("My TeX code", font_size=50, tex_template=TexFontTemplates.vollkorn)
        self.play(Write(tex1))
        self.wait(1)

I get the folllowing error:

LaTeX compilation error: LaTeX Error: File `vollkorn.sty' not found. tex_file_writing.py:279 

Font manager has it available and I can preview it. I've found some files called "vollkorn.mki" and "volkorn.mkii," but none for ".sty."



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source