![Varias notas a pie de página en ecuaciones en stackrel/overset con hiperref](https://rvso.com/image/281464/Varias%20notas%20a%20pie%20de%20p%C3%A1gina%20en%20ecuaciones%20en%20stackrel%2Foverset%20con%20hiperref.png)
Estoy intentando colocar más de una nota a pie de página sobre el signo de igualdad en el entorno align*. Con una huella, es fácil:
\begin{align*}
x\overset{\footnotemark}{=}y
\end{align*}
\footnotetext{Comment1}
Está bien. Entonces, pensé que cuando agregue más notas a pie de página, Latex me entenderá automáticamente:
\begin{align*}
x\overset{\footnotemark}{=}y\overset{\footnotemark}{=}z
\end{align*}
\footnotetext{Comment1}
\footnotetext{Comment2}
Pero no fue así, por supuesto. Después de un tiempo lo modifiqué:
\begin{align*}
x\overset{\footnotemark[1]}{=}y\overset{\footnotemark[2]}{=}z
\end{align*}
\footnotetext[1]{Comment1}
\footnotetext[2]{Comment2}
¡Y funcionó! Más o menos... En primer lugar, estoy usando hiperreferencia y estas notas a pie de página no están vinculadas. En segundo lugar, cuando intento crear una nueva nota al pie:
\begin{align*}
x\overset{\footnotemark[1]}{=}y\overset{\footnotemark[2]}{=}z
\end{align*}
\footnotetext[1]{Comment1}
\footnotetext[2]{Comment2}
And now for something completely different\footnote{Python, M.}.
arruinó la numeración.
Además, al insertar notas a pie de página manualmente no se imprimen:
\begin{align*}
x\overset{\footnote{Comment1}}{=}y\overset{\footnote{Comment2}}{=}z
\end{align*}
(los enlaces lo son, pero no hay notas a pie de página).
¿Hay alguna manera clara de hacer lo que quiero?
Respuesta1
Si los enlaces de hiperreferencia no son necesarios, este uso stackengine
será suficiente:
\documentclass{article}
\usepackage{stackengine}
\usepackage{hyperref}
\textheight 1.5in
\stackMath
\begin{document}
\[
y \stackon[1.5pt]{=}{\setstackgap{S}{0.5pt}%
\Shortstack{\footnotemark[1] \footnotemark[2] \footnotemark[3]}} x
\footnotetext[1]{Comment 1}
\footnotetext[2]{Comment 2}
\footnotetext[3]{Comment 3}
\]
\end{document}
En cuanto a un enlace de hiperreferencia, puedo compilar el siguiente código:
\documentclass{article}
\usepackage[usestackEOL]{stackengine}
\usepackage{hyperref}
\textheight 1.5in
\stackMath
\begin{document}
\[
y \stackon[1.5pt]{=}{\Shortstack{\footnote{Comment 1}\\\footnote{Comment 2}}} x
\]
\end{document}
y aunque los hipervínculos aparecen encima del signo igual, están mal numerados y no apuntan a ningún texto significativo en la parte inferior de la página.