调整 tcb 定理内和段落之间的间距

调整 tcb 定理内和段落之间的间距

作为参考,这是我当前的 tcbtheorem 块

\newtcbtheorem[number within=section, list inside = theoremlist, list type = thrm]{thrm}{Theorem}%
{enhanced, breakable,
colback=r!7, colbacktitle=r!17, coltitle=RedViolet,
frame hidden, parbox=false,
arc=1.85pt, titlerule=0pt, toptitle=2pt, bottomtitle=2pt,
fonttitle=\bfseries,separator sign= : \hspace{0.005cm},
segmentation style={solid, draw=r!55, line width=1pt},
before upper=\csname @nobreakfalse\endcsname, halign=left
}{th}

在这种环境下以及在文档中,我怎样才能使段落之间的间距更大。我怎样才能使 tcbline 和校样之间的间距更小。

在此处输入图片描述

这是一些测试代码

\documentclass{article}

\usepackage[many]{tcolorbox}
\usepackage[dvipsnames]{xcolor}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{amsfonts}
\usepackage{amsthm}


\newtcbtheorem[number within=section, list inside = theoremlist, list type = thrm]{thrm}{Theorem}%
{enhanced, breakable,
colback=Red!7, colbacktitle=Red!17, coltitle=Black,
frame hidden, parbox=false,
arc=1.85pt, titlerule=0pt, toptitle=2pt, bottomtitle=2pt,
fonttitle=\bfseries,separator sign= : \hspace{0.005cm},
segmentation style={solid, draw=Red!55, line width=1pt},
before upper=\csname @nobreakfalse\endcsname, halign=left
}{th}


\begin{document}
Testing out the spacing.

Hello. 

\begin{thrm}{Test}{}
His

this is a test 

\tcbline
\begin{proof}
Test

This is not enough space between lines.
\end{proof}
\end{thrm}
\end{document}

相关内容