fix: NanoTechnologyExperiment

这个提交包含在:
2026-05-30 21:02:09 +08:00
父节点 acf44da50b
当前提交 abe1fc9c91
共有 7 个文件被更改,包括 81 次插入 和 105 次删除

查看文件

@ -13,54 +13,23 @@
\newcommand{\makekeywords}{%
\makeatletter
\par\noindent
{\heiti\sihao 关键词:}%
\songti\sihao\space
\muckeywords
{\songti\fontsize{10pt}{\baselineskip}\textbf{关键字:}}%
{\songti\fontsize{10pt}{\baselineskip}\space \muckeywords}
\makeatother
}
\newcommand{\englishkeywords}[1]{%
\makeatletter
\def\mucenglishkeywords{#1}%
\makeatother
}
% 关键词生成
\newcommand{\makeenglishkeywords}{%
\makeatletter
\par\noindent
{\textbf{Key Words: }}%
\space
\mucenglishkeywords
\makeatother
}
\newenvironment{textarea}[1]{
\phantomsection % 创建超链接锚点
\addcontentsline{toc}{section}{#1}
\begin{center}
\textbf{\heiti\sanhao {#1}}
\end{center}
\par{}
\obeylines{}
\ignorespaces{}
\songti\sihao
}{
\par{}
}
% 摘要环境
\newsavebox{\abstractbox}
\newenvironment{MUCAbstract}{%
\begin{textarea}{摘要}
\begin{lrbox}{\abstractbox}
\minipage{\linewidth} % 保证盒子宽度正常
\songti\fontsize{10pt}{12pt}\selectfont
}{%
\makekeywords
\end{textarea}
}
% 摘要环境
\newenvironment{MUCENAbstract}{%
\begin{textarea}{Abstract}
}{%
\makeenglishkeywords{}
\end{textarea}
\endminipage
\end{lrbox}
\phantomsection
\addcontentsline{toc}{section}{摘要}%
\noindent
\songti\fontsize{10pt}{12pt}\selectfont
\textbf{摘要:}\usebox{\abstractbox}%
\par
}

查看文件

@ -3,18 +3,14 @@
\makeatother
\newcommand{\doctitle}[1]{%
\makeatletter
\def\mucdoctitle{#1}%
\makeatother
\def\mucdoctitle{#1}% 不需要 \makeatletter,因为没用到 @
}
\newcommand{\makedoctitle}{%
\makeatletter
{\fontsize{18pt}{20pt} \selectfont \heiti{} \mucdoctitle }\\
\makeatother
\color{white}\songti\zihao{3}%
\mucdoctitle
}
\makeatletter
\def\mucdocsubtitle{}
\makeatother
@ -64,27 +60,41 @@
}
\makeatletter
\def\varmucprojectmembers{}
\def\varmucauthor{}
\makeatother
\newcommand{\mucprojectmembers}[1]{%
\newcommand{\mucauthor}[1]{%
\makeatletter
\def\varmucprojectmembers{#1}%
\def\varmucauthor{#1}%
\makeatother
}
\makeatletter
\def\varmucprojectunit{}
\def\varmucstudentid{}
\makeatother
\newcommand{\mucprojectunit}[1]{%
\newcommand{\mucstudentid}[1]{%
\makeatletter
\def\varmucprojectunit{#1}%
\def\varmucstudentid{#1}%
\makeatother
}
\newcommand{\mucprojectdate}[1]{%
\makeatletter
\def\varmucclass{}
\makeatother
\newcommand{\mucclass}[1]{%
\makeatletter
\def\varmucprojectdate{#1}%
\def\varmucclass{#1}%
\makeatother
}
\newcommand{\makeauthorinfo}{%
{%
\begin{center}
\par\noindent
\songti\fontsize{16pt}{20pt}\selectfont
\varmucauthor{},\varmucclass{},\varmucstudentid{}%
\end{center}
}%
}

查看文件

@ -8,7 +8,7 @@
\setlength{\headheight}{14.5pt} % 建议值=基础值+2pt缓冲
\setlength{\headsep}{15pt} % 页眉与正文间距
\fancyhf{}
\fancyhead[C]{\songti\zihao{5}中央民族大学大学生创新训练计划结题论文}
\fancyhead[C]{\songti\zihao{5}中央民族大学课程实验报告}
\renewcommand{\headrulewidth}{1pt} % 页眉线粗细
\fancyfoot[C]{\thepage}
}

查看文件

@ -1,10 +1,6 @@
\doctitle{论文标题}
\doctitle{《材料科学基础实验-硬度》实验报告}
\docsubtitle{副标题}
\keywords{结题论文;模板;教务处;服务}
\englishkeywords{Eassy; Template}
\mucprojectid{项目编号甲乙丙丁戊己庚辛}
\mucprojecttype{青苗计划}
\mucprojectteacher{指导教师}
\mucprojectmembers{甲同学、乙同学、丙同学}
\mucprojectunit{理学院}
\mucprojectdate{2026年1月1日}
\mucauthor{岚椿铧}
\mucstudentid{24012345}
\mucclass{24纳米2班}

查看文件

@ -1,10 +1,3 @@
\begin{MUCAbstract}
这里是摘要。这里是摘要。这里是摘要。这里是摘要。这里是摘要。这里是摘要。这里是摘要。这里是摘要。这里是摘要。这里是摘要。这里是摘要。这里是摘要。这里是摘要。这里是摘要。这里是摘要。这里是摘要。这里是摘要。这里是摘要。这里是摘要。这里是摘要。这里是摘要。这里是摘要。这里是摘要。这里是摘要。这里是摘要。这里是摘要。这里是摘要。这里是摘要。这里是摘要。这里是摘要。这里是摘要。这里是摘要。这里是摘要。这里是摘要。这里是摘要。这里是摘要。这里是摘要。这里是摘要。这里是摘要。这里是摘要。这里是摘要。这里是摘要。
这里是摘要。这里是摘要。这里是摘要。这里是摘要。这里是摘要。这里是摘要。这里是摘要。这里是摘要。这里是摘要。这里是摘要。这里是摘要。这里是摘要。这里是摘要。这里是摘要。这里是摘要。这里是摘要。这里是摘要。这里是摘要。这里是摘要。这里是摘要。这里是摘要。这里是摘要。这里是摘要。这里是摘要。这里是摘要。这里是摘要。这里是摘要。这里是摘要。这里是摘要。这里是摘要。这里是摘要。这里是摘要。这里是摘要。这里是摘要。这里是摘要。这里是摘要。这里是摘要。这里是摘要。这里是摘要。这里是摘要。这里是摘要。这里是摘要。
\end{MUCAbstract}
\newpage{}
\begin{MUCENAbstract}
This is the English abstract.
\end{MUCENAbstract}
这里是摘要。
\end{MUCAbstract}

查看文件

@ -1,14 +0,0 @@
%% 附录与致谢
\begin{textarea}{附录}
附录主要列入正文内容过分冗长、或重复性的内容,或者提供查阅方便所需的辅助性表格、计算程序及说明等,如没有相关内容则本部分可以略去。以下是一个附录实例:
\end{textarea}
\newpage{}
\begin{textarea}{致谢}
此处可以将你在做项目的感受写上,特别是致谢,如:“感谢我的指导老师、我的父母、我的同学,以及所有帮助过我的人们,没有他们我是无法完成我的结题论文的,谢谢”。
\end{textarea}
\newpage{}
\phantomsection % 创建超链接锚点
\addcontentsline{toc}{section}{参考文献}
\printbibliography{}

查看文件

@ -10,7 +10,10 @@
\usepackage{enumitem}
\usepackage{indentfirst}
\usepackage{amsmath}
\usepackage{multicol}
\usepackage{url}
\usepackage{environ}
\usepackage[most]{tcolorbox}
\usepackage[hidelinks]{hyperref}
\usepackage[backend=biber, style=gb7714-2015]{biblatex}
@ -35,24 +38,43 @@
\input{config/configure.tex}
\definecolor{titleGary}{rgb}{0.61, 0.72, 0.78}
\begin{document}
% 封面和目录%
\makecover{}
\tableofcontents{}
% % 封面和目录%
% \makecover{}
% \tableofcontents{}
\newpage{}
% \newpage{}
% 摘要%
\input{content/abstract.tex}
\newpage{}
% \input{content/abstract.tex}
% #9CB8C7
% 文章主题%
\par{} \indent{}
\begin{figure}
\flushright
\includegraphics[width=3cm]{assets/MUC.jpg}
\end{figure}
% \par{} \indent{}
\obeylines{}
\ignorespaces{}
\input{content/body.tex}
\par{}
\begin{tcolorbox}[colback=titleGary, colframe=titleGary, sharp corners]
\centering
\color{white}\songti\zihao{3}
\mucdoctitle{}
\end{tcolorbox}
\newpage{}
% 附录、感谢和参考文献%
\input{content/attach.tex}
\makeauthorinfo{}
\makekeywords{}
\input{content/abstract.tex}
\begin{multicols}{2}
\input{content/body.tex}
\phantomsection % 创建超链接锚点
\addcontentsline{toc}{section}{参考文献}
\printbibliography{}
\end{multicols}
\end{document}