Skip to content

Commit

Permalink
docs: 修改文档
Browse files Browse the repository at this point in the history
  • Loading branch information
atxy-blip committed Sep 11, 2021
1 parent a26a62d commit 9e744e4
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 24 deletions.
4 changes: 2 additions & 2 deletions chapters/Introduction.tex
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ \section{自定义选项}
njuthesis类提供了若干个可以自定义的选项,如下所示。
\begin{description}
\item[\texttt{titlelength}] 标题长度,用于控制封面标题的行数。可选值为1、2、3,缺省值为1。
\item[\texttt{secondsupervisor}] 是否有第二导师,用于在封面和摘要添加第二导师,缺省值为false。
\item[\texttt{degree}] 学位类型,本科生为UG,即Undergraduate的缩写。
\item[\texttt{secondmentor}] 是否有第二导师,用于在封面和摘要添加第二导师,缺省值为false。
\item[\texttt{degree}] 学位类型,本科学位为g,即Undergraduate的缩写;学术型硕士学位为mg;硕士专业学位为mf;博士学位为d
\item[\texttt{type}] 用于选择文档类型并将相关字段输出在封面和摘要页。可选值包括thesis(表示毕业论文)和design(表示毕业设计),缺省值为thesis。
\item[\texttt{systemfont}] 是否用系统字体,用于自动检测运行系统并使用预装字体,缺省值为true。
\item[\texttt{customlatinfont}] 用于选择自定义英文字符集。可选值包括windows, macos, gyre, null,缺省值为windows。
Expand Down
2 changes: 1 addition & 1 deletion njuthesis.tex
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% NJU Thesis Undergraduate
% 南京大学毕业论文LaTeX模板
% Version 0.6.0 (2021-09-11)
% Version 0.7.0 (2021-09-11)
%
% 请关注项目地址以获取最新变化
% https://github.com/nju-lug/NJUThesisUndergraduate
Expand Down
38 changes: 20 additions & 18 deletions profile/abstract.sty
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
\ProvidesExplPackage{profile/abstract}{2021-09-11}{0.6.0}{NJU Thesis abstract design}
\ProvidesExplPackage{profile/abstract}{2021-09-11}{0.7.0}{NJU Thesis abstract design}

% 判断学位
\str_if_eq:eeTF {\nju_degree} { ug }
Expand Down Expand Up @@ -93,23 +93,25 @@
\begin{center}
\kaishu\zihao{-2}{\textbf{\uuline{南京大学研究生毕业论文中文摘要首页用纸}}}
\end{center}
{%\bgroup
\kaishu\zihao{4}
\tl_set:Nn \tabcolsep {0pt}
\tl_set:Nn \arraystretch {0.8}
\noindent
毕业论文题目:\ \uline{我单知道雪天是野兽在深山里没有食吃会到村里来我不知道春天也会有} \\
\uline{\makebox[8em]{\nju_major}}专业\uline{\makebox[3em]{\nju_grade}}级
\str_if_eq:eeTF {\nju_degree} { d } {博}{硕}
士生姓名:\uline{\hfill\nju_student_name\hfill} \\
指导教师(姓名、职称):\uline{\hfill\nju_mentor_a\ \nju_mentor_a_title
% 第二导师
\bool_if:NTF \nju_second_mentor
{ \ \nju_mentor_b\ \nju_mentor_b_title }{}\hfill}
\\
摘要:
% \egroup
}

\bgroup
\kaishu\zihao{4}
\tl_set:Nn \tabcolsep {0pt}
\tl_set:Nn \arraystretch {0.8}
\noindent
% 毕业论文题目:\ \uline{\nju_title} \\ % 下划线有问题
毕业论文题目:\ \nju_title \\
\uline{\makebox[9em]{\nju_major}}专业\uline{\makebox[3em]{\nju_grade}}级
\str_if_eq:eeTF {\nju_degree} { d } {博}{硕}
士生姓名:\uline{\hfill\nju_student_name\hfill} \\
指导教师(姓名、职称):\uline{\hfill\nju_mentor_a\ \nju_mentor_a_title
% 第二导师
\bool_if:NTF \nju_second_mentor
{ \ \nju_mentor_b\ \nju_mentor_b_title }{}\hfill}
\\
摘要:
\egroup

\kaishu\zihao{-4}\par%
}{%
\newpage
Expand Down
4 changes: 2 additions & 2 deletions profile/cover.sty
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
\ProvidesExplPackage{profile/cover}{2021-09-04}{0.1}{NJU Thesis cover design}
\ProvidesExplPackage{profile/cover}{2021-09-11}{0.7.0}{NJU Thesis cover design}

% 拼合标题
\tl_const:Nn \nju_title {\nju_title_a \nju_title_b \nju_title_c}
Expand Down Expand Up @@ -191,7 +191,7 @@
\vfill
\vskip 10mm
\bf\kaishu\zihao{4}\nju_submit_date
\vskip 5mm
\vskip 15mm
\end{center}
\end{spacing}

Expand Down
2 changes: 1 addition & 1 deletion profile/font.sty
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
\ProvidesExplPackage{profile/font}{2021-09-11}{0.6.0}{NJU Thesis font configuration}
\ProvidesExplPackage{profile/font}{2021-09-11}{0.7.0}{NJU Thesis font configuration}

% \RequireXeTeX
% \RequireLuaTeX
Expand Down

0 comments on commit 9e744e4

Please sign in to comment.