Latex 奇怪的脚注编号

Latex weird footnote numbering

有些奇怪的脚注编号不是我想要生成的。我只加了两个脚注,但是还有脚注2和4我没有写。

我想不出解决办法。有没有人遇到同样的问题或知道解决方案?

下面是这个的Latex代码。即使我不使用任何 usepackage 选项,问题仍然存在。

\documentclass{article}

\begin{document}
blablablalba\footnotemark
\
\
\
\footnote{firstfootnote}
\
\
\
wordswordswords\footnotemark
\
\
\
\footnote{secondfootnote}

\end{document}

通过使用 \footnotemark\footnote 添加额外的数字。为避免此问题,请仅在您希望脚注标记为:

的位置使用 \footnote{...}
\documentclass{article}

\begin{document}
blablablalba\footnote{firstfootnote}


wordswordswords\footnote{secondfootnote}

\end{document}

我刚刚找到了解决方案。

使用 \footnote 是问题所在。将其更改为 \footnotetext 即可解决问题。

\documentclass{article}

\begin{document}
blablablalba\footnotemark[1]
\
\
\
\footnotetext[1]{firstfootnote}
\
\
\
wordswordswords\footnotemark[2]
\
\
\
\footnotetext[2]{secondfootnote}

\end{document}