Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

将脚注的范围从1-10拓展为1-20 #87

Merged
merged 1 commit into from
Jan 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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}}
Loading