I’m using the following commands to customize footnotes:
\usepackage[bottom,norule,hang]{footmisc}
\setlength{\footnotemargin}{2mm}
\setlength{\footnotesep}{4mm}
\addtolength{\footskip}{2mm}
The results were as I wanted but only until the 10th footnote (see image below). Is there a way to define the the footnote text margin as a function of the horizontal space that the footnote number takes?
The numbers are flushed to the left and have the same margin as the main text. The footnote text margin, however, seems to be the main text margin plus a fixed quantity.
Best Answer
footmisc
with thehang
option has the property that if\footnotemargin
is0
or negative, then the hanging indent is set to the width of the footnote mark. Thus:produces the following reasonable effect with no overlapping
What is lacking here is some spacing between the footnote mark and the text. To correct this we can patch the relevant command in
footmisc
so that if thehang
option is given and\footnotemargin
is negative, we use the length information there to provide the spacing between the mark and the text, e.g. a value of-0.5em
leads to a space of0.5em
. In the original package, if\footnotemargin
is<=0
then just the width of the footnotemark is used. Below, we change one line so that the width of a box containing the footnotemark plus a skip of-\footnotemargin
is used in the same situation: