<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Inspirated &#187; Beamer</title>
	<atom:link href="http://inspirated.com/tag/beamer/feed" rel="self" type="application/rss+xml" />
	<link>http://inspirated.com</link>
	<description>krkhan&#039;s blog</description>
	<lastBuildDate>Thu, 05 Apr 2012 16:19:21 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Using overlays for source code listings in LaTeX Beamer</title>
		<link>http://inspirated.com/2010/03/08/using-overlays-for-source-code-listings-in-latex-beamer</link>
		<comments>http://inspirated.com/2010/03/08/using-overlays-for-source-code-listings-in-latex-beamer#comments</comments>
		<pubDate>Mon, 08 Mar 2010 16:33:19 +0000</pubDate>
		<dc:creator>krkhan</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Beamer]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[LaTeX]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://inspirated.com/?p=271</guid>
		<description><![CDATA[The standard way of including source code listings in Beamer is to use the semiverbatim environment. Needless to say, it does not provide all the syntax highlighting and line-numbering love of the listings package. Combine the two and you have something pretty as well as extremely helpful in delivering presentations which have code: 1 2 [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>The standard way of including source code listings in Beamer is to use the <code>semiverbatim</code> environment. Needless to say, it does not provide all the syntax highlighting and line-numbering love of the <code>listings</code> package. Combine the two and you have something pretty as well as extremely helpful in delivering presentations which have code:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
</pre></td><td class="code"><pre class="latex" style="font-family:monospace;"><span style="color: #E02020; ">\</span><span style="color: #800000;">documentclass</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;">beamer</span><span style="color: #E02020; ">}</span>
&nbsp;
<span style="color: #800000; font-weight: normal;">\setbeamercovered</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;">transparent</span><span style="color: #E02020; ">}</span>
&nbsp;
<span style="color: #E02020; ">\</span><span style="color: #800000;">usepackage</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;">pxfonts</span><span style="color: #E02020; ">}</span>
<span style="color: #E02020; ">\</span><span style="color: #800000;">usepackage</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;">listings</span><span style="color: #E02020; ">}</span>
&nbsp;
<span style="color: #C00000; font-weight: normal;">\begin</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;"><span style="color: #0000D0; font-weight: normal;">document</span></span><span style="color: #E02020; ">}</span>
&nbsp;
<span style="color: #800000; font-weight: normal;">\lstset</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;">language=python,
        numbers=left,
        numberstyle=<span style="color: #800000; font-weight: normal;">\tiny</span>,
        showstringspaces=false,
        aboveskip=-40pt,
        frame=leftline
        </span><span style="color: #E02020; ">}</span>
&nbsp;
<span style="color: #C00000; font-weight: normal;">\begin</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;"><span style="color: #0000D0; font-weight: normal;">frame</span></span><span style="color: #E02020; ">}[</span><span style="color: #C08020; font-weight: normal;">fragile</span><span style="color: #E02020; ">]</span>
<span style="color: #800000; font-weight: normal;">\frametitle</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;">\<span style="color: #800000;">texttt</span>{parrot.py</span><span style="color: #E02020; ">}}</span>
<span style="color: #C00000; font-weight: normal;">\begin</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;"><span style="color: #0000D0; font-weight: normal;">semiverbatim</span></span><span style="color: #E02020; ">}</span>
<span style="color: #800000; font-weight: normal;">\pause</span>
<span style="color: #C00000; font-weight: normal;">\begin</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;"><span style="color: #0000D0; font-weight: normal;">lstlisting</span></span><span style="color: #E02020; ">}</span>
if __name__ == &quot;__main&quot;:
&nbsp;
<span style="color: #C00000; font-weight: normal;">\end</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;"><span style="color: #0000D0; font-weight: normal;">lstlisting</span></span><span style="color: #E02020; ">}</span>
&nbsp;
<span style="color: #800000; font-weight: normal;">\pause</span>
<span style="color: #C00000; font-weight: normal;">\begin</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;"><span style="color: #0000D0; font-weight: normal;">lstlisting</span></span><span style="color: #E02020; ">}[</span><span style="color: #C08020; font-weight: normal;">firstnumber=last</span><span style="color: #E02020; ">]</span>
    print &quot;Oh yes, the, uh,
           the Norwegian Blue...&quot;
    print &quot;What's, uh...
           What's wrong with it? &quot;
&nbsp;
<span style="color: #C00000; font-weight: normal;">\end</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;"><span style="color: #0000D0; font-weight: normal;">lstlisting</span></span><span style="color: #E02020; ">}</span>
&nbsp;
<span style="color: #800000; font-weight: normal;">\pause</span>
<span style="color: #C00000; font-weight: normal;">\begin</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;"><span style="color: #0000D0; font-weight: normal;">lstlisting</span></span><span style="color: #E02020; ">}[</span><span style="color: #C08020; font-weight: normal;">firstnumber=last</span><span style="color: #E02020; ">]</span>
    print &quot;I'll tell you what's wrong with it,
           my lad.&quot;
    print &quot;'E's dead,
           that's what's wrong with it!&quot;
&nbsp;
<span style="color: #C00000; font-weight: normal;">\end</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;"><span style="color: #0000D0; font-weight: normal;">lstlisting</span></span><span style="color: #E02020; ">}</span>
<span style="color: #C00000; font-weight: normal;">\end</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;"><span style="color: #0000D0; font-weight: normal;">semiverbatim</span></span><span style="color: #E02020; ">}</span>
<span style="color: #C00000; font-weight: normal;">\end</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;"><span style="color: #0000D0; font-weight: normal;">frame</span></span><span style="color: #E02020; ">}</span>
&nbsp;
<span style="color: #C00000; font-weight: normal;">\end</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;"><span style="color: #0000D0; font-weight: normal;">document</span></span><span style="color: #E02020; ">}</span></pre></td></tr></table></div>

<p style="text-align: center"><img src="http://inspirated.com/uploads/beamer-listings.jpg" alt="Overlayed Listings in Beamer" /></p>
<div class="shr-publisher-271"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic --><hr />
<p><small><a href="http://inspirated.com/2010/03/08/using-overlays-for-source-code-listings-in-latex-beamer">Permalink</a> |
<a href="http://inspirated.com/2010/03/08/using-overlays-for-source-code-listings-in-latex-beamer#comments">One comment</a>
<br/>
Post tags: <a href="http://inspirated.com/tag/beamer" rel="tag">Beamer</a>, <a href="http://inspirated.com/tag/code" rel="tag">Code</a>, <a href="http://inspirated.com/tag/latex" rel="tag">LaTeX</a>, <a href="http://inspirated.com/tag/technology" rel="tag">Technology</a>, <a href="http://inspirated.com/tag/tutorial" rel="tag">Tutorial</a><br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://inspirated.com/2010/03/08/using-overlays-for-source-code-listings-in-latex-beamer/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>The Defense</title>
		<link>http://inspirated.com/2010/03/03/the-defense</link>
		<comments>http://inspirated.com/2010/03/03/the-defense#comments</comments>
		<pubDate>Wed, 03 Mar 2010 17:08:43 +0000</pubDate>
		<dc:creator>krkhan</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Beamer]]></category>
		<category><![CDATA[ITTC]]></category>
		<category><![CDATA[LaTeX]]></category>
		<category><![CDATA[Rants]]></category>

		<guid isPermaLink="false">http://inspirated.com/?p=269</guid>
		<description><![CDATA[Continuing the process of presenting my proposal for the graduation project, I was required to do a presentation. Now, I have never really liked PowerPoint and for more reasons than it being a product of Microsoft (I was never really into OpenOffice.org Impress either). In fact, I have never liked doing presentations in the first [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>Continuing the process of presenting my <a href="http://inspirated.com/2010/02/16/houston-tranquility-base-here-the-proposal-has-landed">proposal</a> for the graduation project, I was required to do a presentation. Now, I have never really liked PowerPoint and for more reasons than it being a product of Microsoft (I was never really into OpenOffice.org Impress either).</p>
<p>In fact, I have never liked doing presentations in the first place. My preferred means of communicating an idea is through written material or face-to-face discussions. Anyhow, seeing as I <em>had</em> to do a formal presentation, I turned towards the solution that would provide some additional attraction for me: <img src="http://inspirated.com/uploads/latex.jpg" alt="LaTeX" /> <a href="http://latex-beamer.sourceforge.net/">Beamer</a>.</p>
<p>After fiddling around with my <code>.tex</code> for a few hours, I was able to create something which <em>looked</em> <sup>[*]</sup> far more professional, sexier and informative than anything I had ever created using traditional presentation software:</p>
<p style="text-align: center"><a href="http://inspirated.com/uploads/ittc-defense-presentation.pdf">ittc-defense-presentation.pdf<br />
<img src="http://inspirated.com/uploads/ittc-defense-presentation-thumb.jpg" alt="Presentation Screenshot" /></a></p>
<p>To view the presentation you have to open it in &#8220;Slide Show&#8221; mode of your favorite PDF reader. What totally blew me away was the ease with which I could create lovely bibliographic references, mathematical equations and little fun things like navigational bar on top of every page. Perhaps it&#8217;s got to do something with the mindset of a programmer, but I certainly became more productive with Beamer within a couple of hours than I had been throughout my experience with PowerPoint/Impress.</p>
<p style="font-size: x-small"><sup>[*]</sup> Whether they <em>were</em> professional, sexy or informative is a totally different matter and has very little to do with either LaTeX or Beamer.</p>
<div class="shr-publisher-269"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic --><hr />
<p><small><a href="http://inspirated.com/2010/03/03/the-defense">Permalink</a> |
<a href="http://inspirated.com/2010/03/03/the-defense#comments">2 comments</a>
<br/>
Post tags: <a href="http://inspirated.com/tag/beamer" rel="tag">Beamer</a>, <a href="http://inspirated.com/tag/ittc" rel="tag">ITTC</a>, <a href="http://inspirated.com/tag/latex" rel="tag">LaTeX</a>, <a href="http://inspirated.com/tag/rants" rel="tag">Rants</a><br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://inspirated.com/2010/03/03/the-defense/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.431 seconds -->

