feat: basically finish cover

This commit is contained in:
2026-05-05 13:26:04 +08:00
parent 3cd0f78e50
commit 994a1e7a1e
4 changed files with 103 additions and 24 deletions

BIN
aust-report-banner.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

BIN
aust-thesis-banner.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

View File

@@ -10,15 +10,24 @@
%自定义一个keywords %自定义一个keywords
\newcommand{\keywords}[1]{\par\noindent\textbf{Keywords:} #1} \newcommand{\keywords}[1]{\par\noindent\textbf{Keywords:} #1}
\title{意大利面与45号混凝土的微观级复合拌合研究} \austreportsetup{
\author{构石 \and Alfredo \and Leonardo da Vinci} semester = {2025-2026学年第1学期},
\date{2026年4月} level = {研究生课程},
course = {拌面技术课程报告},
title = {意大利面与45号混凝土的微观级复合拌合研究},
school = {打灰学院},
major = {给排水专业},
sid = {1145141919},
name = {构·de·von·石},
lecturer = {张三},
date = {2026年04月01日}
}
\begin{document} \begin{document}
% region: 封面部分 % region: 封面部分
\maketitle \austreportcover
\clearpage \clearpage
\austnopagenum \austnopagenum

View File

@@ -78,26 +78,96 @@
%\newenvironment{abstract}{\clearpage \section*{\centering }}{\clearpage} %\newenvironment{abstract}{\clearpage \section*{\centering }}{\clearpage}
% region: % region:
\usepackage{xparse}
\usepackage{ulem}
\ExplSyntaxOn
%
\keys_define:nn { aust/report }
{
semester .tl_set:N = \l_aust_semester_tl,
semester .initial:n = {2025-2026~},
level .tl_set:N = \l_aust_level_tl,
level .initial:n = {},
course .tl_set:N = \l_aust_course_tl,
course .initial:n = {},
title .tl_set:N = \l_aust_title_tl,
title .initial:n = {},
school .tl_set:N = \l_aust_school_tl,
school .initial:n = {},
major .tl_set:N = \l_aust_major_tl,
major .initial:n = {},
sid .tl_set:N = \l_aust_sid_tl,
sid .initial:n = {1945000000},
name .tl_set:N = \l_aust_name_tl,
name .initial:n = {},
lecturer .tl_set:N = \l_aust_lecturer_tl,
lecturer .initial:n = {},
date .tl_set:N = \l_aust_date_tl,
date .initial:n = {19450101},
}
% ()
\cs_new_protected:Npn \aust_report_cover_internal:
{
\begin{titlepage}
\austnopagenum
\centering
\renewcommand{\arraystretch}{1.6}
\begin{figure}[htbp]
\centering
\includegraphics{aust-report-banner.jpg}
\end{figure}
\vspace{0.4cm}
{\heiti \zihao{2} \textbf{\tl_use:N \l_aust_semester_tl} \par }
\vspace{0.4cm}
{\heiti \zihao{2} \textbf{\tl_use:N \l_aust_level_tl} \par }
\vspace{0.4cm}
{\songti \zihao{1} \textbf{\tl_use:N \l_aust_course_tl} \par }
\vfill
{
\kaishu{} \zihao{3}
\begin{tabular}{r@{\quad}p{11.5em}}
\hspace{2em} & \tl_use:N \l_aust_title_tl \\
\cline{2-2}
\hspace{2em} & \tl_use:N \l_aust_school_tl \\
\cline{2-2}
\hspace{2em} & \tl_use:N \l_aust_major_tl \\
\cline{2-2}
\hspace{2em} & \tl_use:N \l_aust_sid_tl \\
\cline{2-2}
\hspace{2em} & \tl_use:N \l_aust_name_tl \\
\cline{2-2}
& \tl_use:N \l_aust_lecturer_tl \\
\cline{2-2}
\end{tabular}
}
\vfill
{\kaishu \zihao{3} \tl_use:N \l_aust_date_tl \par }
\vspace{2cm}
\end{titlepage}
}
%
\NewDocumentCommand \austreportsetup { m }
{ \keys_set:nn { aust/report } { #1 } }
% (xparse )
% AUST % AUST
\newcommand{\austreportcover}{% \NewDocumentCommand \austreportcover { O{} }
\begin{titlepage} % titlepage {
\centering \group_begin:
{\LARGE \@title \par} \keys_set:nn { aust/report } { #1 }
{\large \@author \par} \aust_report_cover_internal:
{\large \@date \par} \group_end:
\end{titlepage} }
\thispagestyle{empty} % <---
\setcounter{page}{1} % 1
}
% AUST % AUST
\newcommand{\austthesiscover}{%
\begin{titlepage} % titlepage
\centering \ExplSyntaxOff
{\LARGE \@title \par}
{\large \@author \par}
{\large \@date \par}
\end{titlepage}
\thispagestyle{empty} % <---
\setcounter{page}{1} % 1
}
% endregion % endregion