
¿Cómo puedo hacer que el número de una nota al pie aparezca en el margen, en lugar de incrustarse en el texto principal? Lo intenté
\marginpar{ \footnote{ blah } }
y aparece el número de la nota al pie, pero no el texto de la nota al pie.
Ejemplo:
\documentclass{article}
\begin{document}
Here is a normal footnote.\footnote{My footnote text.}
Next we'll place a note in the margin.\marginpar{Margin note here.}
Can we put a footnote number in the margin,
with the footnote text at the bottom of the page?\marginpar{\footnote{I hope so!}}
\end{document}
Resultado:
También probé el marginnote
paquete en lugar de \marginpar
, pero tampoco funcionó.
Respuesta1
Puede utilizar el par de comandos \footnotemark
y \footnotetext
de la siguiente manera:
\documentclass{article}
\newcommand{\marginfootnote}[1]{\marginpar{\footnotemark}\footnotetext{#1}}
\begin{document}
Can we put a footnote number in the margin, with the footnote text at
the bottom of the page?\marginfootnote{I hope so!}
\end{document}