Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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 a proof in another.

share|improve this question
2  
If you write \phantom\qedhere anywhere 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
    
Certainly, this works, but I have a proof in another, produces an excessive vertical space to the next paragraph. –  Juan Quispe Dec 25 '12 at 20:03
    
That's why this is not optimal. You have to find where to put it with no problems manually. i.e., If you put it at the end of a paragraph, it works fine, but still manual. Wait until someone gives you an universal way of doing it. –  Manuel Dec 25 '12 at 20:09
1  
If you need a block with Proof at the beginning why don't you fake it? For example `\par\noindent\textit{Proof.}`. –  Sigur Dec 25 '12 at 20:10
    
Well, I found a way to do it but not very elegant. Thanks to Manuel, and all of you, for Replied. I added only \vspace{-0.5cm}\phantom\qedhere after the inner proof. –  Juan Quispe Dec 25 '12 at 20:50

2 Answers 2

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.

share|improve this answer
    
Thanks 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
    
@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
3  
@JuanQuispe: Can you tell here? I think it would be interesting for other people also ... –  Kurt Dec 25 '12 at 21:14
    
@mikerenfro Thanks for correcting the mistake –  egreg Dec 26 '12 at 20:10

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.)

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.