From c5c88e32d5dfbfe4aacbcb2af817b92d36d9e844 Mon Sep 17 00:00:00 2001 From: "Y.D.X." <73375426+YDX-2147483647@users.noreply.github.com> Date: Wed, 11 Dec 2024 23:22:06 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E7=BB=99`titleEn`=E7=A4=BA=E4=BE=8B?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=8B=AC=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `\BITSetup`(l3keys)使用`,`分隔。如果标题本身就含`,`,必须用括号包裹,不然无法正常解析。 这并不显然。给示例加上括号,可以让一般人也能猜到。 (今天群里有人问,上学期我也被别人问过。) --- templates/graduate-thesis/main.tex | 2 +- templates/undergraduate-thesis-en/main.tex | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/graduate-thesis/main.tex b/templates/graduate-thesis/main.tex index 2f328fbe..5b298de2 100644 --- a/templates/graduate-thesis/main.tex +++ b/templates/graduate-thesis/main.tex @@ -52,7 +52,7 @@ % 如需覆盖竖排标题,请配置以下选项。 % 下面的例子展示了如何在竖排标题中使用垂直或者旋转的英文。 % verticalTitle = {形状记忆聚氨酯{L } {T } {X }的合成 \rotatebox[origin=c]{-90}{Feng Kaiyu} 及其在织物中的应用}, - titleEn = Synthesis and Application on textile of the Shape Memory Polyurethane, + titleEn = {Synthesis and Application on textile of the Shape Memory Polyurethane}, author = 张三, % 如果想要手动控制盲审模式下的隐藏信息,可以使用宏 \SecretInfo{}。使用方式有两种,如: % major = \SecretInfo{材料科学与工程} 可以得到 ******* (用等量的替换符号替代) diff --git a/templates/undergraduate-thesis-en/main.tex b/templates/undergraduate-thesis-en/main.tex index 247f087e..bf4bfe25 100644 --- a/templates/undergraduate-thesis-en/main.tex +++ b/templates/undergraduate-thesis-en/main.tex @@ -43,7 +43,7 @@ % 想要让某项封面信息留空(但是保留下划线),请传入空白符组成的字符串,如"{~}"。 % 如需要换行,则用 “\\” 符号分割。 title = 你的论文标题(中文), - titleEn = Your Thesis Title, + titleEn = {Your Thesis Title}, school = School of Mechanical Engineering, major = Bachelor of Science in Mechanical Engineering, author = Feng Kaiyu,