mirror of
https://github.com/3b1b/manim.git
synced 2025-09-19 04:41:56 +00:00
Add blank template
This commit is contained in:
parent
bf530db2ed
commit
3faa21cadd
2 changed files with 3 additions and 1 deletions
|
@ -51,6 +51,8 @@ ctex_basic: |-
|
||||||
\usepackage{amssymb}
|
\usepackage{amssymb}
|
||||||
\usepackage{xcolor}
|
\usepackage{xcolor}
|
||||||
|
|
||||||
|
blank: ""
|
||||||
|
|
||||||
# A collection of TeX templates for the fonts described at
|
# A collection of TeX templates for the fonts described at
|
||||||
# http://jf.burnol.free.fr/showcase.html
|
# http://jf.burnol.free.fr/showcase.html
|
||||||
|
|
||||||
|
|
|
@ -28,7 +28,7 @@ def get_tex_font_preamble(tex_font: str) -> str:
|
||||||
)
|
)
|
||||||
name = "default"
|
name = "default"
|
||||||
result = templates_dict[name]
|
result = templates_dict[name]
|
||||||
if name not in ("default", "ctex", "basic", "ctex_basic"):
|
if name not in ("default", "ctex", "basic", "ctex_basic", "blank"):
|
||||||
result = templates_dict["basic"] + "\n" + result
|
result = templates_dict["basic"] + "\n" + result
|
||||||
return result
|
return result
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue