From d0fe3775610158217b6e55089d80c82dbd5ceb7d Mon Sep 17 00:00:00 2001 From: riri <43739031+ririv@users.noreply.github.com> Date: Mon, 11 Mar 2024 22:15:12 +0800 Subject: [PATCH 1/2] Update seumasterthesis.cls MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修复Inner page中,双导师名字分别两字和三字时,在两字名字导师中间插入一中文空格后,双导师名字依旧不对齐问题。 main.tex中导师姓名样例 \advisor {李可欣~~教授} % 导师中文姓名 {LI Ke-Xin} % 导师英文姓名 {Prof.} % 导师职称 \coadvisor % 联合培养导师姓名,没有可以不写 {王\hspace{1em}东~~高工} % 导师中文姓名 {WANG Dong} % 导师英文姓名 {A.P.} % 导师职称 (English), 如教授(Prof.)、副教授(A.P.) --- template/seumasterthesis.cls | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/template/seumasterthesis.cls b/template/seumasterthesis.cls index 05cc3af..d2641ab 100644 --- a/template/seumasterthesis.cls +++ b/template/seumasterthesis.cls @@ -794,7 +794,11 @@ \makebox[3.5cm][s]{\xiaoerhao\heiti\advisorpre: } & \underline { \makebox[6cm][s] { - \xiaoerhao\songti\textbf{\@advisorname} + \hspace*{1.7cm} + \makebox[2.5cm][c]{ + \xiaoerhao\songti\textbf{\@advisorname} + } + \makebox[2cm][r]{} } } \\ @@ -802,7 +806,11 @@ \ifcoadvisor \underline{ \makebox[6cm][s] { - \xiaoerhao\songti\textbf{\@coadvisorname} + \hspace*{1.7cm} + \makebox[2.5cm][c]{ + \xiaoerhao\songti\textbf{\@coadvisorname} + } + \makebox[2cm][r]{} } } \else From c62a7535abd4b1115c7ef665b2902eda1ef0538f Mon Sep 17 00:00:00 2001 From: ri Date: Mon, 11 Mar 2024 23:28:18 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=EF=BC=9A=E5=A4=A7?= =?UTF-8?q?=E5=B0=81=E9=9D=A2=E5=89=AF=E6=A0=87=E9=A2=98=E6=B6=88=E5=A4=B1?= =?UTF-8?q?=E9=97=AE=E9=A2=98=20=E6=B7=BB=E5=8A=A0=EF=BC=9A=E4=B8=80?= =?UTF-8?q?=E4=BA=9B=E8=A7=A3=E9=87=8A=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 1 + main.tex | 4 ++-- template/seumasterthesis.cls | 4 +++- 3 files changed, 6 insertions(+), 3 deletions(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e43b0f9 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.DS_Store diff --git a/main.tex b/main.tex index f819f5b..1d6c146 100644 --- a/main.tex +++ b/main.tex @@ -18,9 +18,9 @@ %% ---------------------------------------------------------------------------- \title {东南大学 \LaTeX 论文模板使用手册} % 论文中文标题 - {如何优雅地撰写硕士研究生毕业论文} % 论文中文副标题,没有可以空着 + {如何优雅地撰写硕士研究生毕业论文} % 论文中文副标题,没有可以空着;如果标题过长,也可以用副标题实现换行 {Southeast University \LaTeX ~Thesis Template User Manual} % 论文英文标题 - {How to Write a Master Thesis in an Elegant Way} % 论文英文副标题,没有可以空着 + {How to Write a Master Thesis in an Elegant Way} % 论文英文副标题,没有可以空着;如果标题过长,也可以用副标题实现换行 \spine % 书脊标题与副标题 diff --git a/template/seumasterthesis.cls b/template/seumasterthesis.cls index d2641ab..a81167e 100644 --- a/template/seumasterthesis.cls +++ b/template/seumasterthesis.cls @@ -495,7 +495,7 @@ \begin{center} \linespread{1.25} \erhao\heiti\@title\\ -% \erhao\heiti\@subtitle\\ % 修改3 -- Reanon 为了避免空副标题 + \erhao\heiti\@subtitle\\ \end{center} \end{minipage} @@ -794,6 +794,7 @@ \makebox[3.5cm][s]{\xiaoerhao\heiti\advisorpre: } & \underline { \makebox[6cm][s] { + % ririv: 修正了双导师名字分别为两字和三字时名字不对齐问题 \hspace*{1.7cm} \makebox[2.5cm][c]{ \xiaoerhao\songti\textbf{\@advisorname} @@ -806,6 +807,7 @@ \ifcoadvisor \underline{ \makebox[6cm][s] { + % ririv: 修正了双导师名字分别为两字和三字时名字不对齐问题 \hspace*{1.7cm} \makebox[2.5cm][c]{ \xiaoerhao\songti\textbf{\@coadvisorname}