Using the tocloft package, I created a List of Definitions. From the package documentation and some online examples I came up with:
Code: Select all
\newcommand{\listdefinitionname}{My list of definitions}
\newlistof{definition}{def}{\listdefinitionname}
\newcommand{\definition}[1]{%
\refstepcounter{definition}
\par\noindent\textbf{TheDefinition \thedefinition. #1}
\addcontentsline{def}{definition}
{\protect\numberline{\thechapter.\thedefinition}#1}\par\par}
...
\listofdefinition
Also, the numbering seems to be wrong. If I try \newlistof[chapter]{definition}{def}{\listdefinitionname}, the definitions throughout 5 chapters are numbered smth like 1.1.1.1,.. 3.3.3.8.. etc.
\listoffigures issues a list of figures, indented by about 1 cm from the left. With \listofdefinition the entries begin right at the left margin.
Please advice,
moi