I need to change the length of the horizontal line that separates text body from footnotes. I want length of footnote line is as much as width of footnote text. I can the following codes:
\def\footnoterule{
\hrule \@width 4in \kern 4\p@}
but in this case, length of footnote line is fixed. Can you help me?