我在 mdframed 环境的标题周围得到了一个细边框,其颜色与实际内容区域相同:
我想去掉标题周围的这条细红线。
梅威瑟:
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[usenames]{color}
% framemethod=TikZ is required to draw rounded corners
\usepackage[framemethod=TikZ]{mdframed}
\begin{document}
\mdfdefinestyle{eliasp}{%
roundcorner=3pt,
frametitlebackgroundcolor=yellow,
backgroundcolor=red,
hidealllines=true,
frametitle=This is the title,
}
\begin{mdframed}[style=eliasp]
This is some text
\end{mdframed}
\end{document}