I am trying to create and format some inline footnotes inside minipages. I looked at some questions like this one but it seems that they are not working in the minipage environment. Is there a way to format inline footnotes in minipage environment?
\documentclass{article}
\usepackage[stable,para,hang]{footmisc}
\makeatletter
\footglue=.5em plus.15em minus.15em
\long\def@makefntext#1{\leavevmode
@makefnmark\nobreak
#1%
}
\makeatother
\begin{document}
\begin{minipage}[t]{\textwidth}
Lorem\footnote{lorem}
ipsum\footnote{ipsum}
dolor\footnote{dolor}
sit\footnote{sit}
\end{minipage}
\end{document}
For in-line footnotes I mean the footnote one next to the other, while I get footnotes one below the other, in the picture below an example of both types:
I am trying to achieve two levels of inline footnotes, like the previous image but with the second level inline

minipageenv? – anis Jan 10 '23 at 11:49