Possible Duplicate:
How can I change the footnote line (thickness, length)
I want to modify the \footnoterule and still be able to use longtable but the following code doesn't compile:
\documentclass{article}
\usepackage{lipsum}
\usepackage{longtable}
\renewcommand{\footnoterule}{\vspace*{0.3cm}\noindent\rule{2.5cm}{0.4pt}\vspace*{0.3cm}}
\begin{document}
\lipsum[1-4]
Text\footnote{Footnote}
\begin{longtable}{c}
N.\\1\\2\\3\\4\\5\\6\\7\\8\\9\\10\\
\end{longtable}
\end{document}
