將註腳變成參考書目部分

將註腳變成參考書目部分

我已經用 50 個\{footnote}元素編寫了我的文件。我現在意識到我需要在文件末尾生成一個參考書目頁面。有沒有辦法讓 LaTeX 將這些腳註變成參考書目部分?我是否需要將它們全部更改為\autocite{}元素,然後包含類似這樣的內容

\printbibliography[heading=bibempty] % if you want a bibiography at the end as well
\end{document}

根據這個問題

答案1

您可以將所有腳註轉換為尾註,然後將其稱為“參考文獻”:

在此輸入影像描述

\documentclass{article}
\usepackage{endnotes,lipsum}
\let\footnote\endnote
\renewcommand{\notesname}{References}
\begin{document}
\lipsum[1-6]\footnote{\lipsum[4][1-3]}
\lipsum[7-14]\footnote{\lipsum[5][1-3]}
\lipsum[15-17]\footnote{\lipsum[6][1-3]}
{\parindent 0pt\parskip 2ex
\def\enotesize{\normalsize}
\theendnotes}
\end{document}

但對於正確的格式,最好是製作一個 .bib 文件,並透過引用命令手動替換腳註,並以標準方式使用 bibtex 或 biblatex。

相關內容