The mdframed
package provides a nice functionality to insert footnotes inside a theorem. I am in search of a way to implement the paragraph style of footnote option within a theorem environment. This forces footnotes to appear within a single paragraph which is a very helpful option when one has many short footnotes which create a long, ugly column and waste space. I am trying to use, for example, the para
option within the footmisc
package. As you can see in the compilation of my MWE, the footnotes are still printing in their own paragraphs (a single column) for some reason.
Also, please note that a preferable solution would leave the option for both standard and paragraph style footnotes, as one may still want an occasional long footnote. For example, I know the bigfoot
package offers this functionality with the distinct \footnote{}
and \footnote+{}
commands. Thank you in advance for any help.
\documentclass{article}
\usepackage{thmtools}
\usepackage[framemethod=TikZ]{mdframed}
\usepackage[para]{footmisc}
\declaretheorem[mdframed]{theorem}
\begin{document}
\begin{theorem}
This is the first part of the theorem,\footnote{First footnote} this is the second part,\footnote{Second footnote} and this is the third part.\footnote{Third footnote}
\end{theorem}
\end{document}