5

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?

  • 1
    Can you please say what the "issue" is and give a minimal working example? – Andrew Feb 9 '16 at 23:36
  • 1
    @Andrew the issue is illustrated at the provided link. – pluton Feb 9 '16 at 23:59
10

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

  • Any chance to see the corrected version available on CTAN? – user94293 May 15 '19 at 6:10
  • 1
    @user94293 I think that development of mdframed has stopped. Using tcolorbox is recommended. – egreg May 15 '19 at 8:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.