Last active
August 29, 2020 01:16
-
-
Save soypat/c3b29c29ba6465e734eeb6ad2898c8e9 to your computer and use it in GitHub Desktop.
Symbol footnotes for LaTeX with no counter limit.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% Requires amsymb and amsmath | |
\usepackage{amsymb} | |
\makeatletter | |
\newcommand*{\myfnsymbolsingle}[1]{% | |
\ensuremath{% | |
\ifcase#1% 0 | |
\or % 1 | |
*% | |
\or % 2 | |
\dagger | |
\or % 3 | |
\ddagger | |
\or % 4 | |
\mathsection | |
\or % 5 | |
\mathparagraph | |
\or | |
\diamond | |
\or | |
\aleph | |
\or | |
\backepsilon | |
\or | |
\flat | |
\else % >= 7 | |
\@ctrerr | |
\fi | |
}% | |
} | |
\makeatother | |
\newcommand*{\myfnsymbol}[1]{% | |
\myfnsymbolsingle{\value{#1}}% | |
} | |
% remove upper boundary by multiplying the symbols if needed | |
\usepackage{alphalph} | |
\newalphalph{\myfnsymbolmult}[mult]{\myfnsymbolsingle}{} | |
\renewcommand*{\thefootnote}{% | |
\myfnsymbolmult{\value{footnote}}% | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment