I am writing a mathematical document and I want to make a overview document, in which I only present the theorems and definitions and not the proofs, so I thought that I can change the environment proof to a null environment, which basically ignores the proofs or replaces them with one single space, or anything similar. I thought using the comment package and tried \renewenvironment{proof}{\begin{comment} }{ \end{comment}}
but as it turns out LaTeX
interprets }{
as comment.
How can I achieve this neatly or is there a way to turn the proof off by amsmath
?
\includecomment{proof}
...amsthm
, all that is omitted are the proof headers and qed marker; the text remains. (i will write to the author.)amsmath
shouldn't figure into this. it'samsthm
that formats theorems, and i've just determined that this doesn't work (at least not if i've used the samecomment
package that you did).