I want to place several footnotes inside a mdframed environment like this



First\footnote{first footnote}

\footnotetext{Second footnote}
\footnotetext{Third footnote}


But the footnote numbers are not shown enter image description here

If I bring the \footnotetexts outside of mdframed, the numbers would be shown at the end of the page. But of course, this would prevent me from having multiple footnotes inside the box. enter image description here

  • What about \documentclass{article} \usepackage{mdframed} \begin{document} First\footnote{first footnote} \begin{mdframed} First local\footnote{First local footnote} Second local\footnote{First local footnote} \end{mdframed} Second\footnote{second footnote} \end{document}? With this code, you should get footnotes inside of the mdframed box that are labelled using letters insted of numbers in order to distinguish them from regular footnotes.
    – leandriis
    May 30, 2021 at 8:52
  • I prefer the footnotes to use the global counter though. May 30, 2021 at 9:07

1 Answer 1


Adding this to the preamble seems to do the trick


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .