mirror of
https://github.com/ElegantLaTeX/ElegantBook.git
synced 2026-01-26 12:24:36 +08:00
remove the elegantpar command
This commit is contained in:
@@ -290,7 +290,6 @@
|
|||||||
\ifdefstring{\ELEGANT@cite}{numbers}{
|
\ifdefstring{\ELEGANT@cite}{numbers}{
|
||||||
\RequirePackage[numbers]{gbt7714}
|
\RequirePackage[numbers]{gbt7714}
|
||||||
}{\relax}
|
}{\relax}
|
||||||
\bibliographystyle{abbrv}
|
|
||||||
}{\relax}
|
}{\relax}
|
||||||
\ifdefstring{\ELEGANT@lang}{en}{
|
\ifdefstring{\ELEGANT@lang}{en}{
|
||||||
\newcommand\figref[1]{\textbf{Figure}~\ref{#1}}
|
\newcommand\figref[1]{\textbf{Figure}~\ref{#1}}
|
||||||
@@ -325,7 +324,6 @@
|
|||||||
%% device settings
|
%% device settings
|
||||||
|
|
||||||
\RequirePackage{geometry}
|
\RequirePackage{geometry}
|
||||||
\RequirePackage{marginnote}
|
|
||||||
\ifdefstring{\ELEGANT@device}{normal}{
|
\ifdefstring{\ELEGANT@device}{normal}{
|
||||||
\geometry{
|
\geometry{
|
||||||
a4paper,
|
a4paper,
|
||||||
@@ -334,12 +332,6 @@
|
|||||||
headsep=4mm,
|
headsep=4mm,
|
||||||
footskip=12mm
|
footskip=12mm
|
||||||
}
|
}
|
||||||
\ifdefstring{\ELEGANT@marginpar}{margintrue}{
|
|
||||||
\geometry{
|
|
||||||
marginparwidth=6cm, marginparsep=5mm,
|
|
||||||
left=1.5cm,right=7.5cm,
|
|
||||||
}
|
|
||||||
}{\relax}
|
|
||||||
}{\relax}
|
}{\relax}
|
||||||
|
|
||||||
\ifdefstring{\ELEGANT@device}{pad}{
|
\ifdefstring{\ELEGANT@device}{pad}{
|
||||||
@@ -636,11 +628,15 @@
|
|||||||
\RequirePackage{adforn}
|
\RequirePackage{adforn}
|
||||||
\newenvironment{problemset}[1][\ifdefstring{\ELEGANT@lang}{en}{\textbf{\chaptername\, Exercise}}{\textbf{\chaptername\, 习题}}]{
|
\newenvironment{problemset}[1][\ifdefstring{\ELEGANT@lang}{en}{\textbf{\chaptername\, Exercise}}{\textbf{\chaptername\, 习题}}]{
|
||||||
\begin{center}
|
\begin{center}
|
||||||
|
\ifdefstring{\ELEGANT@lang}{en}{\addcontentsline{toc}{section}{\chaptername\, Exercise} }{\addcontentsline{toc}{section}{\chaptername\, 习题}}
|
||||||
\textcolor{structurecolor}{\Large\bfseries\adftripleflourishleft~#1~\adftripleflourishright}
|
\textcolor{structurecolor}{\Large\bfseries\adftripleflourishleft~#1~\adftripleflourishright}
|
||||||
\end{center}
|
\end{center}
|
||||||
\begin{enumerate}[label=\textcolor{structurecolor}{\arabic*.}]}{%
|
\begin{enumerate}[label=\textcolor{structurecolor}{\arabic*.}]}{%
|
||||||
\end{enumerate}}
|
\end{enumerate}}
|
||||||
|
|
||||||
|
\def\relsec{\endgroup start}
|
||||||
|
\def\endrelsec{end\begingroup\def \@currenvir {relsec}}
|
||||||
|
|
||||||
\ifdefstring{\ELEGANT@result}{noanswer}{
|
\ifdefstring{\ELEGANT@result}{noanswer}{
|
||||||
\AtBeginDocument{
|
\AtBeginDocument{
|
||||||
\excludecomment{solution}
|
\excludecomment{solution}
|
||||||
|
|||||||
Reference in New Issue
Block a user