## Tuesday, March 4, 2008

### Reddit alien in LaTeX

What to do on a lazy sunday afternoon? Well, there are probably a thousand useful
things one could do, but I chose to do something completely useless. And here it is, the reddit alien drawn in LaTeX (using PsTricks) :)

\documentclass{memoir}\usepackage{pstricks}\usepackage{pst-all}\begin{document}\thispagestyle{empty}%\psset{linecolor=red}\psset{linewidth=1pt}\begin{pspicture}(6,9)%\psgrid[subgriddiv=1,griddots=10,gridlabels=10pt](0,0)(12,12)\psframe(0,0)(6,9)% head\psellipse(3,6)(1.8,1)% ears\psarc{-}(1.5,6.5){0.4}{38}{230}\psarc{-}(4.5,6.5){0.4}{-50}{142}% eyes\pscircle[fillstyle=solid,linestyle=none,fillcolor=orange](2.3,6.3){0.3}\pscircle[fillstyle=solid,linestyle=none,fillcolor=orange](3.7,6.3){0.3}% mouth\psbezier(2.3,5.6)(2.5,5.3)(3.5,5.3)(3.7,5.6)% the tentacle thingie\psline(2.99,6.99)(3.6,8)\psline(3.581,7.993)(4.1,7.8)\pscircle(4.35,7.65){0.3}% arms\psarc{-}(2.8,4.3){1.1}{130}{231}\psarc{-}(3.15,4.3){1.1}{-48}{50}% body\psbezier(2.1,5.15)(2.0,4.7)(1.8,3.3)(2.6,2.7)\psbezier(3.85,5.15)(4.1,4.65)(4.1,3.3)(3.4,2.7)% feet\psline(1.65,2.7)(4.3,2.7)\psarc{-}(2.1,2.685){0.45}{70}{180}\psarc{-}(3.85,2.685){0.45}{0}{105}\end{pspicture}\end{document}

Note that I used the memoir document class, but you could also use article if you don't have memoir available (the results would be the same). The alien does not look exactly the same as the official reddit one, but who cares? And here is what you should get when you run this example through LaTeX:

And people say LaTeX suxx...

JimmyL said...

I came to see the reddit alien in latex. I am not amused.

If you're a drudge fan: drudgetracker.com

Bert Q. Slushbrow, Sr. said...

Well, he WAS pretty specific about this being LaTeX and not latex. Your average, garden variety geek should really know the difference.

Apurva said...

Wow! I bow to your greatness sir.
And nobody has ever told me that LaTeX sucks.

Steve Jones said...

http://smellsblue.blogspot.com/2008/10/why-reddit-is-better-than-stack.html

Jullia Grace said...

Reddit alien used in LaTeX, well code looking tough but because of provide us! where to buy reddit votes

Roney Wilson said...
This comment has been removed by the author.
Roney Wilson said...

Totally unique stuff is here really amazing!!!low cost payday loans

smith mak said...

I am very overwhelmed with your blog. The quality of the content really makes it an actual winner!
quick cash loans

Melvin Gregor said...

Hmm your post is lush; this will surely help the newbie to know about that. automobile insurance

Mitcheal Clerk said...

Every day I visit a number of blog sites to see content, however this offers quality based content.Businessman Mark Curry