2010-09-23 53 views
7

我有以下問題:我想將腳註和moderncv文檔類一起使用。在我的情況給我一個錯誤,如果我嘗試編譯下面的例子:在乳膠中使用腳註與moderncv類

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

\firstname{First} 
\familyname{Last} 

\begin{document} 
\section{Start} 
Hello\footnote{this is a footnote} 
\end{document} 

我收到以下錯誤:

! Undefined control sequence. \[email protected]@footnotetext [email protected] \@makefntext {\rule \[email protected] \footnotesep \i... l.9 Hello\footnote{this is a footnote}

我不知道爲什麼,但顯然moderncv的DocumentClass是責怪這個錯誤,如果我將文檔類更改爲文章它的工作原理。

我很感激任何幫助。

回答

16

您可以嘗試footmisc包。即改變開始

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

問題是,腳註出現在cventry之後,而不是頁面底部。是否有可能把它們放在底部? – 2014-03-27 12:01:29

+1

@分形參見http://tex.stackexchange.com/q/48500/89490 – 2015-12-16 04:33:02