<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><blockquote type="cite"><div>Thanks. I have used the memoir class in the past. I tried to do it with an ams class, by using comment.sty to omit all proofs, but don't know what I am doing, and maybe comment.sty is not the thing to use.</div></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><div>Wayne</div></blockquote><div><br></div><div>Here is a minimal example:<div><br></div><div><div>\documentclass{memoir}</div><div>\begin{document}</div><div><br></div><div>\newcomment{myproof} %defines ''myproof'' as an environment that can be switched on or off; you may define several newcomment environemnts in the same document </div><div><br></div><div>\commentsoff{myproof} %Use if you want the text in myproof to be included in the output</div><div>\begin{myproof}</div><div>This proof will be included in the output</div><div>\end{myproof}</div><div><br></div><div>\commentson{myproof}% %Use if you want the text myproof to be omitted</div><div><br></div><div>\begin{myproof}</div><div>This text will be omitted</div><div>\end{myproof}</div><div><br></div><div>\commentsoff{myproof} % you can go back and forth in the same document</div><div>\begin{myproof}</div><div>This proof will also be included in the output</div><div>\end{myproof}</div><div><br></div><div>\end{document}</div><div><br></div><div><div>On Aug 1, 2009, at 7:55 PM, Wayne Richter wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Thanks. I have used the memoir class in the past. I tried to do it with an ams class, by using comment.sty to omit all proofs, but don't know what I am doing, and maybe comment.sty is not the thing to use.<br><br>Wayne<font class="Apple-style-span" color="#000000"><font class="Apple-style-span" color="#144FAE"><br></font></font></div></blockquote></div></div></div></body></html>