Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Want to delete QED symbol of amsthm

651 views
Skip to first unread message

Eiichi Miyagawa

unread,
Jun 7, 2001, 4:26:14 AM6/7/01
to
Hi,

I use the proof environment of the amsthm package.
I would like to be able to delete the QED symbol at the end of the proof
*when* I don't need it.
How can I do that?
Changing the \qedsymbol won't do since that will delete the qed symbol in
the entire document.
It would be nice if a command (say \noqed) could delete the qedsymbol in the
proof environment where the command is typed.
Thanks for your help!!

E.M.


Martin Vaeth

unread,
Jun 7, 2001, 9:01:52 AM6/7/01
to
Eiichi Miyagawa <em...@columbia.edu> wrote:
>Changing the \qedsymbol won't do since that will delete the qed symbol in
>the entire document.
Are you sure? Which version of of amsthm are you using?
In my version, {proof} encloses its content in a group; so if you redefine
\qedsymbol there, you have the old value after the group is closed. Example:

\documentclass{article}
\usepackage{amsthm}
\begin{document}
\begin{proof}
Foo\def\qedsymbol{}
\end{proof}
\begin{proof}
Bar
\end{proof}
\end{document}

Michael J Downes

unread,
Jun 7, 2001, 9:47:44 AM6/7/01
to tech-s...@ams.org
"Eiichi Miyagawa" <em...@columbia.edu> writes:

> I use the proof environment of the amsthm package.
> I would like to be able to delete the QED symbol at the end of the proof
> *when* I don't need it.

If you are using a recent version of the amsthm package, maybe the
\qedhere command is relevant. I am not sure, because you neglected to
explain *why* you don't need the qed symbol. But in any case here is a
test file that may be helpful.

Regards, Michael Downes
tech-s...@ams.org

------------------------------------------------------------------------
\documentclass{article}
\usepackage{amsthm}

\providecommand{\noqed}{\sbox{0}{\popQED}}

\newenvironment{proofnobox}{%
\proof
}{%
\let\qed=\relax
\endproof
}

\begin{document}


I use the proof environment of the amsthm package.

\begin{proof}


I would like to be able to delete the QED symbol at the end of the proof
*when* I don't need it.

How can I do that?

Changing the qedsymbol won't do since that will delete the qed symbol in
the entire document.

\end{proof}

It would be nice if a command (say noqed) could delete the qedsymbol in the
proof environment where the command is typed.

\begin{proof}


I would like to be able to delete the QED symbol at the end of the proof
*when* I don't need it.

\renewcommand{\qedsymbol}{}
\end{proof}

\begin{proof}


I would like to be able to delete the QED symbol at the end of the proof
*when* I don't need it.

\renewcommand{\qed}{}
\end{proof}

\begin{proof}


I would like to be able to delete the QED symbol at the end of the proof
*when* I don't need it.

\sbox{0}{\popQED}
\end{proof}

\begin{proof}


I would like to be able to delete the QED symbol at the end of the proof
*when* I don't need it.

\noqed
\end{proof}

\begin{proofnobox}[Proof of the Lemma]


I would like to be able to delete the QED symbol at the end of the proof
*when* I don't need it.

\end{proofnobox}

\begin{proof}
What if the proof ends with an equation?
\[
a=b+c-d.
\]
\end{proof}

\begin{proof}
What if the proof ends with an equation?
\[
a=b+c-d.\qedhere
\]
\end{proof}

\end{document}

Eiichi Miyagawa

unread,
Jun 7, 2001, 1:14:45 PM6/7/01
to
Thanks, Martin and Michael, for your help!
I am happy now ;-)
I don't want the QED mark when the proof says ``Proof: See the Appendix.''

EM

Eiichi Miyagawa

unread,
Jun 7, 2001, 1:18:09 PM6/7/01
to
0 new messages