I'd like to add a small amount of inter-line spacing between footnotes, when there are multiple footnotes on a page (with a few additional caveats, v.i.)
getting something more like this:
where there is additional horizontal space between the blue and the red text, and between the red and the blue text, but no additional spacing before the blue and no additional spacing after the black.*
So far, I have been manually inserting line breaks in the footnote entry (e.g. \footnote{ the content.\\[-4pt]}
); however, this is tedious and requires adjusting every time the content is added / removed.
Furthermore, I sometimes adjust the amount of horizontal spacing when there is math content (e.g. I'll leave it as \footnote{some content.\\}
or even add to the line break, if necessary), for readability.
Is it possible to achieve this automatically? What is the proper way to go about doing so?
NB. this question addresses a similar issue, except it includes space between the horizontal line & the first footnote (which I don't want), and does not address the possibility of adjusting the spacing for certain footnotes (i.e. as I do want, after footnotes with large math equations).
*This was obtained by manually inserting line breaks \\[-4pt]
after the specific footnotes:
\documentclass{article}
\usepackage{lipsum}
\usepackage[usenames,dvipsnames]{xcolor}
\begin{document}
Some text here.\footnote{{\color{blue}Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Ut purus elit, vestibulum ut, placerat ac, adipiscing vitae, felis. Curabitur dictum gravida mauris. Nam arcu libero, nonummy eget, consectetuer id, vulputate a, magna. Donec vehicula augue eu neque. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Mauris ut leo.} \\[-4pt]}
Different text here.\footnote{{\color{red}Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Ut purus elit, vestibulum ut, placerat ac, adipiscing vitae, felis. Curabitur dictum gravida mauris. Nam arcu libero, nonummy eget, consectetuer id, vulputate a, magna. Donec vehicula augue eu neque. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Mauris ut leo.}\\[-4pt]}
Different text here.\footnote{Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Ut purus elit, vestibulum ut, placerat ac, adipiscing vitae, felis. Curabitur dictum gravida mauris. Nam arcu libero, nonummy eget, consectetuer id, vulputate a, magna. Donec vehicula augue eu neque. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Mauris ut leo.}
\end{document}