<?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 for Thomas Pellard</title>
	<atom:link href="http://www.thomaspellard.info/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.thomaspellard.info</link>
	<description>Syntax Error!</description>
	<lastBuildDate>Thu, 17 Feb 2011 16:43:28 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>Comment on Automatically calcultate your age with LaTeX by Logan West</title>
		<link>http://www.thomaspellard.info/2010/10/automatically-calcultate-your-age-with-latex/#comment-217</link>
		<dc:creator>Logan West</dc:creator>
		<pubDate>Thu, 17 Feb 2011 16:43:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.thomaspellard.info/?p=241#comment-217</guid>
		<description>MWE:

documentclass{article}

%counters to calculate my age. 
%Place `theage&#039; in the document where you want your age to appear.
%year counter, month counter, and day counter
newcounter{dobyear}setcounter{dobyear}{1985}
newcounter{dobmonth}setcounter{dobmonth}{3}
newcounter{dobday}setcounter{dobday}{24}
%calculate number of years
newcounter{age}setcounter{age}{theyear}addtocounter{age}{-thedobyear}
%condition to test for birthmonth, then birth day. 
ifnumthemonth&gt;thedobmonthelse%
	ifnumtheday&lt;thedobdayaddtocounter{age}{-1}fifi

begin{document}
I am theage years old today.
end{document}</description>
		<content:encoded><![CDATA[<p>MWE:</p>
<p>documentclass{article}</p>
<p>%counters to calculate my age.<br />
%Place ‘theage’ in the document where you want your age to appear.<br />
%year counter, month counter, and day counter<br />
newcounter{dobyear}setcounter{dobyear}{1985}<br />
newcounter{dobmonth}setcounter{dobmonth}{3}<br />
newcounter{dobday}setcounter{dobday}{24}<br />
%calculate number of years<br />
newcounter{age}setcounter{age}{theyear}addtocounter{age}{-thedobyear}<br />
%condition to test for birthmonth, then birth day.<br />
ifnumthemonth&gt;thedobmonthelse%<br />
	ifnumtheday&lt;thedobdayaddtocounter{age}{-1}fifi</p>
<p>begin{document}<br />
I am theage years old today.<br />
end{document}</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Automatically calcultate your age with LaTeX by Logan West</title>
		<link>http://www.thomaspellard.info/2010/10/automatically-calcultate-your-age-with-latex/#comment-216</link>
		<dc:creator>Logan West</dc:creator>
		<pubDate>Thu, 17 Feb 2011 16:36:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.thomaspellard.info/?p=241#comment-216</guid>
		<description>I wanted to do something similar and came up with a simpler method, using basic TeX commands:

%counters to calculate my age. 
%Place `theage&#039; in the document where you want your age to appear.
%year counter, month counter, and day counter
newcounter{dobyear}setcounter{dobyear}{1985}
newcounter{dobmonth}setcounter{dobmonth}{3}
newcounter{dobday}setcounter{dobday}{24}
%calculate number of years
newcounter{age}setcounter{age}{theyear}addtocounter{age}{-thedobyear}
%condition to test for birthmonth, then birth day. 
ifnumthemonth&gt;thedobmonthelse%
	ifnumtheday&lt;thedobdayaddtocounter{age}{-1}fifi</description>
		<content:encoded><![CDATA[<p>I wanted to do something similar and came up with a simpler method, using basic TeX commands:</p>
<p>%counters to calculate my age.<br />
%Place ‘theage’ in the document where you want your age to appear.<br />
%year counter, month counter, and day counter<br />
newcounter{dobyear}setcounter{dobyear}{1985}<br />
newcounter{dobmonth}setcounter{dobmonth}{3}<br />
newcounter{dobday}setcounter{dobday}{24}<br />
%calculate number of years<br />
newcounter{age}setcounter{age}{theyear}addtocounter{age}{-thedobyear}<br />
%condition to test for birthmonth, then birth day.<br />
ifnumthemonth&gt;thedobmonthelse%<br />
	ifnumtheday&lt;thedobdayaddtocounter{age}{-1}fifi</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Hosting24 Analytics Code -->
<script type="text/javascript" src="http://stats.hosting24.com/count.php"></script>
<!-- End Of Analytics Code -->
