Skip to content

Commit

Permalink
pkuthss.cls: fix scrextend, better footnotes (thank @CastleStar14654).
Browse files Browse the repository at this point in the history
  • Loading branch information
CasperVector committed Jul 3, 2022
1 parent b80742e commit 249b6ee
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions tex/pkuthss.cls
Original file line number Diff line number Diff line change
Expand Up @@ -132,9 +132,9 @@
% Circled text, cf. <https://tex.stackexchange.com/questions/7032/>.
\RequirePackage{tikz}
\newcommand*{\thss@int@circled}[1]{%
\scalebox{0.8}{\tikz[baseline = (char.base)]{
\scalebox{0.8}{\tikz[baseline = {([yshift = -0.1\ccwd] char.base)}]{
\node[
shape = circle, draw = black, minimum size = 1.25em, inner sep = 0pt
shape = circle, draw = black, minimum size = 1.25\ccwd, inner sep = 0pt
] (char) {#1};
}}%
}
Expand All @@ -143,8 +143,7 @@
\renewcommand*{\thefootnote}%
{\protect\thss@int@circled{\arabic{footnote}}}
% Provides utility to modify footnote spacing.
% Option used to make sure it does not render interleaf pages totally blank.
\RequirePackage[cleardoublepage = current]{scrextend}
\RequirePackage{scrextend}
% Set up footnote spacing: whole paragraph indent 2 ccwd, 0.5 ccwd after mark.
\deffootnote{2\ccwd}{0pt}{\thefootnotemark\hspace{0.5\ccwd}}
\fi
Expand Down

0 comments on commit 249b6ee

Please sign in to comment.