\@starttoc{lot}%
\if@restonecol\twocolumn\fi
}
+
+\newcommand{\listofdefinitions}{%
+ \if@twocolumn
+ \@restonecoltrue\onecolumn
+ \else
+ \@restonecolfalse
+ \fi
+ \chapter*{List of Definitions
+ \@mkboth{\listtablename}{\listtablename}}% Headings not uppercased
+ \@starttoc{lod}%
+ \if@restonecol\twocolumn\fi
+}
\makeatother
\def\figurename{{\protect\sc \protect\small\bfseries Figure }}
\def\tablename{{\protect\sc \protect\small\bfseries Table }}
\usepackage{mdframed}
+\def\fps@figure{tbp}
+\def\ftype@figure{1}
+\def\ext@figure{lod}
\newtheorem{@definition}{Definition}[chapter]
-\newenvironment{definition}{\vspace{3mm}\begin{mdframed}[backgroundcolor=gray90, linewidth=0pt]\begin{@definition}\upshape}{\end{@definition}\end{mdframed}}
+\newenvironment{definition}[1]{
+ \addcontentsline{lod}{section}{#1}
+ \vspace{3mm}\begin{mdframed}[backgroundcolor=gray90, linewidth=0pt]\begin{@definition}\upshape
+}
+{
+ \end{@definition}\end{mdframed}
+}
\makeatletter
\renewcommand{\the@definition}{\arabic{@definition}}
\@addtoreset{@definition}{chapter}