Skip to content

Commit

Permalink
将脚注的范围从1-10拓展为1-20
Browse files Browse the repository at this point in the history
  • Loading branch information
1FCENdoge committed Dec 31, 2023
1 parent 0887404 commit 1e299ef
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ old
*.lot
*.out
*.toc
main2.pdf
main.pdf
missfont.log
svn-commit.tmp
sysuthesis.tar.gz
Expand Down
18 changes: 10 additions & 8 deletions sysuthesis.cls
Original file line number Diff line number Diff line change
Expand Up @@ -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{}
Expand Down Expand Up @@ -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}}

0 comments on commit 1e299ef

Please sign in to comment.