余白に番号を記した脚注

余白に番号を記した脚注

脚注の番号を本文に埋め込むのではなく、余白に表示させるにはどうしたらいいでしょうか?試してみました

\marginpar{ \footnote{ blah } }

脚注番号は表示されますが、脚注テキストは表示されません。

例:

\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}

結果:

ここに画像の説明を入力してください

marginnoteの代わりに パッケージも試しました\marginparが、これも機能しませんでした。

答え1

\footnotemark次のように、コマンドのペアを使用できます\footnotetext

\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}

関連情報