Wuhan University Experimental Report Template
Auteur
Nagico
Last Updated
il y a 2 ans
License
Creative Commons CC BY 4.0
Résumé
武汉大学计算机学院实验报告LaTeX模板 https://github.com/Nagico/WHUExperiment
% !Mode:: "TeX:UTF-8"
%% 请使用 XeLaTeX 编译本文.
\documentclass[forprint, AutoFakeBold, AutoFakeSlant ]{WHUExperiment}
%---------------------这里添加所需的命令--------------------------------
\lstdefinelanguage{json}{ % 定义json代码高亮
morestring=[d]",
stringstyle=\color{red!50!brown},
showstringspaces=false,
literate=
*{0}{{{\color{Gray}0}}}{1}
{1}{{{\color{Gray}1}}}{1}
{2}{{{\color{Gray}2}}}{1}
{3}{{{\color{Gray}3}}}{1}
{4}{{{\color{Gray}4}}}{1}
{5}{{{\color{Gray}5}}}{1}
{6}{{{\color{Gray}6}}}{1}
{7}{{{\color{Gray}7}}}{1}
{8}{{{\color{Gray}8}}}{1}
{9}{{{\color{Gray}9}}}{1}
{:}{{{\color{Purple}{:}}}}{1}
{,}{{{\color{Purple}{,}}}}{1}
{\{}{{{\color{BlueGreen}{\{}}}}{1}
{\}}{{{\color{BlueGreen}{\}}}}}{1}
{[}{{{\color{BlueGreen}{[}}}}{1}
{]}{{{\color{BlueGreen}{]}}}}{1},
}
%--------------------------------------------------------------------------
\makeatletter
\def\BState{\State\hskip-\ALG@thistlm}
\makeatother
\begin{document}
%-----------------------------------------------------------------------------
%%%%%%% 下面的内容, 据实填空.
\Ccoursename{XXX课程} %课程名称
\title{ ~\LaTeX~ 模板及使用教程\\Introduction of ~\LaTeX~ Template} %实验名称 换行请使用\\
\author{} % 学生姓名
\Csupervisor{XXXX \quad 教授} %指导教师一姓名、职称
% 默认不显示指导教师二,需要时可在WHUExperiment.cls 80+行处将"关闭第二指导教师显示"下一行的注释解除
\CsupervisorAnother{无} %指导教师二姓名、职称
\CstudentNum{XXXX} %学号
\Cmajor{XXXX} % 专业名称
\date{二〇二二年七月} % 日期
%-----------------------------------------------------------------------------
\pdfbookmark[0]{封面}{title} % 封面页加到 pdf 书签
\maketitle
\frontmatter
\pagenumbering{Roman} % 正文之前的页码用大写罗马字母编号.2019.6.16:更新 正文之前的页码隐藏,无需显示
%-----------------------------------------------------------------------------
\include{pages/frontmatter} % 加入摘要, 申明.
%==========================把目录加入到书签==============================%%%%%%
\tableofcontents
\thispagestyle{empty} %不显示罗马数字 ——zmx更新于2019.06.18
\addtocontents{toc}{\protect\thispagestyle{empty}}
\mainmatter %% 以下是正文
%%%%%%%%%%%%%%%%%%%%%%%%%%%--------main matter-------%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\pagestyle{plain}%plain
%\cfoot{\thepage{\zihao{5}\bf\usefonttimes}}
%\renewcommand{\baselinestretch}{1.6}
%\setlength{\baselineskip}{23pt}
\baselineskip=23pt % 正文行距为 23 磅
%此处书写正文-------------------------------------------------------------------------------------
\include{pages/chapter1.tex}
\include{pages/chapter2.tex}
\include{pages/chapter3.tex}
\include{pages/chapter4.tex}
\include{pages/chapter5.tex}
\include{pages/chapter6.tex}
\include{pages/chapter7.tex}
%此处结束正文-------------------------------------------------------------------------------------------------
\include{pages/backmatter} %%%结论
%%%============================================================================================================%%%
%%%=== 参考文献 ========%%%
\cleardoublepage\phantomsection
\bibliographystyle{gbt7714-numerical} % 参考文献样式, plain,unsrt,alpha,abbrv,chinesebst 等等
\bibliography{ref/refs.bib}
%%%-------------- 附录. 不需要可以删除.-----------
\appendix
\include{pages/appendix1}
\include{pages/appendix2}
%%%-------------- 教师评语评分 ------------------
\begin{teacher}
\thispagestyle{empty}
评语:
\par
\vspace*{12.5cm}
\hspace*{7.5cm}评分:
\vspace*{1cm}
\hspace*{7.3cm}评阅人:
\vspace*{0.5cm}
\hspace*{10.1cm}年\hspace*{1cm}月\hspace*{1cm}日
\vspace*{0.5cm}
{\songti \zihao{4} \makebox[1cm][s]{(备注:对该实验报告给予优点和不足的评价,并给出百分制评分。)}}
\end{teacher}
\cleardoublepage
\end{document}