
I am trying to create a custom "proof" environment that behaves as follows:
\begin{proof}\end{proof} should produce \textit{Proof.}, while \begin{proof}{method}\end{proof} should produce \textit{Proof (method).}. Here's what I have right now:
\documentclass[10pt]{article}
\usepackage{xifthen}
\ne...