Add blank template

This commit is contained in:
YishiMichael 2022-05-28 22:44:30 +08:00
parent bf530db2ed
commit 3faa21cadd
No known key found for this signature in database
GPG key ID: EC615C0C5A86BC80
2 changed files with 3 additions and 1 deletions

View file

@ -51,6 +51,8 @@ ctex_basic: |-
\usepackage{amssymb}
\usepackage{xcolor}
blank: ""
# A collection of TeX templates for the fonts described at
# http://jf.burnol.free.fr/showcase.html

View file

@ -28,7 +28,7 @@ def get_tex_font_preamble(tex_font: str) -> str:
)
name = "default"
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
return result