From 96ef7c047007b14d34ca733cbf29add8ecde4544 Mon Sep 17 00:00:00 2001 From: wangweiye7840 Date: Fri, 30 Jun 2023 15:47:05 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AC=AC=E4=BA=8C=E6=AC=A1=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=20=E6=95=99=E5=B8=88=E8=AE=B2=E4=B9=89=E5=88=B6=E4=BD=9C=20?= =?UTF-8?q?=E9=A1=B5=E7=9C=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 工具v2/教师讲义制作.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/工具v2/教师讲义制作.py b/工具v2/教师讲义制作.py index 6649c3a1..691cea2c 100644 --- a/工具v2/教师讲义制作.py +++ b/工具v2/教师讲义制作.py @@ -18,7 +18,7 @@ outputfilepath = os.path.join(outputdir,notetitle+".tex") print("输出文件目录: %s\n输出文件名: %s"%(os.path.join(os.getcwd(),outputdir),notetitle+".tex")) latex_raw = ReadTextFile("模板文件/讲义模板.txt") -latex_raw = latex_raw.replace(r"学号\blank{50} \ 姓名\blank{80}","") +latex_raw = latex_raw.replace(r"学号\blank{50} \ 姓名\blank{80}","上海市控江中学") if sys.platform != "win32": #非win系统用默认字体 latex_raw = re.sub(r"fontset[\s]*=[\s]*none","fontset = fandol",latex_raw)