From 8508d62b62f87f5fe4a666513995c4737c869414 Mon Sep 17 00:00:00 2001 From: EthanDeng Date: Sat, 13 Apr 2019 14:02:29 +0800 Subject: [PATCH] remove medskip --- elegantbook.cls | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/elegantbook.cls b/elegantbook.cls index 86a0328..bf06b44 100644 --- a/elegantbook.cls +++ b/elegantbook.cls @@ -363,7 +363,7 @@ \setcounter{exam}{0} \renewcommand{\theexam}{\thechapter.\arabic{exam}} \newenvironment{example}[1][]{ - \refstepcounter{exam}\par\medskip\noindent \textbf{\color{main}{ + \refstepcounter{exam}\par\noindent \textbf{\color{main}{ \ifdefstring{\ELEGANT@lang}{en}{Example}{例} }~\theexam #1: }\rmfamily % }{ @@ -387,7 +387,7 @@ \setcounter{prob}{0} \renewcommand{\theprob}{\thechapter.\arabic{prob}} \newenvironment{problem}[1][]{ - \refstepcounter{prob}\par\medskip\noindent \textbf{\color{main}{ + \refstepcounter{prob}\par\noindent \textbf{\color{main}{ \ifdefstring{\ELEGANT@lang}{en}{Problem}{例题} }~\theprob #1: }\rmfamily % }{