I have a double-column float that is used to insert a full-page box in a document. However, when I place footnotes in this box, the footnotes appear within the box (which is desired) but not in a twocolumn geometry (undesired).
The current output is in the first box in the MWE below. I've developed a kludge to obtain the desired result (second box). Is there a better solution?
\documentclass{scrreprt}
\usepackage[twocolumn,landscape]{geometry}
\usepackage{lipsum}
\usepackage{mdframed}
\usepackage{tikz}
\usepackage{caption}
\usepackage{newfloat}
\usepackage{multicol}
\DeclareFloatingEnvironment[listname={List of boxes}, name = {Box}]{boxe}
\mdfdefinestyle{GrattanFrameBox}{%
nobreak=true, % prevents page breaking
outerlinewidth=0.5pt,
innertopmargin=0.5\baselineskip,
innerbottommargin=\baselineskip,
innerrightmargin=11pt,
innerleftmargin=11pt
}
\newlength{\currentparskip}
\makeatletter
\newenvironment{bigbox*}[2]{%
\setlength{\currentparskip}{\parskip}
\@dblfloat{boxe}%
\begin{mdframed}[style=GrattanFrameBox]
\setlength{\columnsep}{10mm}
\captionsetup{labelfont={bf}, font={bf}, format=plain,justification=justified,singlelinecheck=false}
\caption{#1}\label{#2}
% \vspace*{-4.125ex}
\begin{multicols}{2}
\setlength{\parskip}{\currentparskip}% restore the value
%
\vspace{-1.5ex}
}{%
\end{multicols}\end{mdframed}
\end@dblfloat
}
\makeatother
\begin{document}
\lipsum
\begin{bigbox*}{Title}{box:Title}
\lipsum*[1-2]\footnote{\lipsum[1]}
\lipsum[3]
\end{bigbox*}
\lipsum
\begin{bigbox*}{Title2}{box:Title2}
\lipsum*[1-2]\footnote{\vspace{-30pt}\begin{multicols}{2}
\lipsum[1]
\end{multicols}
}
\lipsum[3]
\end{bigbox*}
\end{document}
Footnotes are handled correctly (for the most part), but will be placed at the bottom of the page and not under each column