我有以下问题:我想将脚注与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)