Auto-remove space before footnotes

This commit is contained in:
2025-04-21 12:25:17 +02:00
parent 9f4e7fb8c7
commit 035603eee7
2 changed files with 5 additions and 1 deletions

View File

@@ -40,6 +40,9 @@
\usepackage[hang]{footmisc}
\setlength{\footnotemargin}{3mm}% Margin between footnote number and text
\NewCommandCopy{\oldfootnote}{\footnote}
\renewcommand{\footnote}{\ifhmode\unskip\fi\oldfootnote}% Remove space before footnote
% Less hbox/vbox badness messages
\hfuzz=20pt
\vfuzz=20pt