Skip to content
Snippets Groups Projects
Commit 9e744e4f authored by Yu Xiong's avatar Yu Xiong :confounded:
Browse files

docs: 修改文档

parent a26a62d5
No related branches found
No related tags found
No related merge requests found
...@@ -48,8 +48,8 @@ ...@@ -48,8 +48,8 @@
njuthesis类提供了若干个可以自定义的选项,如下所示。 njuthesis类提供了若干个可以自定义的选项,如下所示。
\begin{description} \begin{description}
\item[\texttt{titlelength}] 标题长度,用于控制封面标题的行数。可选值为1、2、3,缺省值为1。 \item[\texttt{titlelength}] 标题长度,用于控制封面标题的行数。可选值为1、2、3,缺省值为1。
\item[\texttt{secondsupervisor}] 是否有第二导师,用于在封面和摘要添加第二导师,缺省值为false。 \item[\texttt{secondmentor}] 是否有第二导师,用于在封面和摘要添加第二导师,缺省值为false。
\item[\texttt{degree}] 学位类型,本科生为UG,即Undergraduate的缩写。 \item[\texttt{degree}] 学位类型,本科学位为g,即Undergraduate的缩写;学术型硕士学位为mg;硕士专业学位为mf;博士学位为d
\item[\texttt{type}] 用于选择文档类型并将相关字段输出在封面和摘要页。可选值包括thesis(表示毕业论文)和design(表示毕业设计),缺省值为thesis。 \item[\texttt{type}] 用于选择文档类型并将相关字段输出在封面和摘要页。可选值包括thesis(表示毕业论文)和design(表示毕业设计),缺省值为thesis。
\item[\texttt{systemfont}] 是否用系统字体,用于自动检测运行系统并使用预装字体,缺省值为true。 \item[\texttt{systemfont}] 是否用系统字体,用于自动检测运行系统并使用预装字体,缺省值为true。
\item[\texttt{customlatinfont}] 用于选择自定义英文字符集。可选值包括windows, macos, gyre, null,缺省值为windows。 \item[\texttt{customlatinfont}] 用于选择自定义英文字符集。可选值包括windows, macos, gyre, null,缺省值为windows。
......
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% NJU Thesis Undergraduate % NJU Thesis Undergraduate
% 南京大学毕业论文LaTeX模板 % 南京大学毕业论文LaTeX模板
% Version 0.6.0 (2021-09-11) % Version 0.7.0 (2021-09-11)
% %
% 请关注项目地址以获取最新变化 % 请关注项目地址以获取最新变化
% https://github.com/nju-lug/NJUThesisUndergraduate % https://github.com/nju-lug/NJUThesisUndergraduate
......
\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 } \str_if_eq:eeTF {\nju_degree} { ug }
...@@ -93,23 +93,25 @@ ...@@ -93,23 +93,25 @@
\begin{center} \begin{center}
\kaishu\zihao{-2}{\textbf{\uuline{南京大学研究生毕业论文中文摘要首页用纸}}} \kaishu\zihao{-2}{\textbf{\uuline{南京大学研究生毕业论文中文摘要首页用纸}}}
\end{center} \end{center}
{%\bgroup
\kaishu\zihao{4} \bgroup
\tl_set:Nn \tabcolsep {0pt} \kaishu\zihao{4}
\tl_set:Nn \arraystretch {0.8} \tl_set:Nn \tabcolsep {0pt}
\noindent \tl_set:Nn \arraystretch {0.8}
毕业论文题目:\ \uline{我单知道雪天是野兽在深山里没有食吃会到村里来我不知道春天也会有} \\ \noindent
\uline{\makebox[8em]{\nju_major}}专业\uline{\makebox[3em]{\nju_grade}} % 毕业论文题目:\ \uline{\nju_title} \\ % 下划线有问题
\str_if_eq:eeTF {\nju_degree} { d } {}{} 毕业论文题目:\ \nju_title \\
士生姓名:\uline{\hfill\nju_student_name\hfill} \\ \uline{\makebox[9em]{\nju_major}}专业\uline{\makebox[3em]{\nju_grade}}
指导教师(姓名、职称):\uline{\hfill\nju_mentor_a\ \nju_mentor_a_title \str_if_eq:eeTF {\nju_degree} { d } {}{}
% 第二导师 士生姓名:\uline{\hfill\nju_student_name\hfill} \\
\bool_if:NTF \nju_second_mentor 指导教师(姓名、职称):\uline{\hfill\nju_mentor_a\ \nju_mentor_a_title
{ \ \nju_mentor_b\ \nju_mentor_b_title }{}\hfill} % 第二导师
\\ \bool_if:NTF \nju_second_mentor
摘要: { \ \nju_mentor_b\ \nju_mentor_b_title }{}\hfill}
% \egroup \\
} 摘要:
\egroup
\kaishu\zihao{-4}\par% \kaishu\zihao{-4}\par%
}{% }{%
\newpage \newpage
......
\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} \tl_const:Nn \nju_title {\nju_title_a \nju_title_b \nju_title_c}
...@@ -191,7 +191,7 @@ ...@@ -191,7 +191,7 @@
\vfill \vfill
\vskip 10mm \vskip 10mm
\bf\kaishu\zihao{4}\nju_submit_date \bf\kaishu\zihao{4}\nju_submit_date
\vskip 5mm \vskip 15mm
\end{center} \end{center}
\end{spacing} \end{spacing}
......
\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 % \RequireXeTeX
% \RequireLuaTeX % \RequireLuaTeX
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment