[Tex/LaTex] Remove the qed symbol from only one proof environment, not all

math-modesymbolstheorems

I have seen several posts on how to remove the qed symbol in a proof, but that affects all proof environments. I would like to know how to remove the qed symbol in a particular proof because I have one proof inside another.

Best Answer

Just locally change the meaning of \qedsymbol:

\documentclass{article}
\usepackage{amsthm}
\begin{document}
\begin{proof}
This has the QED symbol.
\end{proof}
\begin{proof}\renewcommand{\qedsymbol}{}
This hasn't.
\end{proof}
\begin{proof}
And this has it again.
\end{proof}
\end{document}

enter image description here

You can make a new environment for "inner proofs":

\newenvironment{innerproof}
 {\renewcommand{\qedsymbol}{}\proof}
 {\endproof}

which will do the same.