第二次修改 教师讲义制作 页眉
This commit is contained in:
parent
23ca67d6dd
commit
96ef7c0470
|
|
@ -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)
|
||||
|
|
|
|||
Reference in New Issue