我在编写 LaTeX 文档时遇到一个问题,其中有一个参考文献列表,每个参考文献都附有相应的脚注。然而,在编写文档后,我注意到脚注都出现在章节的最后一页,即列表的结尾,而不是与它们各自的参考文献在同一页上。
由于篇幅过长,该列表长达三页。尽管我试图确保脚注与参考文献出现在同一页上,但我没有成功。
有人能建议解决这个问题吗?谢谢!
\section{Websites Overview}
A list of the websites found with a short description is shown below.
\begin{description}
\item[\textbf{Website A\footnotemark[1]}:] \hfill \\
Website A description.
\item[\textbf{Website B\footnotemark[2]}:] \hfill \\
Website B description.
\item[\textbf{Website C\footnotemark[3]}:] \hfill \\
Website C description.
\item[\textbf{Website D\footnotemark[4]}:] \hfill \\
Website D description.
\item[\textbf{Website E\footnotemark[5]}:] \hfill \\
Website E description.
\end{description}
\footnotetext[1]{Available at \url{https://websitea.com}, visited on 02/15/2024}
\footnotetext[2]{Available at \url{https://websiteb.com}, visited on 02/15/2024}
\footnotetext[3]{Available at \url{https://websitec.com}, visited on 02/15/2024}
\footnotetext[4]{Available at \url{https://websited.com}, visited on 02/15/2024}
\footnotetext[5]{Available at \url{https://websitee.com}, visited on 02/15/2024}
答案1
将文本直接写入项目中。无需手动编号。
\documentclass{article}
\usepackage{hyperref}
\begin{document}
\section{Websites Overview}
A list of the websites found with a short description is shown below.
\begin{description}
\item[\textbf{Website A\footnotemark}:]
\leavevmode\footnotetext{Available at \url{https://websitea.com}, visited on 02/15/2024} \hfill \\
Website A description.
\item[\textbf{Website B\footnotemark}:]
\leavevmode\footnotetext{Available at \url{https://websiteb.com}, visited on 02/15/2024}
\hfill \\
Website B description.
\newpage % test new page ...
\item[\textbf{Website C\footnotemark}:]
\leavevmode\footnotetext{Available at \url{https://websitec.com}, visited on 02/15/2024} \hfill \\
Website C description.
\item[\textbf{Website D\footnotemark}:]
\leavevmode\footnotetext{Available at \url{https://websited.com}, visited on 02/15/2024} \hfill \\
Website D description.
\item[\textbf{Website E\footnotemark}:]
\leavevmode\footnotetext{Available at \url{https://websitee.com}, visited on 02/15/2024} \hfill \\
Website E description.
\end{description}
\end{document}