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

learn more… | top users | synonyms

24
votes
4answers
1k views

TiKZ: “hand-drawn” explosion

Is there an elegant way to simulate a handdrawn explosion as shown in the following image using tikz?
6
votes
1answer
243 views

``squeezed in word'' effect

Is there a way (with tikz) to get an effect like shown in the following image? I.e. what command \inserteffect would yield that effect instead of just inserting in brackets as is the case for the ...
7
votes
4answers
1k views

How could I write my name, for example, to look like the \LaTeX logo?

How could I write my name, for example, in a \LaTeX style? It is just interesting, as in Google all other things pop up when I try to search for an answer!
123
votes
13answers
11k 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 ...
3
votes
0answers
94 views

Are there any packages for knitting?

So I showed my girlfriend the braids package, and she asked if their are any packages for knitting patterns. I couldn't find any on ctan with a quick search, so I thought I'd ask here. Are their any ...
338
votes
52answers
90k 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 ...
32
votes
1answer
807 views

Making cards for Magic: The Gathering and similar card games

I'm creating cards for a card game. They will be similar to cards in Magic: The Gathering (left-hand image below). What I have is in the right-hand image below. The problem is that the code ...
3
votes
2answers
197 views

Coffee (and wine (and nicotine)) stains on an entire document

Just to remind everyone of the amazing coffee stains package - coffee by Hanno Rein. This package makes it possible to add coffee stains to your document. This question is for a generalization of ...
73
votes
11answers
7k 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 ...
8
votes
5answers
347 views

A more elegant version of the \ifnot macro

A TUGboat article of 15 years ago mentions an \ifnot macro by David Kastrup whose implementation is: \def\ifnot#1{#1\else \expandafter\expandafter\fi \iffalse\iftrue\fi} However, this macro ...
17
votes
3answers
1k views

How to draw many crossroads?

(April Fools' Day joke) How do we draw something like this? I enclose a picture and a detail of it. Update: I enclose one more screenshot (with TeXs sitting at the crossroads) if somebody is actually ...
40
votes
5answers
2k views

Amusing exercise - ouroboros file - Output of TeX includes itself recursively ad infinitum

Clarification: The question may be related to the the quine fun question, but IMHO it is quite distinct. The question here to write an "ouroboros" in TeX, i.e., a file that includes itself as a ...
8
votes
1answer
81 views

How can I load the table of contents into an lt3graph?

Question's in the title, really. I'd like to load the table of contents in a graph data structure. I would like to somehow keep the sections (chapters, paragraphs, etc.) ordered, but I'm not quite ...
7
votes
2answers
857 views

How to draw a pretty dog leash from A to B?

I need help to draw a dog leash from A to B that seems to be 8m long. The house is 3 by 5 m. \documentclass[tikz]{standalone} \usepackage{graphicx} \usetikzlibrary{} \begin{document} ...
17
votes
4answers
926 views

On/Off switch (redefine a macro at each use)

I try do define a macro \onoff, which alternatively prints "on" and "off" each time it's used. For example the sequence \onoff \onoff \onoff would print on off on My first guess would be to use the ...
33
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 ...
4
votes
0answers
99 views

Are there any decorative, TeX-themed posters? [closed]

I'd love to put a TeX or LaTeX poster on the wall above my PC monitor. To make clear which kind of poster I'm talking about – this would be a nice example for an enthusiastic ubuntu user: Until ...
5
votes
1answer
230 views

How do I make a presentation that seems made on an overhead projector?

I want to do a presentation simulating an overhead projector which some professors used when I was a math student. I couldn't find an image to mimic the background produced by an overhead projector. ...
3
votes
2answers
121 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 ...
23
votes
3answers
899 views

Make fireworks with only text

For the holidays, I wanted to follow up to the question about making fireworks with tikz (How can we display fireworks?): How can we make fireworks with only text? I have made a crude attempt below. ...
1
vote
0answers
35 views

why tikz will generate a series of .0.0.0.0? [duplicate]

I want to generate several point on a line, and this is the command: \documentclass{article} \usepackage{tikz,pgf} \usetikzlibrary{calc} \begin{document} \begin{figure} \begin{tikzpicture} % ...
176
votes
13answers
26k 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} ...
248
votes
2answers
29k 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 ...
86
votes
5answers
8k 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 ...
10
votes
1answer
236 views

Just for fun: Globally replace one glyph with another

Once upon a time, when I used a WYSIWYG word processor, I took a completed document and used Find-Replace to turn all instances of "." into tiny smiley faces. It wasn't really a difference that ...
27
votes
1answer
31k 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 ...
23
votes
2answers
3k views

How to optimize pdf with many links and simple pages

So... I can play tic-tac-toe (naughts and crosses) in a pdf: each board configuration is one page, and each cell of the board is a link which goes to the page corresponding to playing that move. The ...
35
votes
4answers
2k views

How can we make a pumpkin, jack-o-lantern, or other halloween spirit, ghoul, or skeleton?

So we have questions about Christmas trees and Hearts for Valentines But we have no questions that specialize in Halloween or Dia de los Muertos art. So here it goes.... Using TikZ or pstricks or ...
122
votes
12answers
15k 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 – ...
12
votes
3answers
604 views

How to show off TeX skills with a TeX-typeset CV?

Recently, I have been editing my CV, which is typeset with XeLaTeX. I realize that besides those trite TeX advantages, such as being neat and clean (and the TeX symbolic font of course), I am not ...
1
vote
0answers
140 views

What are the most horrible things you see in simple documents? [closed]

I once saw a poster similiar to my minimal example: The code is in the end of the post. What odd things confuse you most reading a non-latex document/ presentation? Where do I find the original ...
32
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/).
90
votes
16answers
4k 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 ...
112
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). ...
5
votes
1answer
609 views

How compose an image from a specific text?

I love playing around with ASCII art and, as you may know, there are tools to generate ASCII art from images, where the ASCII consists of those characters which will result in the best image, as this ...
28
votes
7answers
4k views

How to typeset Triforce?

What would be the best practice approach to typeset the Triforce symbol known from the Nintendo® Zelda™ series?
61
votes
5answers
5k views

How can I create a template for 2048 game situations?

I guess some of you might know the game 2048. A situation has the following shape: I would like to create a TikZ template that allows me to make similar drawings. MWE To create the following ...
4
votes
1answer
200 views

tikz: Saving repeatedly drawn parts of pictures to increase compilation speed

I'm drawing a number of very similar images using tikz, like this: Code (and motivation) are given at Making cards for Magic: The Gathering and similar card games. Compilation is slow. I've ...
7
votes
1answer
359 views

How to make my text more tasty?

This is one of my favorite problems. Enjoy! We'd like to make holes in the text to make it look more tasty, like cheese tasty. We can find several fonts for this purpose, but we cannot ...
1
vote
1answer
266 views

Is there any way to reproduce this figure of the Solar System using TikZ? [closed]

The Challenge Today I'd like to pose a particular TikZ challenge. I stumbled upon the following picture: It condenses a great deal of information: each line represents one mission to the ...
69
votes
1answer
5k views

Cute (child-friendly) document in LaTeX

My girlfriend is teacher at primary school, she's new using LaTeX and she needs to make a "cute document" for kids, but I don't know how change the following items to make them look nice for the kids: ...
3
votes
0answers
147 views

Weirdest way of displaying “LaTeX” (Contest) [closed]

LaTeX is a program for making beautiful documents with elaborate code. As we all know, typesetting the name of LaTeX itself by using the command \LaTeX produces a pretty weird symbol combination. But ...
415
votes
8answers
81k 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 ...
34
votes
5answers
219 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 ...
106
votes
16answers
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 ...
17
votes
2answers
366 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
210 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 ...
51
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
530 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 ...
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 ...