繁体   English   中英

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

[英]Using footnotes with moderncv class in 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}

我收到以下错误:

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

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

我感谢任何帮助。

你可以试试footmisc包。 即改变开始

\documentclass[12pt, a4paper]{moderncv}
\usepackage{footmisc} % enabling footnotes.
\moderncvtheme[grey]{classic}
% ... rest the same.

要在页面底部添加脚注,您需要查看以下主题:

https://tex.stackexchange.com/questions/48500/footnote-in-moderncv

它解决了我关于脚注的问题。 您应该使用\\ footnotemark和\\ footnotetext {Some text}而不是\\ footnote

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM