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.def23
1 files changed, 6 insertions, 17 deletions
diff --git a/Master/texmf-dist/tex/latex/njuthesis/njuthesis-undergraduate.def b/Master/texmf-dist/tex/latex/njuthesis/njuthesis-undergraduate.def
index 3430def33a6..a48cb5de066 100644
--- a/Master/texmf-dist/tex/latex/njuthesis/njuthesis-undergraduate.def
+++ b/Master/texmf-dist/tex/latex/njuthesis/njuthesis-undergraduate.def
@@ -23,23 +23,12 @@
%% To produce the documentation run the original source files ending with
%% `.dtx' through XeTeX.
%%
-\GetIdInfo $Id: njuthesis.dtx 1.2.1 2023-05-03 13:30:00
+\GetIdInfo $Id: njuthesis.dtx 1.3.0 2023-06-06 11:30:00
+0800 NJU LUG <git+nju-lug-email-3104-issue-@yaoge123.cn>$
{Undergraduate definition file for njuthesis}
\ProvidesExplFile{njuthesis-undergraduate.def}
{\ExplFileDate}{\ExplFileVersion}{\ExplFileDescription}
- % \begin{syntax}
- % \OPT{degree} = \Arg{中文学位名}
- % \OPT{degree*} = \Arg{英文学位名}
- % \end{syntax}
- % 研究生国家图书馆封面英文封面上的学位名称。默认会由模板通过 \opt{degree}
- % 和 \opt{type} 文档类选项生成,也可以由本选项自定义名称。
- % \end{function}
-\ctex_at_end_preamble:n
- {
- \__nju_date:n { submit }
- }
\__nju_declare_element:nn { u / cover / emblem-img }
{
content = \__nju_emblem:N \c__nju_emblemwd_dim,
@@ -59,7 +48,7 @@
\__nju_declare_element:nn { u / cover / info }
{
content = \__nju_u_cover_info:,
- format = \zihao { 3 } \kaishu
+ format = \zihao { 3 }
}
\cs_new_protected:Npn \__nju_u_cover_info:NNNN #1#2#3#4
{
@@ -74,10 +63,10 @@
{ \__nju_cover_entry_supv:NNNn #1 \l__nju_tmpb_dim #4 { supvii } }
\__nju_cover_entry:NNNn #1 #2 #4 { submitdate }
}
-\cs_new_protected:Npn \__nju_u_cover_info:
+\cs_new:Npn \__nju_u_cover_info:
{
\__nju_u_cover_info:NNNN \c__nju_clabelwd_dim \c__nju_crulewd_dim
- \c__nju_hsep_dim \c_empty_tl
+ \c__nju_hsep_dim \kaishu
}
\__nju_declare_element:nn { u / decl / orig / emblem }
{
@@ -267,17 +256,17 @@
{ pagestyle } { plain },
{ abslabel } { \bfseries },
{ abslabel_en } { },
- { cover title } { },
+ { cover title } { \bfseries },
{ cover label } { \kaishu },
{ emblem color } { black },
{ name color } { black },
{ section } { \bigger \normalfont \sffamily },
{ chapter } { \c__nju_fmt_section_tl \centering },
- { chapterintoc } { \c__nju_fmt_section_tl },
{ subsection } { \c__nju_fmt_section_tl },
{ subsubsection } { \c__nju_fmt_section_tl },
{ paragraph } { \c__nju_fmt_section_tl },
{ subparagraph } { \c__nju_fmt_section_tl },
+ { chapterintoc } { \c__nju_fmt_section_tl },
{ toc title } { \centering \zihao { 3 } \bfseries },
{ header } { \small \kaishu },
{ footer } { \small \rmfamily }