From 1e299ef6469fa584dbe38831a72a2a6cbb73595c Mon Sep 17 00:00:00 2001 From: 1FCENdoge <86185801+1FCENdoge@users.noreply.github.com> Date: Sun, 31 Dec 2023 12:24:14 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=86=E8=84=9A=E6=B3=A8=E7=9A=84=E8=8C=83?= =?UTF-8?q?=E5=9B=B4=E4=BB=8E1-10=E6=8B=93=E5=B1=95=E4=B8=BA1-20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 2 +- sysuthesis.cls | 18 ++++++++++-------- 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/.gitignore b/.gitignore index bb4036f..1e3adf8 100644 --- a/.gitignore +++ b/.gitignore @@ -314,7 +314,7 @@ old *.lot *.out *.toc -main2.pdf +main.pdf missfont.log svn-commit.tmp sysuthesis.tar.gz diff --git a/sysuthesis.cls b/sysuthesis.cls index 61ed1eb..f529332 100644 --- a/sysuthesis.cls +++ b/sysuthesis.cls @@ -112,8 +112,8 @@ \renewcommand{\headrulewidth}{1pt} \renewcommand{\footrulewidth}{0pt} \renewcommand{\chaptermark}[1]{ \markboth{#1}{} } -% 采用带圈数字符号代替*号脚注 -\xeCJKsetcharclass{`①}{`⑩}{1} +% 采用带圈数字1-20符号代替*号脚注 +\xeCJKsetcharclass{"2460}{"2473}{1} % 默认页面页眉页脚样式 \fancypagestyle{plain}{ \fancyhf{} @@ -1114,10 +1114,12 @@ % 暂时不能处理引理,推论 -\renewcommand{\@fnsymbol}[1]{ - \ifcase#1\or \text{①}\or \text{②}\or \text{③}\or \text{④}\or \text{⑤}\or \text{⑥}\or \text{⑦}\or \text{⑧} \or \text{⑨} \or \text{⑩} - \else - \@ctrerr - \fi +% 脚注标号拓展为1-20,超出标号会出现错误 +\newcommand\sysu@textcircled[1]{% + \ifnum\value{#1}<21\relax + {\symbol{\numexpr\value{#1} + "245F\relax}}% + \else + \@ctrerr % Cannot display more than 20 footnotes + \fi } -\renewcommand{\thefootnote}{\fnsymbol{footnote}} +\renewcommand{\thefootnote}{\sysu@textcircled{footnote}}