remove medskip

This commit is contained in:
EthanDeng
2019-04-13 14:02:29 +08:00
parent 99958b31cf
commit 8508d62b62

View File

@@ -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 %
}{