I am having a small problem with mdframed.sty
. The subtitle block seems to have a 0.4pt
frame with the same color of the subtitle background. This causes the left and right ends of the subtitle frame to intrude a bit into the overall linewidth of the frame:
This is directly from the code in the users guide:
\documentclass{amsart}
\usepackage[tikz]{mdframed}
\usepackage{xcolor}
\newmdenv[%
roundcorner=5pt,
subtitlebelowline=true,subtitleaboveline=true,
subtitlebackgroundcolor=yellow!70!white,
backgroundcolor=blue!20!white,
frametitle={Theorem},frametitlerule=true,
frametitlebackgroundcolor=yellow!70!white,
]{subtitleenv}
\begin{document}
\begin{subtitleenv}
Some Text \ldots
\mdfsubtitle{Notes}
Some Text \ldots
\end{subtitleenv}
\end{document}
I looked at the code (and very lucid it is) but can find no incantation that addresses the linewidth
of subtitle frame as a whole.
Suggestions?