我希望腳註出現在枚舉環境的末尾,而不是頁面的底部。我將如何更改以下程式碼:
\documentclass{article}
\begin{document}
\begin{enumerate}
\item Item 1 \footnotemark[1]
\item Item 2 \footnotemark[1]
\item Item 3 \footnotemark[2]
\item Item 4
\footnotetext[1]{Complete}
\footnotetext[2]{Requires selection from existing algorithms}
\end{enumerate}
\end{document}
導致這樣的結果:
答案1
將其放入一個minipage
.當然,minipage
調用\footnotetext
將使用字母而不是與頁面腳註相關的數字,除非按照 Mico 的建議\renewcommand{\thempfootnote}{\arabic{mpfootnote}}
在minipage
.
但是,請注意,minipage
腳註不是全域索引腳註序列的一部分,但實際上每個腳註都重新開始編號minipage
。
編輯為使用實際的\footnote
s 而不僅僅是\footnotemark
和\footnotetext
。
\documentclass{article}
\usepackage{lipsum}
\begin{document}
\noindent\begin{minipage}{\textwidth}
\renewcommand{\thempfootnote}{\arabic{mpfootnote}}
\begin{enumerate}
\item Item 1 \footnote{Complete}
\item Item 2 \footnotemark[1]
\item Item 3 \footnote{Requires selection from existing algorithms}
\item Item 4
\end{enumerate}
\end{minipage}
\bigskip
\lipsum[1-2]
\end{document}
答案2
這增強了塞格萊斯 (Steven B.Segletes)在此回答郵政。
在小型頁面中使用枚舉給我帶來了很多問題,特別是對於子項目中包含大量文本的長列表。我發現僅將其移動\footnotetext
到小型頁面,而不是整個enumerate
環境來解決問題。
\documentclass{article}
\usepackage{lipsum}
\begin{document}
\renewcommand{\thempfootnote}{\arabic{mpfootnote}}
\begin{enumerate}
\item Item 1 \footnotemark[1]
\item Item 2 \footnotemark[1]
\item Item 3 \footnotemark[2]
\item Item 4
\end{enumerate}
\noindent\begin{minipage}{\textwidth}
\footnotetext[1]{Complete}
\footnotetext[2]{Requires selection from existing algorithms}
\end{minipage}
\bigskip
\lipsum[1-2]
\end{document}