![Alterando quebras de símbolos de notas de rodapé \ref](https://rvso.com/image/370285/Alterando%20quebras%20de%20s%C3%ADmbolos%20de%20notas%20de%20rodap%C3%A9%20%5Cref.png)
Estou usando o XeLaTex e a classe Memoir. Eu redefini os símbolos das notas de rodapé assim:
\renewcommand{\thefootnote}{{\ding{\numexpr171+\value{footnote}}}}
No entanto, isso quebra o número \ref quando coloco um rótulo em uma nota de rodapé. Veja o MWE abaixo. Deveria dizer "Ver nota de rodapé 1 da página 1" em vez de "Ver nota de rodapé 2 da página 1". Também estou usando o pacote e a opção perpage, mas o erro ocorre com ou sem ele.
Qual é a maneira correta de fazer isso? Qualquer ajuda é apreciada.
\documentclass[11pt]{memoir}
\usepackage{pifont} %Need circled numbers for Chinese style footnote
\usepackage{perpage} %Renumber footnote on each new page
\usepackage{layouts} %To check page layout
%%% Book Layout %%%
\setstocksize{5in}{4in}
\settrimmedsize{5in}{4in}{*}
\setlength{\trimtop}{0pt}
\setlength{\trimedge}{\stockwidth}
\addtolength{\trimedge}{-\paperwidth}
\settypeblocksize{3in}{3in}{*}
\setulmargins{1in}{*}{*}
\setlrmargins{0.5in}{*}{*}
\setmarginnotes{0pt}{0pt}{0pt}
\checkandfixthelayout
%%% Footnote rule %%%
\MakePerPage{footnote}
\renewcommand{\thefootnote}{{\ding{\numexpr171+\value{footnote}}}}
\begin{document}
This is the first line\footnote{This is the first footnote.\label{ftn:first}}.
This is the second line\footnote{See page \pageref{ftn:first} footnote \ref{ftn:first}.}.
\end{document}
Responder1
\makeatletter
\newcommand{\@fnding}[1]{\ding{\number\numexpr#1+171\relax}}
\newcommand{\fnding}[1]{\expandafter\@fnding\csname c@#1\endcsname}
\makeatother
\renewcommand{\thefootnote}{\fnding{footnote}}