From d7e3d2a9f06d65cbf4d53a3f12cd6128c20915e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maximilian=20Ke=C3=9Fler?= Date: Mon, 14 Feb 2022 00:39:24 +0100 Subject: [PATCH] fix thmstyle spacing with parskip --- src/environments/thmstyle/thmstyle.dtx | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/src/environments/thmstyle/thmstyle.dtx b/src/environments/thmstyle/thmstyle.dtx index 814c3b7..b45ce7a 100644 --- a/src/environments/thmstyle/thmstyle.dtx +++ b/src/environments/thmstyle/thmstyle.dtx @@ -80,6 +80,13 @@ % \end{function} % % \section{Default styles} +% +% +% The package has the option to provide some default styles. +% These can be loaded with the |default styles| (the space is optional) +% option, when loading the package. +% +% % \subsection{colors} % % \begin{variable}{gold} @@ -261,7 +268,11 @@ rightline = false, topline = false, bottomline = false, - backgroundcolor = #3 + backgroundcolor = #3, + skipabove = 0.7\baselineskip, + skipbelow = 0pt, + innerrightmargin = 10pt, + innerbottommargin = 5pt } { #1