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

learn more… | top users | synonyms

10
votes
1answer
610 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
1answer
190 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) ...
4
votes
0answers
163 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 ...
51
votes
3answers
3k 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 ...
29
votes
1answer
569 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 ...
26
votes
1answer
979 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 ...
3
votes
2answers
126 views

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

Update: I decided to use Daniel's simple solution: \newcommand\Einstein{Albert Einstein (1879-1955)\xdef\Einstein{Einstein}} With this, the first use of \Einstein prints the full name with ...
17
votes
2answers
403 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 ...
23
votes
3answers
707 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. ...
17
votes
1answer
848 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: ...
133
votes
13answers
14k 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 discussions on Christmas Tree with LaTeX I am still willing to try. My Girlfriend's ...
22
votes
2answers
2k 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 ...
37
votes
6answers
2k 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/).
3
votes
3answers
365 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 ...
52
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 ...
91
votes
16answers
5k 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 ...
34
votes
2answers
1k 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 ...
109
votes
18answers
6k 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 ...
33
votes
2answers
2k 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 ...
67
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
581 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 ...
4
votes
1answer
136 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. ...
14
votes
1answer
375 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 ...
37
votes
2answers
886 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
6
votes
2answers
436 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
365 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? ...
117
votes
14answers
18k 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). ...
44
votes
4answers
2k 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 ...
32
votes
1answer
1k 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 ...
30
votes
3answers
2k 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
1k 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 ...
49
votes
5answers
3k views

Self-replicating (La)TeX document

Since TeX and LaTeX can print out any text, it should be possible to write a self-replicating document, i.e., a document that is typeset as a PDF/DVI of itself. Have you seen something like that?
28
votes
2answers
3k 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 ...
26
votes
1answer
1k views

Puzzle: How to compute Bringhurst's page style with TeX/Metapost/TikZ etc

In his book The Elements of Typographic Style, Bringhurst presents a hexagonal pattern for geometrically constructing the elements of the page layout. Question: Can the dimensions be simply extracted ...
49
votes
2answers
3k views

Text spirals with TikZ

I just ran across this, and I'm curious about whether it can be replicated in TeX... Ideally one would have the spiral getting tighter and tighter as one got to the centre, as in I know TikZ has ...
16
votes
1answer
1k views

How can we draw Christmas animations with TikZ?

In the spirit of How can we draw a Christmas tree with decorations, using TikZ?, how can we realize Christmas animations with TikZ? For example: or also:
46
votes
3answers
1k views

How to suppress page 13?

A lot of buildings have no 13th floor, some planes have no 13th row etc. How do I set up a document that automatically suppresses page 13, figure 13, chapter 13 and so on, say, by jumping the ...
27
votes
1answer
34k views

Pirate Treasure Map

This one is mostly for fun, although seeing the TikZ tricks people come up with is often instructive. While I was looking for examples with torn pages, I ran across a few of these: Can one draw ...
38
votes
2answers
4k views

How can we draw a Hannukah Menorah with decorations, using TikZ?

In the spirit of the festive season and How can we draw a Christmas tree with decorations, using TikZ?, I would like to use TikZ for drawing a Hannukah Menorah. There are many different styles of ...
34
votes
1answer
1k views

Chutes and Ladders

I am trying to make a Chutes and Ladders style game. I have managed to piece together a board, but I plan to change the location of squares, ladders, and slides for future boards. The ladder is a ...
28
votes
2answers
2k views

Christmas theme

In the process of making a paper for school look good, I came to wonder, if there was such a thing as latex themes for regular papers? What I am think about in particular would be a Christmas theme, ...
41
votes
5answers
2k views

Please improve my logo to resemble our TeX.SX logo

It is free to use TikZ or PSTricks to answer my question. I want to recreate our TeX.SX logo. But my attempt is far from perfect. Please help me to make it more similar to the original one. ...
15
votes
1answer
831 views

Trollface package

Does anybody know if there is a package containing troll-faces similar to the simpsons package, where you just write the \trollface to insert a picture of a troll-face (e.g. \Bart for the simpsons ...
7
votes
3answers
1k views

Speedy LaTeXing

I am LaTeXing my notes for a maths class, and I'm wondering what TeX.SE has to say about tips and tricks that have helped them enter their LaTeX code that much faster. It can be anything from a ...
9
votes
1answer
2k 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 ...
34
votes
3answers
2k views

Draw a coat of arms in LaTeX

Over at academia.sx we are trying to create a community ad to try and get us promoted out of beta. We are looking to create a university type coat of arms/seal. I have seen some really great artwork ...
256
votes
2answers
32k 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 ...
92
votes
10answers
7k 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.
9
votes
1answer
575 views

Combining paths before making them double

I must thank TeX Stack Exchange, especially for these questions: Creating gears in TikZ How can I invert a 'clip' selection within TikZ? How to use plot in a foreach loop into a single path? I ...
78
votes
11answers
9k 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 ...