Skip to content

Commit

Permalink
去掉字体间距调整,否则会影响空格对齐,调整盲审封面字体大小,增加附录示例
Browse files Browse the repository at this point in the history
  • Loading branch information
YanMing-lxb committed Mar 2, 2025
1 parent d0dab38 commit 3fbc93c
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 18 deletions.
Binary file modified Build/main.pdf
Binary file not shown.
30 changes: 15 additions & 15 deletions GUET-Thesis.cls
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
% -----------------------------------------------------------------------
% Author : 焱铭
% Date : 2025-02-24 22:56:46 +0800
% LastEditTime : 2025-03-02 15:22:11 +0800
% LastEditTime : 2025-03-02 16:25:50 +0800
% Github : /~https://github.com/YanMing-lxb/
% FilePath : /GUET_Thesis_LaTeX/GUET-Thesis.cls
% Description :
Expand Down Expand Up @@ -123,10 +123,10 @@

% ===============字体相关宏包===============
\RequirePackage{xeCJK} % 用于设置全局的中日韩文字体
\xeCJKsetup{
CJKglue = {\hskip 0.08em plus 0.02em minus 0.02em}, % 中文字间距调整
CJKecglue = {\hskip 0.08em plus 0.02em minus 0.02em} % 中英文间间距调整
}
% \xeCJKsetup{ % 影响封面字体对齐,如果启用该命令 \quad 将不能代表两个汉字间距
% CJKglue = {\hskip 0.08em plus 0.02em minus 0.02em}, % 中文字间距调整
% CJKecglue = {\hskip 0.08em plus 0.02em minus 0.02em} % 中英文间间距调整
% }
\RequirePackage{xeCJKfntef} % 用于提供更多的字体效果设置选项,兼容ulem宏包
\RequirePackage{zhnumber} % 用于将数字转换为大写中文数字的表示
\RequirePackage{pifont} % 提供了许多符号和图标的命令
Expand Down Expand Up @@ -500,15 +500,15 @@
\centering
\ifpromaster{ % 专硕👇
\fontsize{26pt}{26pt}\selectfont{\heiti\bfseries\BookTitle} \\
\fontsize{20pt}{26pt}\selectfont{\bfseries(全日制专业学位硕士)}\\
\fontsize{18pt}{26pt}\selectfont{\bfseries(全日制专业学位硕士)}\\
}
\ifojmaster{ % 在职学硕👇
\fontsize{26pt}{26pt}\selectfont{\heiti\bfseries\BookTitle} \\
\fontsize{20pt}{26pt}\selectfont{\bfseries(在职研究生)}\\
\fontsize{18pt}{26pt}\selectfont{\bfseries(在职研究生)}\\
}
\ifptmaster{ % 非全专硕👇
\fontsize{26pt}{26pt}\selectfont{\heiti\bfseries\BookTitle} \\
\fontsize{20pt}{26pt}\selectfont{\bfseries(非全日制专业学位硕士)}\\
\fontsize{18pt}{26pt}\selectfont{\bfseries(非全日制专业学位硕士)}\\
}

\ifmaster{ % 学硕👇
Expand Down Expand Up @@ -606,7 +606,7 @@
}
\qquad 目: & \expanded{\zh@TheTitle@tb{}} \\
\qquad 业: & \TheMajor \\
研究方向: & \TheResearchDirection
研究方向: & \TheResearchDirection
\end{tblr}
\end{textblock}
}{ % 非盲审封面👇
Expand All @@ -622,12 +622,12 @@
hline{2-Z} = {2}{1.25pt}, % 从第二行到最后一行(Z)存在横线(hline{2-Z}),第二列横线宽1.5pt({2}{1.5pt})
belowsep = {-11pt} % 单元格底线向上偏移11pt
}
\quad\quad\quad\quad 号: & \TheStudentNumber \\
\quad\quad\quad\quad 号: & \TheStudentNumber \\
\quad\quad\quad\quad 名: & \TheAuthor \\
指导教师姓名、职称: & \TheAdvisor \enspace \TheProtitle \\
\enspace 请专业学位类别\enspace : & \TheDegreeCategories \\
指导教师姓名、职称: & \TheAdvisor \enspace \TheProtitle \\
\enspace 请专业学位类别\enspace : & \TheDegreeCategories \\
\hspace{1.5em}业\hspace{1.5em}名\hspace{1.5em}称\enspace : & \TheMajor \\
\enspace\enspace\quad\enspace\enspace 期: & \TheDate
\enspace\enspace\quad\enspace\enspace 期: & \TheDate
\end{tblr}
}{ % 博士、学硕、在职硕士的封面信息 👇
\begin{tblr}
Expand Down Expand Up @@ -1842,8 +1842,8 @@ hline{1,Z} = {-}{0.9pt}, % 设置头线和尾线为1.5pt


\chapter*{\quad}
\addcontentsline{toc}{chapter}{附录}
\markboth{附录}{附录}
\addcontentsline{toc}{chapter}{\quad}
\markboth{\quad 录}{附\quad}

\fancyhf{}
\fancyhead[C]{\fontsize{10.5pt}{12.6pt}\selectfont\quad 录}
Expand Down
8 changes: 5 additions & 3 deletions main.tex
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
% -----------------------------------------------------------------------
% Author : 焱铭
% Date : 2023-07-18 08:50:38 +0800
% LastEditTime : 2025-02-07 21:08:14 +0800
% LastEditTime : 2025-03-02 16:29:12 +0800
% Github : /~https://github.com/YanMing-lxb/
% FilePath : /GUET_Thesis_LaTeX/main.tex
% Description : Version 2.11.5 更新请关注 /~https://github.com/YanMing-lxb/GUET_Thesis_LaTeX
Expand Down Expand Up @@ -63,13 +63,13 @@
Research on microchannel heat dissipation technology \\& based on embedded heat dissipation module
} % 标题中插入“\\&”命令进行换行
\Author{焱铭} % 作者姓名
\Advisor{李某某} % 导师姓名
\Advisor{XXX} % 导师姓名
\Protitle{教授} % 导师职称
\School{机电工程学院} % 所在学院
\Major{机械工程} % 学科专业或领域
\ResearchDirection{电子器件散热} % 研究领域(盲审用)
\DegreeCategories{工学硕士} % 申请学位门类或类别
\StudentNumber{2020XXX} % 学号
\StudentNumber{2020XXXXX} % 学号
\Secrets{} % 密级,不涉密请空着
\Date{\today} % 可更换为具体日期如:\date{2023年5月28日}
% \subCrefNameSet % 子图、表、算法等引用名称格式设置为 子图 2-1(a) 的样式
Expand Down Expand Up @@ -111,5 +111,7 @@
\ThesisAcknowledgement % 致谢
\ThesisAchievement % 攻读专业硕士学位期间取得的成果

\input{Chapters/Appendix.tex} % 附录

% ------------------------------------------------------------------------------------------
\end{document}

0 comments on commit 3fbc93c

Please sign in to comment.