# amsthm
# Ryan Reich/2007-11-03
# http://tug.ctan.org/cgi-bin/ctanPackageInformation.py?id=amsthm
\newtheorem{envname}{caption}#N
\newtheorem{envname}{caption}[within]#N
\newtheorem{envname}[numberedlike]{caption}#N
\newtheorem*{envname}{caption}#N
\newtheorem*{envname}{caption}[within]#N
\newtheorem*{envname}[numberedlike]{caption}#N
\theoremstyle{style}
\swapnumbers
\newtheoremstyle{stylename}{spaceabove}{spacebelow}{bodyfont}{indentamt}{headfont}{headpunct}{headspace}{headspec}
\begin{proof}
\begin{proof}[caption]
\end{proof}
\qedsymbol
\qedhere
\qed
