mirror of
https://github.com/ElegantLaTeX/ElegantBook.git
synced 2026-01-26 12:24:36 +08:00
remove medskip
This commit is contained in:
@@ -363,7 +363,7 @@
|
|||||||
\setcounter{exam}{0}
|
\setcounter{exam}{0}
|
||||||
\renewcommand{\theexam}{\thechapter.\arabic{exam}}
|
\renewcommand{\theexam}{\thechapter.\arabic{exam}}
|
||||||
\newenvironment{example}[1][]{
|
\newenvironment{example}[1][]{
|
||||||
\refstepcounter{exam}\par\medskip\noindent \textbf{\color{main}{
|
\refstepcounter{exam}\par\noindent \textbf{\color{main}{
|
||||||
\ifdefstring{\ELEGANT@lang}{en}{Example}{例}
|
\ifdefstring{\ELEGANT@lang}{en}{Example}{例}
|
||||||
}~\theexam #1: }\rmfamily %
|
}~\theexam #1: }\rmfamily %
|
||||||
}{
|
}{
|
||||||
@@ -387,7 +387,7 @@
|
|||||||
\setcounter{prob}{0}
|
\setcounter{prob}{0}
|
||||||
\renewcommand{\theprob}{\thechapter.\arabic{prob}}
|
\renewcommand{\theprob}{\thechapter.\arabic{prob}}
|
||||||
\newenvironment{problem}[1][]{
|
\newenvironment{problem}[1][]{
|
||||||
\refstepcounter{prob}\par\medskip\noindent \textbf{\color{main}{
|
\refstepcounter{prob}\par\noindent \textbf{\color{main}{
|
||||||
\ifdefstring{\ELEGANT@lang}{en}{Problem}{例题}
|
\ifdefstring{\ELEGANT@lang}{en}{Problem}{例题}
|
||||||
}~\theprob #1: }\rmfamily %
|
}~\theprob #1: }\rmfamily %
|
||||||
}{
|
}{
|
||||||
|
|||||||
Reference in New Issue
Block a user