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.
Asked
Active
Viewed 3.3k times
45
3 Answers
49
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}

You can make a new environment for "inner proofs":
\newenvironment{innerproof}
{\renewcommand{\qedsymbol}{}\proof}
{\endproof}
which will do the same.
egreg
- 1,121,712
-
2Thanks for response. This works, but produce extra vertical space for the next paragraph when it has a proof inside another. Thanks a lot. – Juan Quispe Dec 25 '12 at 20:54
-
1@JuanQuispe Some way or another you have to tell your reader when the inner proof ends – egreg Dec 25 '12 at 20:58
-
Yes. well, I found a way to do it, but is not very elegant. Merry Christmas – Juan Quispe Dec 25 '12 at 21:01
-
4@JuanQuispe: Can you tell here? I think it would be interesting for other people also ... – Mensch Dec 25 '12 at 21:14
-
1I had the same issue with extra vertical space as @JuanQuispe and inserted
\renewcommand{\qed}{}instead of\renewcommand{\qedsymbol}{}to get rid of the QED symbol. Not sure if this is a perfect solution but so far it seems to work. Also see this post for the details of the\qedsymbol,\qedetc. commands. (UPDATE: I just noticed that barbara beeton suggested the same solution in her answer below.) – balu Mar 08 '20 at 20:12 -
@balu If you end your “no qed” proof with a display, you still need
\qedhere. – egreg Mar 08 '20 at 22:12
34
if you're using amsthm, you can do this:
\documentclass{article}
\usepackage{amsthm}
\begin{document}
\begin{proof}
This has the QED symbol.
\end{proof}
\begin{proof}\let\qed\relax
This hasn't.
\end{proof}
\begin{proof}
And this has it again.
\end{proof}
\end{document}
(thanks to egreg for providing an example that could be cribbed easily.)
barbara beeton
- 88,848
7
I handle such cases as follows.
\begin{proof}\phantom{\qedhere}
No QED symbol.
\end{proof}
\begin{proof}
QED symbol.
\end{proof}
\begin{proof}
\begin{itemize}
\item \textellipsis
\item QED symbol at the end of the final item. \qedhere
\end{itemize}
\end{proof}
\begin{proof}\phantom{\qedhere}
\begin{equation}
\text{QED symbol at the end of the final equation.}\tag*{\qed}
\end{equation}
\end{proof}
bkarpuz
- 2,437
-
Not tested, but I suspect that if the last line of a proof finishes very close to the end of the line,
\phantom{\qedhere}may result in an extra blank line. – barbara beeton Feb 14 '23 at 16:40

\phantom\qedhereanywhere in the proof the qed symbol disappears. But I don't know if it's the best way of doing that. – Manuel Dec 25 '12 at 19:43\par\noindent\textit{Proof.}\. – Sigur Dec 25 '12 at 20:10