{fun} concerns questions primarily posed for entertainment or intellectual challenges, not necessarily for academic or professional purposes

learn more… | top users | synonyms

31
votes
5answers
74 views

Code-trolling/prank questions for TeX.SX?

I have a friend who uses me for LaTeX support. He isn't very tech savvy but likes LaTeX and so I help him out when something he needs to do requires more than the standard stock of macros and ...
102
votes
16answers
5k views

How to prolong compilation time while engaging in leisure activities?

I thought of that old joke today, where a programmer can make an undeniable excuse for his leisure activities while in work on the basis that he is just waiting for his code to compile. Although I ...
16
votes
2answers
299 views

Randomly reduce the number of pages

My colleagues and I wrote a book that has m pages. Our editor wants n << m pages. For fun, I'd like to submit him two versions of our book. One version that randomly suppress (m - n) pages ...
2
votes
0answers
77 views

Cleaner Code for a Table design

in this question Showcase of beautiful wine bottle labels made with LaTeX/TikZ and friends I asked for wine bottle labels. Here is my own attempt. I still have to play with fonts. I'm quite happy ...
24
votes
5answers
826 views

Showcase of beautiful wine bottle labels made with LaTeX/TikZ and friends

Did anybody design wine bottle labels for self made wine with Latex/TikZ/PSTricks? I'm interested in unusual designs (like the nice label for Barnstorming Bitter at http://www.tug.org/texshowcase/).
269
votes
46answers
70k views

Nice scientific pictures show off

Task Show off your best scientific illustration ! The main purpose of this question is to share beautiful scientific pictures, preferably with an educational aspect. Content Your post must ...
49
votes
9answers
2k views

How to number slides with an increasing number of digits of pi?

How to number frames with an increasing number of digits of pi? Illustrative, I want the frame numbers to be like 3 (on the first slide) 3.1 (on the second slide) 3.14 (on the third slide) ... and ...
29
votes
1answer
481 views

Non-rectangular body geometry

I'd love to typeset a document where the inner margin follows a sinuous path. For example, like the one below (done in Scribus). I tried wrapping the text around a curvy image set at the appropriate ...
96
votes
14answers
16k views

What is the most bizarre thing you have seen done with TeX

I think the questions says it all! :) By TeX, I mean any derivative of TeX as long as the code is clearly a derivative of TeX, i.e. that it could belong on TeX.SX (and not pure Lua for example). ...
19
votes
3answers
1k views

Obfuscating TeX

Given TeX's system of catcodes, I imagine that one can obfuscate TeX to a remarkable degree. With a view to learning more about the internals of TeX, I ask: How might I go about adding a block of ...
15
votes
1answer
348 views

How to draw the “logo” of the string theory?

I wonder whether it is possible to draw the "logo" of string theory with LaTeX. I think it is doable, but not sure how to do it. Any guru wants to give it a shot? Source: ...
9
votes
1answer
1k views

Installing the comicsans package to MiKTeX

Consider this question theoretical in nature; an exercise to understand the TDS tree structure better. Assume one were attempting to install the comicsans package, which is part of neither of the two ...
102
votes
12answers
6k views

Can we make a love heart with LaTeX?

I understand that this post may cause some down votes because it seems a bit off-topic, but having seen the discussion on Christmas Tree with LaTeX I am still willing to try. My Girlfriend's birthday ...
29
votes
1answer
537 views

Randomly bouncing balls with constant tails in a spherical constraint

How easy is the following animation made with TikZ, PSTricks, and Asymptote? Use the following as a starting template to save your time. \documentclass[border=12pt]{standalone} \begin{document} . ...
78
votes
5answers
7k views

How can we display fireworks?

Soon we can celebrate the New Year. How can we use TikZ for drawing fireworks? For example like this, photographed by Kurume-Shimin, found on Wikipedia: Click on Image search for getting further ...
79
votes
15answers
3k views

Showcase of optical illusions made with TeX/LaTeX/LuaTeX/ConTeXt

Optical illusions are fun, so I thought it would be a good idea to have a list of optical illusions designed using MetaPost, or PGF/TikZ, or PS-Tricks, or Asymptote. Each entry should display one ...
30
votes
1answer
790 views

How can we draw a 3D Christmas gift box, with TikZ?

In the spirit of How can we draw a Christmas tree with decorations, using TikZ? Can you draw a 3D Christmas gift box with as many details as possible(bow tie, elevated lid/bow, patterned wrapping ...
47
votes
3answers
2k views

Holiday contest! Drawing a picture of Krampus for Yule

I've volunteered to use some of my Cthulhu reputation to sponsor a Christmas/holiday contest. You all have aced previous holiday questions, so I'm going to give you a bit more of a challenge: Draw me ...
37
votes
3answers
1k views

Your best snowflake with Tikz

Christmas is coming, show me your best snowflakes made with Tikz :) \documentclass{standalone} \usepackage{tikz} \usetikzlibrary{decorations.fractals} \usepackage{pgfplots} \begin{document} ...
7
votes
2answers
77 views

same command with output X in main body and Y in footnote

In reference to this question, I would like to ask whether there could be a command that produces the output X when issued in the body of a text, but the output Y when issued in any sort of footnote. ...
8
votes
1answer
319 views

“Countryball” comic with TikZ. How to shade a 3D object with different stripes on it?

Countryball (if I'm not mistaken originally Polandball) is a web comic versing on crude political jokes, some of which I find hilarious. In some sense, the idea is analogous to the spherical cow ...
4
votes
0answers
148 views

Exactly 27 errors? [closed]

Just for fun. In this question I have 3 errors running this code with \toprule and \midrule in a table... If include booktabs package in my preamble, I have 9 errors OP triples number of errors by ...
4
votes
1answer
132 views

Plain TeX macro to read a document in Pig Latin

Say I have a file eng.tex: \def\encounter (#1){Hello, #1!} \encounter (World) \bye I convert it to Pig Latin and save it as pig.tex: \efday\encounterway (#1){Ellohay, #1!} \encounterway (Orldway) ...
152
votes
11answers
22k views

How can we draw a Christmas tree with decorations, using TikZ?

I would like to use TikZ for drawing a christmas tree. Here's a start, I used the lindenmayersystems library for drawing a tree: \documentclass{article} \usepackage{tikz} ...
59
votes
8answers
3k views

TeX - LaTeX in pop culture

I'm doing a research on free-software references in movies, TV series, etc. Things like: "in Dr. House they use KDE as DE" or "Sheldon from the The Big Bang Theory uses Ubuntu." And the like. I'd ...
25
votes
1answer
683 views

Join the dots - Hannukah

The festive season is upon us and we all of course bring out our favourite TikZ Hannukah Menorahs to celebrate. However, our children are still not satisfied and demand an activity to do during the ...
27
votes
2answers
485 views

Is there a tool that makes paragraphs into rectangles?

I was just wondering if there was a LaTeX tool for making paragraphs of text into perfect rectangles. The effect is shown below in a schematic
23
votes
3answers
483 views

How do I put a die roll at the top of each page?

I was thinking about a trick I heard of in old RPG books and wondered how you would do it in LaTeX. So it used to be hard to find RPG dice in stores (That is, dice with 4, 6, 8, 10, 12 and 20 sides. ...
3
votes
1answer
91 views

one and the same command for different outputs depending on position in document

A few days ago I had an idea for a \newcommand which -- in my eyes -- would be kind of cool to have. Imagine you wanted to write a lengthy text. In this text you mention a bunch of names of ...
22
votes
4answers
1k views

Anti-LaTeX…in LaTeX

LaTeX makes things more legible by following certain rules, and there is a strong emphasis among LaTeX users on obeying typographical conventions to make things more legible. What happens when we ...
21
votes
2answers
684 views

How can I make (some) $money$ out of my TeX skills?

I by no means intend to stop contributing what I can to TeX.SE, but a recent experience begs the question... After helping a friend designing a flyer for a telecom company (for which she got decent ...
3
votes
3answers
272 views

What was your very first complete document done with TeX/LaTeX & friends? [closed]

Recently I looked up my first ever document done with LaTeX, and as strange and crazy as it may seems, it was my first thesis (wrote in only two weeks). It all turned out well as I did a very good ...
27
votes
2answers
722 views

Simulate printing imperfections and defects with TeX?

Is there a way to simulate imperfections of some of the older books in LaTeX? Like the missing pieces of letters, extra splotches of ink and such? Here is an interesting artifact: P.S.: I guess one ...
4
votes
1answer
91 views

Is there any TeX (or LaTeX) package capable of rot13-encoding an ASCII text?

This might be a nice thing to obfuscate answers to quizzes (better than \rotatebox[c]{180}{...}). (I understand that this is trivial using LuaTeX, but I'd be interested in a generic TeX solution. ...
105
votes
12answers
11k views

Contest: Show Off Your Skillz in TeX & Friends [TeX.sx birthday]

Submission Deadline and Voting are over, thank you for participating! Results Academic Gonzalo Medina – 31 Andy – 19 cmhughes – 11 mbork – 6 Other Yiannis Lazarides – 38 szantaii – 20 Ant – ...
14
votes
1answer
283 views

Where to get TeX Math Font

I apologise for a question that might seem naïve to many. However, I encountered a problem and a couple of hours of an intensive research didn't bring any results. Basically, I would like to have a ...
30
votes
2answers
1k views

TeX assistance in writing hidden acrostics

Here's a fun challenge. Try to come up with (and code) techniques through which (La)TeX can help authors to incorporate acrostics in their writing. The definition from Wikipedia: An acrostic is a ...
82
votes
10answers
4k views

How can I draw an egg using TikZ?

I would like to draw an egg-format element, but I have only found ways of drawing ellipses.
21
votes
1answer
460 views

How can I highlight ligatures?

I'd like to highlight all the ligatures used in a document similar to the image below as an attempt to show off some of TeX's tender loving care for the font being used. Is there a way to do this ...
37
votes
5answers
2k views

How do we Draw a Bird in LaTeX

Yes, it's that time of the month again. It's time for somebody to ask how we can draw X in LaTeX. This time I'm asking the question and X is a bird. The reason why I'm interested in this question is ...
5
votes
1answer
195 views

Using ConTeXts cow font with pdfTeX

So I have really become intrigued with the Cow font of context, however I really wish I would be able to use this with latex. I found a place, where it listed the steps on what to do, but it was ...
6
votes
2answers
249 views

Moving thumbnails

I once saw a document with pictures in the top corner. If you rapidly thumb thru the document the pictures appear to move. Is there a way to put a series of thumbnails in the top corner of a document? ...
367
votes
7answers
68k views

How do I make my document look like it was written by a Cthulhu-worshipping madman?

I want to type up some spells from the RPG Call of Cthulhu and give them to my players. I could just type them up in Word or LaTeX, but that seems too...neat. I'd like to make these things look like ...
42
votes
4answers
1k views

How to create a Caesar's encryption disk using LaTeX

How can I create a Caesar's encryption disk with LaTeX? I guess, the ultimate solution would take a arbitrary list of letters and calculate the spaces and angles for each letter automatically. So ...
31
votes
1answer
933 views

Helping cardinals elect the new Pope

Yes, we are talking about TeX and friends! Edit: I decided to move the background motivation to the end of the question, since it seems to be kind of off-topic in the TeX context. The following code ...
61
votes
9answers
4k views

Are there other “fun” packages like the “coffee stains” package?

I'm trying to convert some friends to LaTeX and have come up against a (to me) unexpected objection: there are too few packages that support "fun" (really), to which I responded: I know there are ...
26
votes
2answers
2k views

Making a Calendar for TUG

This question is triggered by a post from Peter Wilson in comp.text.tex`. Peter wrote: TUG members produced a calendar for 2012 and, if I remember correctly, for some previous years as well. I really ...
29
votes
3answers
1k views

Typesetting the entire Song That Never Ends

I've heard that LaTeX (and for that matter TeX) are Turing-complete, so it should be possible to produce an infinite loop. And indeed, a quick search reveals several questions in which users have ...
15
votes
1answer
707 views

TikZ: Handdrawn boxes/arrows/circles for flowcharts

I saw the following style of boxes in Aditya's presentation as he mentioned it during his TeXTalk. I am almost positive that Aditya is using Metafun for this. But I was wondering how would one go ...
222
votes
2answers
24k views

Create xkcd style diagram in TeX

The unique style of the diagrams at xkcd has an informative but nice hand-drawn touch. I guess they are actually drawn by hand but just recently on our partner site for Mathematica someone asked how ...