How can I rotate footnote, which contains a listings?
Currently my code looks like:
\documentclass[12pt]{article}
\usepackage{listings} %kod programów
\usepackage{graphicx}
\begin{document}
\rotatebox{180}{\footnote{Trzeba zastosować
\begin{minipage}{0.23\textwidth}
\begin{lstlisting}
\draw[stealth-]\end{lstlisting}
\end{minipage}}}
\end{document}
Sketch:
Many thanks in advance!
You can rotate the content of the footnote like this: