
為了在 LaTeX 中自訂腳註,我使用了該footmisc
套件。具體來說,為了刪除腳註中的縮排和文字對齊,我在序言中添加了以下內容:
\usepackage[hang, flushmargin, ragged]{footmisc}
我現在投稿的期刊需要endotes。為此,我使用該endnotes
包。但我找不到像footmisc
尾註這樣的包。我應該如何刪除尾註中的縮排和文字對齊?
答案1
您可以重新定義\enoteformat
:
\documentclass{article}
\usepackage{endnotes}
\usepackage{lipsum}
\let\footnote=\endnote
\renewcommand\enoteformat{\rightskip=0pt \leftskip=0pt \parindent=0em
\leavevmode\makeenmark\raggedright}
\begin{document}
text\footnote{test footnote1}
\lipsum[1]
text\footnote{test footnote2 \lipsum[2]}
\lipsum[1-7]
\theendnotes
\end{document}