summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/hfutexam
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2023-11-13 20:33:24 +0000
committerKarl Berry <karl@freefriends.org>2023-11-13 20:33:24 +0000
commit184f9baab9494760f1659a77ba8639f6bf55e04a (patch)
tree59a4e6e094701b6dc12ae2404c672d06751d7cd3 /Master/texmf-dist/tex/latex/hfutexam
parentf13a2a2000108a49d3ffce3e263df49027385ee3 (diff)
hfutexam (13nov23)
git-svn-id: svn://tug.org/texlive/trunk@68829 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/hfutexam')
-rw-r--r--Master/texmf-dist/tex/latex/hfutexam/hfutexam.cls6
1 files changed, 4 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/latex/hfutexam/hfutexam.cls b/Master/texmf-dist/tex/latex/hfutexam/hfutexam.cls
index 1d47cffcb7c..aa73ae8202d 100644
--- a/Master/texmf-dist/tex/latex/hfutexam/hfutexam.cls
+++ b/Master/texmf-dist/tex/latex/hfutexam/hfutexam.cls
@@ -7,7 +7,7 @@
% 编译模式: XeLaTeX
% 你可以任意修改或再次分发该文件
\NeedsTeXFormat{LaTeX2e}
-\ProvidesClass{hfutexam}[2023/03/22 v1.8 HFUTExam document class by Zhang Shenxing]
+\ProvidesClass{hfutexam}[2023/11/13 v1.9 HFUTExam document class by Zhang Shenxing]
% 文档选项
\newif\ifhfut@ShiJuan\hfut@ShiJuantrue
\newif\ifhfut@DaTiZhi\hfut@DaTiZhifalse
@@ -165,11 +165,13 @@
}
\fi
\ifhfut@Simple % 简单模式页眉页脚
+ % \titleformat*{\section}{\bfseries\LARGE\hfutFontTitle}
\RequirePackage{hyperref}
\renewcommand\headrulewidth{0pt}
\renewcommand\footrulewidth{0pt}
\renewcommand{\maketitle}{%
- \addcontentsline{toc}{section}{\hfut@BiaoTi}
+ \phantomsection
+ \addcontentsline{toc}{section}{\hfut@BiaoTi}
\begin{center}\bfseries
\makebox[\linewidth][s]{\LARGE\hfutFontTitle~\hfut@BiaoTi~}