11

There are many questions online concerning this issue of skipbelow of the mdframed package. For me, this skipbelow issue is not resolved. The version of the mdframed package on my system is:

mdframed.sty 2013/07/01 1.9b: mdframed

If I understand well this is the last one. Is there an issue with the update?

pluton
  • 16,421

1 Answers1

16

The fix was indeed applied, but the new version has never been pulled.

\documentclass[11pt]{article}
\usepackage[framemethod=TikZ]{mdframed}
\usepackage{xpatch}

\makeatletter
\xpatchcmd{\endmdframed}
  {\aftergroup\endmdf@trivlist\color@endgroup}
  {\endmdf@trivlist\color@endgroup\@doendpe}
  {}{}
\makeatother

\begin{document}
Some text before.

\begin{mdframed}[skipabove=3cm, skipbelow=3cm]
  Testing 123.
\end{mdframed}

Some text after.
\end{document}

enter image description here

egreg
  • 1,121,712