I use the mdframed
package with option style=1,
which means that TikZ
is responsible for drawing frames:
\documentclass{article}
\usepackage[style=1]{mdframed}
\begin{document}
\noindent
Text
\begin{mdframed}
Framed
\end{mdframed}
Text
\end{document}
When I compile this minimal example I observe redundant vertical white space below the framed region. It seems that the baseline is not optimally chosen. Does anybody know how to solve this spacing problem?
Addendum: The vertical spacing problem outlined above is no longer present with version 0.9a of the mdframed
package.
style=0
andstyle=1
. But I encounter another problem: I get no frame at all whenstyle=1
.outerlinewidth
per default >0. So far you must useouterlinewidth
to get a frame.middlelinecolor
.