在LaTeX中使用带有moderncv类的脚注

Gor*_*tch 11 latex

我有以下问题:我想将脚注与moderncv文档类一起使用.在我的情况下,如果我尝试编译以下示例,它会给我一个错误:

\documentclass[12pt, a4paper]{moderncv}
\moderncvtheme[grey]{classic}

\firstname{First}
\familyname{Last}

\begin{document}
\section{Start}
Hello\footnote{this is a footnote}
\end{document}
Run Code Online (Sandbox Code Playgroud)

我收到以下错误:

!未定义的控制序列.\ H @@ footnotetext ... color @ begingroup\@makefntext {\ rule\z @\footnotesep\i ... l.9 Hello\footnote {this is a footnote}

我不确定为什么,但显然,如果我将文档类更改为文章,它可以归咎于现代文档类.

我感谢任何帮助.

phi*_*mue 20

你可以试试这个footmisc包.即改变开始

\documentclass[12pt, a4paper]{moderncv}
\usepackage{footmisc} % enabling footnotes.
\moderncvtheme[grey]{classic}
% ... rest the same.
Run Code Online (Sandbox Code Playgroud)

  • 问题是,脚注出现在cventry之后,而不是在页面底部.是否可以将它们放在底部? (2认同)