I have defined an environment viz.Examples
in the following way:
\newtheoremstyle{myexcstyle}{3ex}{3ex}{}{}{\scshape}{:}{.5em}{}
\theoremstyle{myexcstyle}
\newtheorem*{exmps}{Examples}
\newenvironment{Exmps}
{
\begin{exmps}\
\vspace{-1ex}
\begin{enumerate}[label=\textbf{\arabic*}., itemsep=1.5ex]
}
{
\end{enumerate}
\end{exmps}
}
Now, at some point of my text, I started with a few examples after a defintion, then some theorems, and then I want to continue with the examples. In the second appearance of the Examples
I want to make it look like "Examples (continued):". Precisely what am asking for is:
Definition:
Examples:
1.
2.
Theorem:
Examples (continued):
3.
4.
How do I achieve this?
Edit: An MWE:
\documentclass[openany]{book}
\usepackage{amsmath,amsfonts,amssymb,amsthm}
\usepackage{geometry}
\usepackage[inline]{enumitem}
\usepackage{mathtools}
\usepackage{thmtools}
\newtheoremstyle{myexcstyle}{3ex}{3ex}{}{}{\scshape}{:}{.5em}{}
\theoremstyle{myexcstyle}
\newtheorem*{exmps}{Examples}
\newenvironment{Exmps}
{
\begin{exmps}\
\vspace{-1ex}
\begin{enumerate}[label=\textbf{\arabic*}., itemsep=1.5ex]
}
{
\end{enumerate}
\end{exmps}
}
\begin{document}
\begin{Exmps}[continued]
\item Example 3
\end{Exmps}
\end{document}
\begin{exmps}[continued]....\end[exmps}
.exmps
but not withExmps
. There I needed to write the entire definition ofExmps
usingexmps
.