1

I need to refer multiple times in the text to the same footnote with hyperref support. This can be achieved using the cleveref package, as explained in this answer. My problem is that I would also like to use symbols instead of numbers as footnote markers. I tried to follow the suggestions given in the first two answers to this this question, but the code did not compile.

Here is a minimal working example. I would like to use an asterisk in place of the number 1. Can anybody help me, please?

\documentclass[12pt]{article}
\usepackage{hyperref}
\usepackage{cleveref}
\crefformat{footnote}{#2\footnotemark[#1]#3}

\begin{document}    
Here I have a footnote\footnote{\label{first}Footnote text.}.

Here I have the same footnote\cref{first}.  
\end{document}

enter image description here

1
1

You can do it all with footmisc, no need for cleveref:

\documentclass[12pt]{amsart}

\usepackage[symbol*]{footmisc}
\usepackage[hidelinks]{hyperref}

\begin{document}    
Here I have a footnote\footnote{\label{first}Footnote text.}.

Here I have the same footnote\footref{first}.  
\end{document}

enter image description here

2
  • Thanks for the suggestion. I would like the size of the reference boxes to be consistent. – MK7 Sep 7 '20 at 12:24
  • 1
    The size of boxes is calculated by hyperref, instead of messing with that, I'd rather disable them alltogether (e.g. with hidelinks). – DG' Sep 7 '20 at 12:34
0

footnotemark expects a number in the optional argument. You could use simply \textsuperscript:

\documentclass[a4paper,12pt]{amsart}
\usepackage{hyperref}
\usepackage{cleveref}
\crefformat{footnote}{#2\textsuperscript{\normalfont #1}#3}
\renewcommand*{\thefootnote}{\fnsymbol{footnote}}
\begin{document}
Here I have a footnote\footnote{\label{first}Footnote text.}.

Here I have the same footnote\cref{first}.
\end{document}
1
  • Thanks for the suggestion. The reference boxes seem to have different sizes. – MK7 Sep 7 '20 at 12:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.