I am using the manyfoot
package to work with multiple footnote numbering schemes in the same document. This works fine; however, I would like to have some kind of headline before the listing of the footnotes of one group (= same numbering scheme) on each page begins; here is an example for better understanding:
I implemented this by defining a custom footnote rule for this particular group using the \SelectFootnoteRule{}
command. This is a quick-and-dirty solution, because LaTeX expects footnote rules to occupy zero vertical space. Since this approach inserts an additional line, the "footnote rule" has now a vertical dimension and overfull `\vbox`` warnings are thrown.
I prepared the following MWE to demonstrate this:
\documentclass{article}
\usepackage{lipsum}
\usepackage{manyfoot}
\newcommand{\Afootnoterule}{}
\SelectFootnoteRule{A}[\noindent\footnotesize Custom Footnotes:\vspace{2mm}]
\DeclareNewFootnote{A}[roman]
\begin{document}
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed fermentum
viverra\footnote{Normal footnote 1.} lobortis eu, facilisis nec elit.
Morbi fringilla, neque eu venenatis cursus\footnoteA{Custom footnote 1.},
risus ante aliquam magna, nec consectetur est\footnote{Normal footnote
2.} sapien non orci. Nulla eu turpis ultrices, cursus libero vel,
placerat enim. Aliquam ac mi metus. Sed quis ultricies nisl. Etiam non
gravida orci. Donec tellus lacus, elementum a lobortis eu, facilisis nec
elit.
\lipsum[52-60]
\clearpage
Nulla feugiat magna eros\footnoteA{Just a custom footnote.} vehicula
lectus in justo fringilla euismod.
\lipsum[13-20]
\end{document}
I am sure there is a correct way to insert these headings in such a way that abusing the \SelectFootnoteRule{}
command is not necessary and ---
as a side effect ---
overfull \vbox
es are not occurring any more. Can anybody help? Thank you in advance!
manyfoot
provides hooks other than what you are using. To reduce\vbox
es you can use\SelectFootnoteRule[1]{A}[\noindent\footnotesize \smash{Custom Footnotes:}\vspace{2mm}]
. If you want the text for each footnote, then use\SetFootnoteHook{\noindent\footnotesize Custom Footnotes:\quad}