Introduction
Here we collect different solutions to enumerate footnotes with circled numbers both in texts and footnotes for which advantages and disadvantages are specified.
In fact, it’s Chinese who usually enumerate the footnotes with circled numbers, and in Chinese, every circled number has the width of 1em as the same as every Chinese character. Anyway, any solution is welcome.
A MWE is as follows.
\documentclass{article}
\begin{document}
\par Now we test the footnote numbers with two digits\footnote{Test}.
Now we test the footnote numbers with two digits\footnote{Test}.
Now we test the footnote numbers with two digits\footnote{Test}.
Now we test the footnote numbers with two digits\footnote{Test}.
Now we test the footnote numbers with two digits\footnote{Test}.
Now we test the footnote numbers with two digits\footnote{Test}.
Now we test the footnote numbers with two digits\footnote{Test}.
Now we test the footnote numbers with two digits\footnote{Test}.
Now we test the footnote numbers with two digits\footnote{Test}.
Now we test the footnote numbers with two digits\footnote{Test}.
Now we test the footnote numbers with two digits\footnote{Test}.
Now we test the footnote numbers with two digits\footnote{Test}.
Now we test the footnote numbers with two digits\footnote{Test}.
Now we test the footnote numbers with two digits\footnote{Test}.
Now we test the footnote numbers with two digits\footnote{Test}.
Now we test the footnote numbers with two digits\footnote{Test}.
Now we test the footnote numbers with two digits\footnote{Test}.
Now we test the footnote numbers with two digits\footnote{Test}.
Now we test the footnote numbers with two digits\footnote{Test}.
Now we test the footnote numbers with two digits\footnote{Test}.
Now we test the footnote numbers with two digits\footnote{Test}.
Now we test the footnote numbers with two digits\footnote{Test}.
Now we test the footnote numbers with two digits\footnote{Test}.
\end{document}
Summary
So far as now we have five solutions as follows which have their own advantages and disadvantages.
Best Answer
Update:
After discussion with OP, I have an updated solution, still using
TikZ
.Add this to the preamble:
The command
\circled
usesscalerel
to produce a circled number the same height as a capital letterX
, which adjusts if theX
changes in size (e.g., titles, superscripts,\large
).The global constant
\fnrad
(currently set to.16
) can be adjusted to create more space around the number without changing the size of the circle. Larger value produces more space. That spacing can also be adjusted with an optional argument in case the footnote appears in special positions like a title:Advantages:
Disadvantages:
Old Solution:
Add this to the preamble:
Advantages: Easy. Doesn't affect line spacing in text or in footnotes. Uses original font.
Disadvantages: Uses
TikZ
(is that a disadvantage?). Might have to adjustrounded corners
for different font. Ovals for 2-digit numbers.Remarks
scrextend
package is used to enable other packages to use components of KOMA-Script.smash
command can be read here: What does \smash do, and where is it documented?.