thmtools 和 mdframed(垂直空间)

thmtools 和 mdframed(垂直空间)

我不知道为什么我不能让这两个示例靠得更近。我怎样才能使0mm两个示例之间的间距达到?

    %!TEX TS-program = XeLaTeX
%!TEX encoding = UTF-8 Unicode


% DEFINITIONS ===================================================
\documentclass[
    12pt,
    a4paper,
    twoside,
    headings=normal,
    titlepage=true
]{scrreprt}


\usepackage{xparse}

\usepackage{tikz}
\usetikzlibrary{calc}


% Math
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage[centertags]{amsmath}

\usepackage[framemethod=TikZ]{mdframed}
% Emphasize
\usepackage[]{empheq}
% \RequirePackage[hyperref,thref,amsmath]{ntheorem}
\usepackage{amsthm}
\usepackage{thmtools}

\usepackage{lipsum}



\declaretheoremstyle[%
        headfont=\bfseries, %
        notebraces={(}{)},%
        bodyfont=\normalfont,%
        notefont=\itshape,%
        headpunct={:},%
        postheadspace=\newline,%
        postheadhook={}, %{\textcolor{red}{\rule[.6ex]{\linewidth}{0.4pt}}\\},%
        spacebelow=0\parsep,%
        spaceabove=0\parsep,
        mdframed={%
          linecolor=black,%
          leftline=false,%
          rightline=false,%
          topline=true,%
          bottomline=true,%
          middlelinewidth=1pt,%
          innertopmargin=0.0\baselineskip,%
          innerbottommargin=0.0\baselineskip,%
          innerleftmargin=0pt,%
          innerrightmargin=0pt,%
          skipbelow=0pt,%
          skipabove=0pt%
        }%%
]{myFramedDefinitionStyle}%

\declaretheorem[
    style=myFramedDefinitionStyle,
    name=Definition,
    numberwithin=chapter
]{definition1}

% Basic Command
\ExplSyntaxOn
    \NewDocumentEnvironment{definition} { o o }
     {%
      \IfNoValueTF{#1} {\begin{definition1}}{ \begin{definition1}[#1] }%                                  
      \IfNoValueTF{#2} {}{\label{#2}}%
     }%
     {%
      \end{definition1}%
     }%
\ExplSyntaxOff


\begin{document}

\begin{definition}[asd]
asdasd
\end{definition}

\begin{definition}[asd]
asdasd
\end{definition}
\end{document}

这里是图片: 在此处输入图片描述

相关内容