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}
}