I've set skipbelow=0pt
. I still have vertical spacing below every box. I think this has to do with the paragraph spacing. Is there a way to disable this for mdframed
? I'd like to avoid using \vspace{-5pt}
after every box, since this makes behave my multicols
layout weird (page breaks in the middle of the page).
How can I get rid of the spacing after every box? (Disable new line? Disable paragraph spacing just for mdframed
boxes? ...)
Here's a MWE
\documentclass[a4paper,8pt]{article}
\usepackage{mdframed}
\mdfdefinestyle{myframe}{%
outerlinewidth=1pt,
skipabove=0pt,
skipbelow=0pt
}
\begin{document}
\begin{mdframed}[style=myframe]
Hello
\end{mdframed}
% Annoying space in between, despite skipabove=skipbelow=0pt
\begin{mdframed}[style=myframe]
Hello
\end{mdframed}
\end{document}
skipbelow
to a negative value...\unskip
at the end of the environment. See tex.stackexchange.com/questions/174587/…