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