Using footnotes with moderncv class in LaTeX
I have the following problem: I would like to use footnotes together with the moderncv documentclass. In my case it gives me an error if I try to compile the following example:
\documentclass[12pt, a4paper]{moderncv}
\moderncvtheme[grey]{classic}
\firstname{First}
\familyname{Last}
\begin{document}
\section{Start}
Hello\footnote{this is a footnote}
\end{document}
I get the fo开发者_高级运维llowing error:
! Undefined control sequence. \H@@footnotetext ...color@begingroup \@makefntext {\rule \z@ \footnotesep \i... l.9 Hello\footnote{this is a footnote}
I am not sure why, but obviously the moderncv documentclass is to blame for this error, if I change the documentclass to article it works.
I appreciate any help.
You can try the footmisc
package. I.e. change the beginning to
\documentclass[12pt, a4paper]{moderncv}
\usepackage{footmisc} % enabling footnotes.
\moderncvtheme[grey]{classic}
% ... rest the same.
To put footnotes on the bottom of the page, you need to see this topic:
https://tex.stackexchange.com/questions/48500/footnote-in-moderncv
It solves my problem about footnotes. You should use \footnotemark and \footnotetext{Some text} instead of \footnote
精彩评论