<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Comments in Latex</title>
	<atom:link href="http://www.rasmusen.org/x/2007/09/07/comments-in-latex/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.rasmusen.org/x/2007/09/07/comments-in-latex/</link>
	<description></description>
	<lastBuildDate>Wed, 05 Jan 2011 17:12:11 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: CY Lee</title>
		<link>http://www.rasmusen.org/x/2007/09/07/comments-in-latex/comment-page-1/#comment-247523</link>
		<dc:creator>CY Lee</dc:creator>
		<pubDate>Sat, 28 Aug 2010 17:35:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.rasmusen.org/x/2007/09/07/comments-in-latex/#comment-247523</guid>
		<description>Many thanks for the commenting tips! 

Tip #3 works great. It is especially easy now for me to create two versions of my tex code that show slightly different content, with only a one-line modification, without having to create two separate files.</description>
		<content:encoded><![CDATA[<p>Many thanks for the commenting tips! </p>
<p>Tip #3 works great. It is especially easy now for me to create two versions of my tex code that show slightly different content, with only a one-line modification, without having to create two separate files.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mike</title>
		<link>http://www.rasmusen.org/x/2007/09/07/comments-in-latex/comment-page-1/#comment-247462</link>
		<dc:creator>mike</dc:creator>
		<pubDate>Thu, 19 Aug 2010 11:39:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.rasmusen.org/x/2007/09/07/comments-in-latex/#comment-247462</guid>
		<description>Further to @pepe&#039;s and @qrystal&#039;s answers to @willygarcia&#039;s question; see the final example here:

http://www.troubleshooters.com/linux/lyx/ownlists.htm

This shows how to do &#039;question and answer&#039; sheets for a multiple choice quiz, again using environments.</description>
		<content:encoded><![CDATA[<p>Further to @pepe&#8217;s and @qrystal&#8217;s answers to @willygarcia&#8217;s question; see the final example here:</p>
<p><a href="http://www.troubleshooters.com/linux/lyx/ownlists.htm" rel="nofollow">http://www.troubleshooters.com/linux/lyx/ownlists.htm</a></p>
<p>This shows how to do &#8216;question and answer&#8217; sheets for a multiple choice quiz, again using environments.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pepe</title>
		<link>http://www.rasmusen.org/x/2007/09/07/comments-in-latex/comment-page-1/#comment-247404</link>
		<dc:creator>pepe</dc:creator>
		<pubDate>Tue, 10 Aug 2010 16:32:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.rasmusen.org/x/2007/09/07/comments-in-latex/#comment-247404</guid>
		<description>@willygarcia:

You can use if-statements or redefine commands at the start of the document to get different versions of the same document.  Eg. embed all answers in a \answer environment and define answer as an empty command or as a command that actually prints the answer...</description>
		<content:encoded><![CDATA[<p>@willygarcia:</p>
<p>You can use if-statements or redefine commands at the start of the document to get different versions of the same document.  Eg. embed all answers in a \answer environment and define answer as an empty command or as a command that actually prints the answer&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Qrystal</title>
		<link>http://www.rasmusen.org/x/2007/09/07/comments-in-latex/comment-page-1/#comment-247329</link>
		<dc:creator>Qrystal</dc:creator>
		<pubDate>Fri, 30 Jul 2010 00:16:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.rasmusen.org/x/2007/09/07/comments-in-latex/#comment-247329</guid>
		<description>This is a good overview of the comment types, so thanks for that.

I&#039;m mostly writing to answer to willygarcia, even though that is a year-old comment now... but in case anyone else is looking, I found the answer to what he wants to do, on another blog:

http://texblog.wordpress.com/2007/12/31/commenting-in-latex/

In case that blog goes away, the commenter was Jonathan Dursi of http://www.cita.utoronto.ca/~ljdursi/ and he said the following:

(AND I QUOTE:)
I’ve grown quite fond of the comment environment, as it allows you to turn on and turn off the commented text. In particular, I now use it for assignments to generate the version with and without solution sets. I put the answers in section blocks like this

\begin{answer}
\end{answer}

and for the version without the solutions, I just include the line

\excludecomment{answer}

To be fancier, and show the answers set off in shaded boxes, I also use the color and framed packages:

\usepackage{color}
\usepackage{framed}
\usepackage{comment}
\definecolor{shadecolor}{gray}{0.875}

as comment allows you to, when showing the commented block, set it in any environment:

\specialcomment{answer}{\begin{shaded}}{\end{shaded}}
(END OF QUOTE.)

Hope that helps, and even more so, I hope the formatting works when I paste his codes here! :)</description>
		<content:encoded><![CDATA[<p>This is a good overview of the comment types, so thanks for that.</p>
<p>I&#8217;m mostly writing to answer to willygarcia, even though that is a year-old comment now&#8230; but in case anyone else is looking, I found the answer to what he wants to do, on another blog:</p>
<p><a href="http://texblog.wordpress.com/2007/12/31/commenting-in-latex/" rel="nofollow">http://texblog.wordpress.com/2007/12/31/commenting-in-latex/</a></p>
<p>In case that blog goes away, the commenter was Jonathan Dursi of <a href="http://www.cita.utoronto.ca/~ljdursi/" rel="nofollow">http://www.cita.utoronto.ca/~ljdursi/</a> and he said the following:</p>
<p>(AND I QUOTE:)<br />
I’ve grown quite fond of the comment environment, as it allows you to turn on and turn off the commented text. In particular, I now use it for assignments to generate the version with and without solution sets. I put the answers in section blocks like this</p>
<p>\begin{answer}<br />
\end{answer}</p>
<p>and for the version without the solutions, I just include the line</p>
<p>\excludecomment{answer}</p>
<p>To be fancier, and show the answers set off in shaded boxes, I also use the color and framed packages:</p>
<p>\usepackage{color}<br />
\usepackage{framed}<br />
\usepackage{comment}<br />
\definecolor{shadecolor}{gray}{0.875}</p>
<p>as comment allows you to, when showing the commented block, set it in any environment:</p>
<p>\specialcomment{answer}{\begin{shaded}}{\end{shaded}}<br />
(END OF QUOTE.)</p>
<p>Hope that helps, and even more so, I hope the formatting works when I paste his codes here! :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: watchmath</title>
		<link>http://www.rasmusen.org/x/2007/09/07/comments-in-latex/comment-page-1/#comment-244054</link>
		<dc:creator>watchmath</dc:creator>
		<pubDate>Mon, 03 Aug 2009 12:08:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.rasmusen.org/x/2007/09/07/comments-in-latex/#comment-244054</guid>
		<description>Thank you for the tip. I finally use your third method and it works perfectly.</description>
		<content:encoded><![CDATA[<p>Thank you for the tip. I finally use your third method and it works perfectly.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: willygarcia</title>
		<link>http://www.rasmusen.org/x/2007/09/07/comments-in-latex/comment-page-1/#comment-244012</link>
		<dc:creator>willygarcia</dc:creator>
		<pubDate>Tue, 28 Jul 2009 00:20:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.rasmusen.org/x/2007/09/07/comments-in-latex/#comment-244012</guid>
		<description>I&#039;m a teacher and I&#039;m trying to write some class materials so I&#039;d like to have questions 
and answers in the same document.  Some sort of &quot;problems book&quot;
and &quot;teacher&#039;s book&quot; at the same time.

That is to say I want them in the same .tex project.  But with
with some sort of redefinition (most likely redefining an environment) I
 would like to show (or not) the answers.

What I have so far is SEARCH AND REPLACE \comment -&gt; \answer
which is not too great.</description>
		<content:encoded><![CDATA[<p>I&#8217;m a teacher and I&#8217;m trying to write some class materials so I&#8217;d like to have questions<br />
and answers in the same document.  Some sort of &#8220;problems book&#8221;<br />
and &#8220;teacher&#8217;s book&#8221; at the same time.</p>
<p>That is to say I want them in the same .tex project.  But with<br />
with some sort of redefinition (most likely redefining an environment) I<br />
 would like to show (or not) the answers.</p>
<p>What I have so far is SEARCH AND REPLACE \comment -&gt; \answer<br />
which is not too great.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Yifeng Zhou</title>
		<link>http://www.rasmusen.org/x/2007/09/07/comments-in-latex/comment-page-1/#comment-236546</link>
		<dc:creator>Yifeng Zhou</dc:creator>
		<pubDate>Sun, 14 Dec 2008 05:06:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.rasmusen.org/x/2007/09/07/comments-in-latex/#comment-236546</guid>
		<description>When \usepackage{verbatim} is used, \comment{} will not work and make all the works after the brackets comments. But, \comments{} still works fine. Regards.</description>
		<content:encoded><![CDATA[<p>When \usepackage{verbatim} is used, \comment{} will not work and make all the works after the brackets comments. But, \comments{} still works fine. Regards.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Arvind</title>
		<link>http://www.rasmusen.org/x/2007/09/07/comments-in-latex/comment-page-1/#comment-228535</link>
		<dc:creator>Arvind</dc:creator>
		<pubDate>Mon, 14 Apr 2008 17:38:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.rasmusen.org/x/2007/09/07/comments-in-latex/#comment-228535</guid>
		<description>So, I guess latex doesn&#039;t have a native command like JAVA or C that allows one to comment out a block of text without %&#039;ing each line?</description>
		<content:encoded><![CDATA[<p>So, I guess latex doesn&#8217;t have a native command like JAVA or C that allows one to comment out a block of text without %&#8217;ing each line?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

