1
0

feat: add cref support

This commit is contained in:
2026-06-13 20:29:44 +08:00
parent e5279034a0
commit 49224aecc5

View File

@@ -1,6 +1,6 @@
% %
\NeedsTeXFormat{LaTeX2e} \NeedsTeXFormat{LaTeX2e}
\ProvidesClass{austthesis}[2026/04/26 AUST Thesis Template] \ProvidesClass{aust-thesis}[2026/04/26 AUST Thesis Template]
% ctexart % ctexart
\LoadClass[a4paper]{ctexart} % ctexartA4 \LoadClass[a4paper]{ctexart} % ctexartA4
@@ -77,6 +77,14 @@
\renewcommand{\thefigure}{\arabic{figure}} \renewcommand{\thefigure}{\arabic{figure}}
\renewcommand{\thetable}{\arabic{table}} \renewcommand{\thetable}{\arabic{table}}
\RequirePackage{cleveref}
\crefname{table}{}{}
\Crefname{table}{}{}
\crefname{equation}{}{}
\Crefname{equation}{}{}
\crefname{figure}{}{}
\Crefname{figure}{}{}
% region: % region:
\newenvironment{austabstract}[1] \newenvironment{austabstract}[1]
{ {