<?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>handyfloss &#187; LaTeX</title>
	<atom:link href="http://handyfloss.net/tag/latex/feed/" rel="self" type="application/rss+xml" />
	<link>http://handyfloss.net</link>
	<description>Because FLOSS is handy, isn&#039;t it?</description>
	<lastBuildDate>Mon, 21 May 2012 06:44:32 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>LaTeX input in Inkscape 0.46</title>
		<link>http://handyfloss.net/2008.07/latex-input-in-inkscape-046/</link>
		<comments>http://handyfloss.net/2008.07/latex-input-in-inkscape-046/#comments</comments>
		<pubDate>Mon, 21 Jul 2008 13:09:48 +0000</pubDate>
		<dc:creator>isilanes</dc:creator>
				<category><![CDATA[Free software and related beasts]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[en]]></category>
		<category><![CDATA[FLOSS]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[inkscape]]></category>
		<category><![CDATA[LaTeX]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://handyfloss.net/?p=334</guid>
		<description><![CDATA[I use Inkscape to do many of the drawings for my articles and talks, and have come across an irritating problem: I could not include LaTeX formulas on it. I have googled a bit about it, and the first match already led me to a bug report, where a comment by Kees Cook gives a [...]]]></description>
			<content:encoded><![CDATA[<p>I use <a href="http://en.wikipedia.org/wiki/Inkscape">Inkscape</a> to do many of the drawings for my articles and talks, and have come across an irritating problem: I could not include <a href="http://en.wikipedia.org/wiki/LaTeX">LaTeX</a> formulas on it. I have <a href="http://www.google.com/search?q=inkscape+0.46+latex+problem">googled a bit about it</a>, and the <a href="https://launchpad.net/bugs/195052">first match</a> already led me to a bug report, where <a href="https://bugs.launchpad.net/inkscape/+bug/195052/comments/20">a comment by Kees Cook</a> gives a fix that I quote below:</p>
<p><code>% cd /usr/share/inkscape/extensions<br />
% curl -s 'http://launchpadlibrarian.net/12978623/eqtexsvg.py.patch' | sudo patch -p0</code></p>
<p>The bug affects (and the patch fixes) Inkscape 0.46 on <a href="http://en.wikipedia.org/wiki/Ubuntu">Ubuntu</a> Hardy Heron and <a href="http://en.wikipedia.org/wiki/Debian">Debian</a> Lenny (that I know of).</p>
]]></content:encoded>
			<wfw:commentRss>http://handyfloss.net/2008.07/latex-input-in-inkscape-046/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Interesting TeX tricks</title>
		<link>http://handyfloss.net/2007.12/interesting-tex-tricks/</link>
		<comments>http://handyfloss.net/2007.12/interesting-tex-tricks/#comments</comments>
		<pubDate>Wed, 19 Dec 2007 18:04:26 +0000</pubDate>
		<dc:creator>isilanes</dc:creator>
				<category><![CDATA[LaTeX for non-masochists]]></category>
		<category><![CDATA[en]]></category>
		<category><![CDATA[FLOSS]]></category>
		<category><![CDATA[LaTeX]]></category>
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://handyfloss.net/?p=265</guid>
		<description><![CDATA[Simply a page with some interesting TeX tricks: volkerschatz.com.]]></description>
			<content:encoded><![CDATA[<p>Simply a page with some interesting <a href="http://en.wikipedia.org/wiki/TeX">TeX</a>  tricks: <a href="http://www.volkerschatz.com/tex/tex.html">volkerschatz.com</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://handyfloss.net/2007.12/interesting-tex-tricks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>LaTeX programming: how to implement conditionals</title>
		<link>http://handyfloss.net/2007.08/latex-programming-how-to-implement-conditionals/</link>
		<comments>http://handyfloss.net/2007.08/latex-programming-how-to-implement-conditionals/#comments</comments>
		<pubDate>Wed, 29 Aug 2007 20:47:00 +0000</pubDate>
		<dc:creator>isilanes</dc:creator>
				<category><![CDATA[LaTeX for non-masochists]]></category>
		<category><![CDATA[en]]></category>
		<category><![CDATA[FLOSS]]></category>
		<category><![CDATA[LaTeX]]></category>
		<category><![CDATA[PS/PDF]]></category>
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://handyfloss.net/?p=219</guid>
		<description><![CDATA[I have recently come across a problem while creating a LaTeX style (for making A0-size posters). Maybe it could be avoided or solved more elegantly, but I wanted to solve it with conditionals. Basically, what I wanted to do was define a command (actually, an environment) that accepted one argument, and make it return different [...]]]></description>
			<content:encoded><![CDATA[<p>I have recently come across a problem while creating a LaTeX style (for making A0-size posters). Maybe it could be avoided or solved more elegantly, but I wanted to solve it with conditionals.</p>
<p>Basically, what I wanted to do was define a command (actually, an environment) that accepted one argument, and make it return different output, depending on the argument:</p>
<pre><code>if (argument equals something) then
  do something
else
  do somethingelse
end if</code></pre>
<p>It gave me some headaches to get it, but I also learned some interesting things on the way. There are at least two ways of playing with conditionals: defining <a href="http://en.wikipedia.org/wiki/Boolean_datatype">boolean variables</a> or directly using logical comparisons.</p>
<p><strong>Defining logical valiables</strong></p>
<p>We can define a logical variable <tt>logvar</tt> as follows:</p>
<pre><code>\newif\iflogvar</code></pre>
<p>By default, it is set to <tt>false</tt>. We can set it to <tt>true</tt> by:</p>
<pre><code>\logvartrue</code></pre>
<p>and back to <tt>false</tt> by:</p>
<pre><code>\logvarfalse</code></pre>
<p>The variable can be used in a conditional as follows:</p>
<pre><code>\iflogvar
  aaaa
\else
  bbbb
\fi</code></pre>
<p>You can think of the above code as a single object, the output value of which will be &#8220;aaaa&#8221; if <tt>logvar</tt> is true, and &#8220;bbbb&#8221; if false. Basically, the following code will, thus, output &#8220;Today is <strong>great</strong>&#8220;:</p>
<pre><code>Today

\newif\ifismonday

\ismondayfalse

\ifismonday
  sucks!
\else
  is \textbf{great}
\fi</code></pre>
<p><strong>Direct logic comparison</strong></p>
<p>The example I provide works for numbers, but check <a href="http://www-sop.inria.fr/apics/tralics/doc-i.html#cmd-if">this page</a> for more info. Recall that LaTeX works with integers (counters) and text strings. As far as I know, <a href="http://en.wikipedia.org/wiki/Floating_point">floating point</a> operations are impossible in LaTeX (nothing is actually impossible in LaTeX, just veeery difficult).</p>
<p>For example, defining the following command in the preamble:</p>
<pre><code>\newcommand{\isitthree}[1]
{
  \ifnum#1=3
    number #1 is 3
  \else
    number #1 is not 3
  \fi
}</code></pre>
<p>allows us to call it in the document, so the following outputs &#8220;We know that number 33 is not 3&#8243;:</p>
<pre><code>We know that \isitthree{33}</code></pre>
<p><strong>Nesting</strong></p>
<p>Obviously the conditionals can be nested (put one inside another), when more than one condition needs to be tested. For example:</p>
<pre><code>Today

\newif\ifismonday
\newif\ifistuesday

\ismondayfalse
\istuesdaytrue

\ifismonday
  sucks!
\else
  \ifistuesday
    almost sucks.
  \else
    is \textbf{great}
  \fi
\fi</code></pre>
]]></content:encoded>
			<wfw:commentRss>http://handyfloss.net/2007.08/latex-programming-how-to-implement-conditionals/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>PowerDot screen size error in Debian Lenny</title>
		<link>http://handyfloss.net/2007.07/powerdot-screen-size-error-in-debian-lenny/</link>
		<comments>http://handyfloss.net/2007.07/powerdot-screen-size-error-in-debian-lenny/#comments</comments>
		<pubDate>Sun, 29 Jul 2007 14:29:00 +0000</pubDate>
		<dc:creator>isilanes</dc:creator>
				<category><![CDATA[LaTeX for non-masochists]]></category>
		<category><![CDATA[en]]></category>
		<category><![CDATA[FLOSS]]></category>
		<category><![CDATA[LaTeX]]></category>
		<category><![CDATA[PS/PDF]]></category>
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://handyfloss.net/?p=213</guid>
		<description><![CDATA[I use the PowerDot class to make presentations (such as the one in a previous post), and I have come across a nasty problem in the current testing branch of Debian (Lenny). Obviously it is bound to affect any other distro relying on Debian, such as Ubuntu. The problem is discussed in this thread in [...]]]></description>
			<content:encoded><![CDATA[<p>I use the PowerDot class to make presentations (such as the one <a href="http://isilanes.blogspot.com/2007/07/application-of-week-pdf-cube.html">in a previous post</a>), and I have come across a nasty problem in the current <em>testing</em> branch of <a href="http://www.debian.org">Debian</a> (<em>Lenny</em>). Obviously it is bound to affect any other distro relying on Debian, such as Ubuntu.</p>
<p>The problem is discussed in <a href="http://www.freelists.org/archives/powerdot/05-2007/msg00019.html">this thread</a> in <tt>freelists.org</tt>, and a solution is given by <a href="http://stuwww.uvt.nl/~hendri/">Hendri Adriaens</a> in the <a href="http://tug.org/texlive/bugs.html">tug.org bug page</a>.</p>
<p>In short, when selecting <tt>paper=screen</tt> paper size in a PowerDot <tt>.tex</tt> file, the current <tt>dvips</tt> (version 5.96.1, provided by the package <tt>texlive-bin</tt> version 2007-12) generates a PostScript file with a wrong paper size. To fix it, you can get the following file:</p>
<p><code>% wget http://tug.org/svn/texlive/trunk/Master/texmf/dvips/config/config.ps</code></p>
<p>and put it where the following command tells you:</p>
<p><code>% kpsewhich --format='dvips config' config.ps</code></p>
<p>after backing up the old (buggy) one, just in case. For example:</p>
<p><code>% mv /etc/texmf/dvips/config/config.ps /etc/texmf/dvips/config/config.ps.backup<br />
% mv config.ps /etc/texmf/dvips/config/</code></p>
<p>This fixes the problem for me.</p>
]]></content:encoded>
			<wfw:commentRss>http://handyfloss.net/2007.07/powerdot-screen-size-error-in-debian-lenny/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>App of the week: PDF Cube</title>
		<link>http://handyfloss.net/2007.07/app-of-the-week-pdf-cube/</link>
		<comments>http://handyfloss.net/2007.07/app-of-the-week-pdf-cube/#comments</comments>
		<pubDate>Sat, 28 Jul 2007 12:30:00 +0000</pubDate>
		<dc:creator>isilanes</dc:creator>
				<category><![CDATA[Application of the Week]]></category>
		<category><![CDATA[en]]></category>
		<category><![CDATA[FLOSS]]></category>
		<category><![CDATA[LaTeX]]></category>
		<category><![CDATA[PS/PDF]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[Xgl]]></category>
		<category><![CDATA[YouTube]]></category>

		<guid isPermaLink="false">http://handyfloss.net/?p=211</guid>
		<description><![CDATA[I just found this little app browsing for PDF software in my Debian aptitude repository contents. In short, PDF Cube displays PDFs in full screen, adding Compiz-like cube transitions from slide to slide if we want. The following YouTube video shows how it works: [youtube=http://youtube.com/watch?v=AscU72HOwgM] You can notice the mixed regular/cube transitions, as well as [...]]]></description>
			<content:encoded><![CDATA[<p>I just found this little app browsing for PDF software in my <a href="http://www.debian.org">Debian</a> <a href="http://en.wikipedia.org/wiki/Aptitude_%28program%29">aptitude</a> repository contents.</p>
<p>In short, <a href="http://code.100allora.it/pdfcube">PDF Cube</a> displays PDFs in full screen, adding <a href="http://en.wikipedia.org/wiki/Compiz">Compiz</a>-like cube transitions from slide to slide if we want. The following YouTube video shows how it works:</p>
<p>[youtube=http://youtube.com/watch?v=AscU72HOwgM]</p>
<p>You can notice the mixed regular/cube transitions, as well as the five zooming options used in slide 4.</p>
<p>By the way, I have started the <a href="http://en.wikipedia.org/wiki/PDF_Cube">Wikipedia article for PDF Cube</a>. I think this little program deserves to be in the Wikipedia.</p>
<p>Incidentally, the above is the first video I upload to YouTube! :^)</p>
]]></content:encoded>
			<wfw:commentRss>http://handyfloss.net/2007.07/app-of-the-week-pdf-cube/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>LaTeX: the textpos package</title>
		<link>http://handyfloss.net/2007.05/latex-the-textpos-package/</link>
		<comments>http://handyfloss.net/2007.05/latex-the-textpos-package/#comments</comments>
		<pubDate>Tue, 29 May 2007 19:25:00 +0000</pubDate>
		<dc:creator>isilanes</dc:creator>
				<category><![CDATA[LaTeX for non-masochists]]></category>
		<category><![CDATA[en]]></category>
		<category><![CDATA[FLOSS]]></category>
		<category><![CDATA[LaTeX]]></category>
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://handyfloss.net/?p=200</guid>
		<description><![CDATA[I have recently discovered a marvelous LaTeX package, namely textpos (PDF manual). My problem was that I wanted to place pieces of text arbitrarily in a page. I had tried tabular environments, a liberal use of \vspace and \hspace, the minipage environment, and even the picture environment. None would do. However textpos is just what [...]]]></description>
			<content:encoded><![CDATA[<p>I have recently discovered a marvelous LaTeX package, namely <tt>textpos</tt> (<a href="http://www.tex.ac.uk/tex-archive/macros/latex/contrib/textpos/textpos.pdf">PDF manual</a>). My problem was that I wanted to place pieces of text arbitrarily in a page. I had tried <tt>tabular</tt> environments, a liberal use of <tt>\vspace</tt> and <tt>\hspace</tt>, the <tt>minipage</tt> environment, and even the <tt>picture</tt> environment. None would do.</p>
<p>However <tt>textpos</tt> is just what I wanted. The package is loaded with the usual:</p>
<pre>\usepackage[<em>options</em>]{textpos}</pre>
<p>The <em>options</em> I have used are:</p>
<ul>
<li><tt>absolute</tt> &#8211; the placing is made with respect to the whole page (stuff me if I understand this)</li>
<li><tt>showboxes</tt> &#8211; draws boxes around the text, so you exactly see what you do (for debugging, of course)</li>
</ul>
<p>Some variables have to (can) be set, namely the width and height units, for example:</p>
<pre>\setlength{\TPHorizModule}{\paperwidth}\setlength{\TPVertModule}{\paperheight}</pre>
<p>After that, all the placing specifications can be referred to <tt>\TPHorizModule</tt> and <tt>TPVertModule</tt>. A typical use of <tt>textpos</tt> would be:</p>
<pre>\begin{textblock}{<em>width</em>}[<em>xt</em>,<em>yt</em>](X,Y)  <em>the-text-goes-here</em>  \end{textblock}</pre>
<p>where <em>width</em> is the desired width of the text box (the height will be enough to place all the text specified), <em>X</em> and <em>Y</em> are the (x,y) placement of the text box, and <em>xt</em> and <em>yt</em> are the point inside the text box which will be placed at (<em>X</em>,<em>Y</em>). All the units refer to <tt>\TPHorizModule</tt> and <tt>TPVertModule</tt>. For example:</p>
<pre>\begin{textblock}{0.6}[0.5,0.5](0.3,0.4)  hello world\end{textblock}</pre>
<p>will print the text <em>&#8220;hello world&#8221;</em> in a box of width 60% of <tt>\TPHorizModule</tt> (in my example, this is 60% of the total page width). The center (0.5,0.5) of that box will be placed at a point 30% to the right of the left margin, and 40% below the top margin (in <tt>TPxxxModule</tt> units).</p>
]]></content:encoded>
			<wfw:commentRss>http://handyfloss.net/2007.05/latex-the-textpos-package/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Word processors are easy to use</title>
		<link>http://handyfloss.net/2007.02/word-processors-are-easy-to-use/</link>
		<comments>http://handyfloss.net/2007.02/word-processors-are-easy-to-use/#comments</comments>
		<pubDate>Sun, 18 Feb 2007 20:29:00 +0000</pubDate>
		<dc:creator>isilanes</dc:creator>
				<category><![CDATA[LaTeX for non-masochists]]></category>
		<category><![CDATA[en]]></category>
		<category><![CDATA[LaTeX]]></category>
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://handyfloss.net/?p=179</guid>
		<description><![CDATA[Frustrating. Very frustrating. I am teaching my father how to use OpenOffice.org, as a replacement/reinforcement of a MS Word course he took recently. My present rant comes from the ubiquitous problem of where some feature of a text piece starts/ends, which is not always obvious. More precisely, I&#8217;ll refer to itemized/numbered lists and nested lists, [...]]]></description>
			<content:encoded><![CDATA[<p>Frustrating. Very frustrating.</p>
<p>I am teaching my father how to use <a href="http://en.wikipedia.org/wiki/OpenOffice.org">OpenOffice.org</a>, as a replacement/reinforcement of a <a href="http://en.wikipedia.org/wiki/Microsoft_Word">MS Word</a> course he took recently.</p>
<p>My present rant comes from the ubiquitous problem of where some feature of a text piece starts/ends, which is not always obvious. More precisely, I&#8217;ll refer to itemized/numbered lists and nested lists, like:</p>
<pre>
* Item 1
  - Subitem 1.1
* Item 2
  - Subitem 2.1
  - Subitem 2.2
</pre>
<p>After years using <a href="http://en.wikipedia.org/wiki/LaTeX">LaTeX</a> almost exclusively for document writing, I found it annoying to no end the way in which OpenOffice.org (or any other <a href="http://en.wikipedia.org/wiki/Word_processor">word processor</a>) handles this kind of things. When I make a list of items, I want the list to be perfectly separated from the surrounding (regular) text, so that I know exactly when I am introducing items in the list, or text before or after the list. I also want to have a logical tree of items and subitems, so I know in every moment at what nesting level I am, and what comes after, or at a lower level than, what.</p>
<p>With LaTeX, this is trivial, as can be seen in the following example:</p>
<pre>
text before list

\begin{enumerate}

  \item Item 1

  \begin{enumerate}    \item Subitem 2  \end{enumerate}

\end{enumerate}

text after list
</pre>
<p>I have absolute control about what belongs where. No more fuss about terminating the lists, or about inserting them somewhere, or anything.</p>
<p>On the other hand, word processors provide neither clear separation from the surrounding nor logic for lists. My poor father was struggling to teach the damned program what nest level each entry he wanted it in, how to eliminate the damned dangling &#8220;last item&#8221;, how to add text after a list, but telling the program that it is already out of the list&#8230; a nightmare. Yes, some of his problems were probably trivial, but I am the first to admit that I have come across all of them at least once. And some, I never figured out.</p>
]]></content:encoded>
			<wfw:commentRss>http://handyfloss.net/2007.02/word-processors-are-easy-to-use/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>TeX capacity exceeded error</title>
		<link>http://handyfloss.net/2006.11/tex-capacity-exceeded-error/</link>
		<comments>http://handyfloss.net/2006.11/tex-capacity-exceeded-error/#comments</comments>
		<pubDate>Thu, 30 Nov 2006 11:00:00 +0000</pubDate>
		<dc:creator>isilanes</dc:creator>
				<category><![CDATA[LaTeX for non-masochists]]></category>
		<category><![CDATA[en]]></category>
		<category><![CDATA[LaTeX]]></category>
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://handyfloss.net/?p=148</guid>
		<description><![CDATA[I am definitely dumb. Well, LaTeX has its part in it, too. It turns out that all of a sudden, I started having this error when compiling a .tex file: ! TeX capacity exceeded, sorry [input stack size=1500]. After googling for an answer, I found out that the &#8220;stack size&#8221; limit is defined in the [...]]]></description>
			<content:encoded><![CDATA[<p>I am  definitely dumb. Well, LaTeX has its part in it, too.</p>
<p>It turns out that all of a sudden, I started having this error when compiling a .tex file:</p>
<p><code>! TeX capacity exceeded, sorry [input stack size=1500].</code></p>
<p>After googling for an answer, I found out that the <em>&#8220;stack size&#8221;</em> limit is defined in the following file:</p>
<p><code>/usr/share/texmf/web2c/texmf.cnf</code></p>
<p>However, changing the value made no good: any limit, no matter how large, would be &#8220;exceeded&#8221;. The reason (after a little more hitting my head against the wall) is that there was an infinite loop in the input .tex (maybe <code>\input{file.tex}</code> <strong>inside</strong> <code>file.tex</code>, or somesuch). 10 hours (well, 5 minutes, actually) of head-banging later, when I was pretty sure no freaking infinite loop was there, I found the answer:</p>
<p><strong>I had deleted the <code>\end{document}</code> tag!!</strong></p>
<p>Now, yes, how stupid am I? And&#8230; how stupid is LaTeX to give that silly error, instead of:</p>
<p><code>TeX warning: You are too dumb, and forgot an \end{document}</code></p>
]]></content:encoded>
			<wfw:commentRss>http://handyfloss.net/2006.11/tex-capacity-exceeded-error/feed/</wfw:commentRss>
		<slash:comments>34</slash:comments>
		</item>
		<item>
		<title>Custom style in PowerDot</title>
		<link>http://handyfloss.net/2006.11/custom-style-in-powerdot/</link>
		<comments>http://handyfloss.net/2006.11/custom-style-in-powerdot/#comments</comments>
		<pubDate>Tue, 28 Nov 2006 18:10:00 +0000</pubDate>
		<dc:creator>isilanes</dc:creator>
				<category><![CDATA[LaTeX for non-masochists]]></category>
		<category><![CDATA[en]]></category>
		<category><![CDATA[FLOSS]]></category>
		<category><![CDATA[LaTeX]]></category>
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://handyfloss.net/?p=147</guid>
		<description><![CDATA[Rembember I mentioned PowerDot for LaTeX? PowerDot is a LaTeX class to produce PowerPoint-like presentations. It creates PDFs that can be read fullscreen with any PDF reader, and turn out to be very nice looking presentations. I am now fiddling with it, and wanted to do a custom style. I have read the PowerDot Manual[PDF], [...]]]></description>
			<content:encoded><![CDATA[<p>Rembember <a href="http://isilanes.blogspot.com/2006/09/latex-powerdot.html">I mentioned PowerDot</a> for LaTeX? PowerDot is a LaTeX class to produce PowerPoint-like presentations. It creates PDFs that can be read fullscreen with any PDF reader, and turn out to be very nice looking presentations.</p>
<p>I am now fiddling with it, and wanted to do a custom style. I have read the <a href="http://www.ctan.org/tex-archive/macros/latex/contrib/powerdot/doc/powerdot.pdf">PowerDot Manual[PDF]</a>, and it says all you have to do is to copy and rename an existing style, then modify it:</p>
<p><code>% cd /usr/share/texmf-texlive/tex/latex/powerdot/<br />
% cp powerdot-default.sty powerdot-isilanes.sty<br />
% vi powerdot-isilanes.sty</code></p>
<p>Then, put <code>style=isilanes</code> in your <code>.tex</code>, <em>et voilà!</em>. Well, it fails misserably, saying (among the usual garbage):</p>
<p><code>! Class powerdot Error: unknown style `isilanes'.</code></p>
<p>But the <code>.sty</code> <strong>is</strong> there!</p>
<p>OK, the problem is that LaTeX &#8220;doesn&#8217;t know&#8221; you added the style. To remind it, in my <a href="http://www.debian.org">Debian</a> Etch box:</p>
<p><code>% dpkg-reconfigure tetex-base</code></p>
<p>or, much better (thanks to a comment by bjacquem):</p>
<p><code>% texhash</code></p>
<p>This seems to &#8220;refresh&#8221; the internal LaTeX database, and now it works.</p>
]]></content:encoded>
			<wfw:commentRss>http://handyfloss.net/2006.11/custom-style-in-powerdot/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>LaTeX: PowerDot</title>
		<link>http://handyfloss.net/2006.09/latex-powerdot/</link>
		<comments>http://handyfloss.net/2006.09/latex-powerdot/#comments</comments>
		<pubDate>Wed, 06 Sep 2006 17:27:00 +0000</pubDate>
		<dc:creator>isilanes</dc:creator>
				<category><![CDATA[LaTeX for non-masochists]]></category>
		<category><![CDATA[en]]></category>
		<category><![CDATA[FLOSS]]></category>
		<category><![CDATA[LaTeX]]></category>
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://handyfloss.net/?p=108</guid>
		<description><![CDATA[Tired of hearing that GNU/Linux is good for &#8220;technical things&#8221;, but not for visually appealing matters, such as presentations? Tired of hearing that LaTeX is good for 200-page books full of cross-references, tables and bibliograpy, but not for &#8220;other&#8221; documents? Well, next time you can point your ignorant fellow to some LaTeX solutions for making [...]]]></description>
			<content:encoded><![CDATA[<p>Tired of hearing that GNU/Linux is good for &#8220;technical things&#8221;, but not for visually appealing matters, such as presentations? Tired of hearing that LaTeX is good for 200-page books full of cross-references, tables and bibliograpy, but not for &#8220;other&#8221; documents?</p>
<p>Well, next time you can point your ignorant fellow to some LaTeX solutions for making fancy presentations.</p>
<p>You can find some overviews here:</p>
<ul>  <a href="http://me.in-berlin.de/~miwie/presentations/presentations.html">Michael Wiedmann&#8217;s site</a> (2005)<br />
<a href="http://lwn.net/Articles/101846/">Linux Weekly News</a> (2004)<br />
<a href="http://cheminfo.informatics.indiana.edu/~rguha/writing/pub/prosper/prosper.html"> Rajarshi Guha&#8217;s site</a> (2002)</ul>
<p>Among the different programs and methods, I&#8217;d like to mention the <a href="http://www.tug.org/applications/Seminar/">Seminar</a> and <a href="http://prosper.sourceforge.net/">Prosper</a> packages for <a href="http://en.wikipedia.org/wiki/LaTeX">LaTeX</a>. Prosper was written by Timothy van Zandt, and is available as a package for <a href="http://www.debian.org">Debian</a>. However, the Prosper package had its capabilities extended by Hendri Adriaens, to create the <a href="http://stuwww.uvt.nl/~hendri/">HA-prosper</a> LaTeX package. Later on, HA-prosper was dropped, and Adriaens and Christopher Ellison commited themselves to the development of <a href="http://www.ctan.org/tex-archive/macros/latex/contrib/powerdot/">PowerDot</a>, a LaTeX class that would supercede both Prosper and HA-Prosper. The PowerDot class (and many others) can be found in the Debian package <code>texlive-latex-recommended</code>.</p>
<p>What Prosper, HA-Prosper and PowerDot do is (since you are using LaTeX) create a <a href="http://en.wikipedia.org/wiki/DVI_%28file_format%29">DVI</a>, <a href="http://en.wikipedia.org/wiki/PostScript">PS</a> or <a href="http://en.wikipedia.org/wiki/Portable_Document_Format">PDF</a>. Usually, your aim will be to create a PDF, since it even allows for fancy slide transitions (an infamous hability of you know who).</p>
<p>Examples of PowerDot presentations (taken from Adriaens&#8217; site), can be accessed here: <a href="http://stuwww.uvt.nl/%7Ehendri/Downloads/Files/powerdot-example1.pdf">Example 1</a>, <a href="http://stuwww.uvt.nl/%7Ehendri/Downloads/Files/powerdot-example2.pdf">Example 2</a>, <a href="http://stuwww.uvt.nl/%7Ehendri/Downloads/Files/powerdot-example3.pdf">Example 3</a>.</p>
<p>Actually, I am considering to use PowerDot to make the presentation of my PhD defense&#8230; I hope I don&#8217;t give up and end up using the <a href="http://en.wikipedia.org/wiki/Graphical_user_interface">GUI</a> (and, thus, evil) programs <a href="http://www.koffice.org/kpresenter/">KPresenter</a> or (God forbid) <a href="http://www.openoffice.org/">OpenOffice.org</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://handyfloss.net/2006.09/latex-powerdot/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

