% pages/appendix.tex
\chapter{数据}
\section{第一个测试}
测试公式编号
\begin{equation}
1+1=2.
\end{equation}
\begin{equation}
1+1=2.
\end{equation}
表格编号测试
\begin{table}[h]
\centering
\caption{测试表格}
\begin{tabular}{*{5}c}
\hline
11 & 13 & 13 & 13 & 13 \\
12 & 14 & 13 & 13 & 13 \\
\hline
\end{tabular}
\end{table}
测试算法如所示算法 \ref{alg:alg1}
\begin{algorithm}
\SetAlgoLined
\KwData{this text}
\KwResult{how to write algorithm with \LaTeXe}
initialization\;
\While{not at end of this document}{
read current\;
\eIf{understand}{
go to next section\;
current section becomes this one\;
}{
go back to the beginning of current section\;
}
}
\caption{如何写算法}\label{alg:alg1}
\end{algorithm}
检查
编译环境
操作系统
TeX 发行版
whu-thesis 版本 v0.6e
描述问题
请在此处描述清楚您所遇到的问题:
appendix.tex
中添加算法,算法序号是按数字编号,与图表公式的序号格式不同。whu-thesis.cls
文件,但由于对模板语法了解甚少,没能成功。最小工作示例(MWE)
链接
我还做了这些尝试
附件
附录部分渲染结果如下,期望的算法序号应该是 算法 A.1 :![F7TRM)$TX`%K$HWDW3N5UZ3](https://user-images.githubusercontent.com/68687848/230765046-dc8f9226-0858-4096-a799-3c0189a0171f.png)