I like the change of the footnote appearances with the pifont
package
\usepackage{pifont}
\renewcommand\thefootnote{\ding{\numexpr171+\value{footnote}}}
but I have many footnotes [though never more than 20 a page] and after a while, I get the arrows 212, 213 and so on
which can be viewed below:
How do I make a loop to start again at 172 ?
Or better, how can I get numbers 11,12,13 circled instead of beginning from 1,2,3 each time ?
There is a fix here
http://valis.cs.illinois.edu/blog/?p=5809
but I get that my counters are too large…
Would it be simpler to use the libertine fonts since they seem to have more circled numbers:
Good way to make \textcircled numbers?
Also, I must add that I use the mathdesgin package so perhaps it is even easier to use its \figurecircled command as stated in the previous link ?
Best Answer
Counter representation command
With circled numbers of package
pifont
only twenty (or ten) values for the footnote counter can be used. Thus there should be a warning or error, if the footnote counter is out of this range.For this purpose, we define a counter representation command
\circnum
that behaves similar to\alph
:If the latest footnote is activated, it throws an error:
Reset counter for each page
If the footnote counter is not reset from time to time, it will likely run out of its allowed range. Then it might be helpful to reset the footnote counter for each page. There are several packages for this purpose:
Package
footmisc
with optionperpage
:Package
perpage
:Downside: The footnote is reset at the second LaTeX run, causing errors in the first run.
Package
zref-perpage
:The following example file uses the latest method:
The second page: