Here's a better solution, using hanging
and footmisc
:
\documentclass[12pt]{article}
\usepackage[paperheight=8cm]{geometry}
% just to reduce sample size
\usepackage{hanging}
% provides the \hangpara command
\usepackage[flushmargin]{footmisc}
% sets the footnote mark just left of the left margin border
\renewcommand{\footnotemargin}{1em}
% changes the above and sets the footnote mark just right of the left margin border.
\newcommand{\fn}[1]{\footnote{\hangpara{3em}{1} #1}}
% makes a new footnote command \fn{} with a hanging indent of 3em (hanging indent starts after the first line)
\begin{document}
Hello\fn{This is the first line of the very, very, very, very, very, very, very, very, very, very long footnote
and this is the second line of the very, very, very, very, very, very, very, very long footnote
and this is the third line of the very long footnote.}
World\fn{This is the first line of the very, very, very, very, very, very, very, very, very, very long footnote
and this is the second line of the very, very, very, very, very, very, very, very long footnote
and this is the third line of the very long footnote.}.
\end{document}
Regarding the \footnotemargin
: This setting works for one- and two-digit footnote marks. If you only have one-digit marks, {0.5em}
might be better; if you have three-digit footnote marks, you might want to change this value to {1.5em}
, otherwise the first digit will stick into the left margin.
For more details see the documentations of hanging
and footmisc
.