summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/njuthesis/njuthesis-undergraduate.def
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/njuthesis/njuthesis-undergraduate.def')
-rw-r--r--Master/texmf-dist/tex/latex/njuthesis/njuthesis-undergraduate.def46
1 files changed, 20 insertions, 26 deletions
diff --git a/Master/texmf-dist/tex/latex/njuthesis/njuthesis-undergraduate.def b/Master/texmf-dist/tex/latex/njuthesis/njuthesis-undergraduate.def
index bcba1a60219..b1a411d78b2 100644
--- a/Master/texmf-dist/tex/latex/njuthesis/njuthesis-undergraduate.def
+++ b/Master/texmf-dist/tex/latex/njuthesis/njuthesis-undergraduate.def
@@ -23,11 +23,10 @@
%% To produce the documentation run the original source files ending with
%% `.dtx' through XeTeX.
%%
-\GetIdInfo $Id: njuthesis.dtx 0.18.0 2022-05-01 12:40:00 +0800 NJU LUG <git+nju-lug-email-3104-issue-@yaoge123.cn>$
+\GetIdInfo $Id: njuthesis.dtx 0.19.0 2022-05-23 11:33:00 +0800 NJU LUG <git+nju-lug-email-3104-issue-@yaoge123.cn>$
{Undergraduate definition file for njuthesis}
\ProvidesExplFile{njuthesis-undergraduate.def}
{\ExplFileDate}{\ExplFileVersion}{\ExplFileDescription}
-\tl_const:Nn \c__nju_pagestyle_tl { plain }
\__nju_declare_element:nn { cover / ug / emblem-img }
{
content = \__nju_emblem:N \c__nju_emblemwidth_dim,
@@ -80,8 +79,14 @@
}
\cs_new_protected:Npn \__nju_make_origdecl:
{
- \chapter* { \c__nju_name_origdecl_tl }
+ \cleardoublepage
\thispagestyle { empty }
+ \begin{center}
+ \njuemblem{2cm}{!}\\
+ {\zihao{-1}\sffamily \c__nju_name_origdecl_tl }
+ \end{center}
+ \zihao{-3}
+ \hspace{2em}
\c__nju_text_origdecl_tl
\vfil
\begin{flushright}
@@ -131,18 +136,6 @@
{ \__nju_name:n { ##1 #1 } #2 \__nju_info:n { ##1 #1 } \\ }
\__nju_name:n { abstract #1 } #2
}
-\__nju_declare_element:nn { abstract / mark }
- {
- content = \c__nju_name_abstract_b_tl,
- format = \sffamily \zihao { -3 },
- bottom-skip = 1 cm
- }
-\__nju_declare_element:nn { abstract / en / mark }
- {
- content = \c__nju_name_abstract_b_en_tl,
- format = \sffamily \zihao { -3 },
- bottom-skip = 1 cm
- }
\cs_new_protected:Npn \__nju_make_abstract:
{
\UseInstance { nju } { abstract / title }
@@ -188,16 +181,16 @@
\clist_map_inline:nn
{
% 用于摘要的作者名称字样
- { author_a } { 本科生姓名 },
- { grade } { 年级 },
- { origdecl }
- { \c__nju_name_nju_tl 本科毕业论文(设计)诚信承诺书 },
- { origsign } { 作者签名 },
- { submitdate } { 提交日期 },
- { supv } { 导师 },
- { title } { 题目 },
- { type } { 本科生毕业论文(设计、作品) },
- { ug } { 本科生 }
+ { author_a } { 本科生姓名 },
+ { grade } { 年级 },
+ { origdecl } { \c__nju_name_nju_tl
+ 本科毕业论文(设计) \\ 诚信承诺书 },
+ { origsign } { 作者签名 },
+ { submitdate } { 提交日期 },
+ { supv } { 导师 },
+ { title } { 题目 },
+ { type } { 本科生毕业论文(设计、作品) },
+ { ug } { 本科生 }
}
{ \__nju_define_name:nn #1 }
\clist_map_inline:nn
@@ -248,7 +241,8 @@
{ \__nju_define_dim:nn #1 }
\clist_map_inline:nn
{
- { section } { \large \normalfont \sffamily },
+ { pagestyle } { plain },
+ { section } { \large \sffamily },
{ chapter } { \c__nju_fmt_section_tl \centering },
{ chapterintoc } { \c__nju_fmt_section_tl },
{ subsection } { \c__nju_fmt_section_tl },