I have been using the following commands in my preamble.
\usepackage{amsthm}
\theoremstyle{definition}
\newtheorem{exmp}{Example}[section]
\newcounter{Examplecounter}
\newenvironment{MathematicalBackground}{%
\begin{quote}%
\refstepcounter{Examplecounter}%
\textbf{Mathematical Background \arabic{Examplecounter}}%
\quad
}{%
\end{quote}%
}
Then in the text I am using the following.
\begin{mdframed}[backgroundcolor=brown!20]
\begin{MathematicalBackground}
...
\end{MathematicalBackground}
\end{mdframed}
I also have a different type of region in the text defined by,
\begin{exmp}
\begin{mdframed}[backgroundcolor=blue!20]
...
\end{mdframed}
\end{exmp}
With figures and tables we can create lists at the front of the document by using \listof... commands. How can I get a list of these two environments at the front of the document? I am aware of this TEX post but still can not define my lists.
Many thanks for your help!
Edit
From the link I entered
\usepackage{thmtools}
\renewcommand{\listoftheoremname}{MathematicalBackground}
Then entered the following at the start of the text.
\listoftheorems[ignoreall,show={MathematicalBackground}]
I also tried swapping MathematicalBackground for expm. All wouldn't parse, so I am definitely doing something very wrong here.