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

learn more… | top users | synonyms

7
votes
4answers
957 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!
2
votes
0answers
64 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 ...
3
votes
2answers
173 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 ...
8
votes
5answers
319 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 ...
8
votes
1answer
73 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 ...
39
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 ...
17
votes
4answers
805 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 ...
4
votes
0answers
86 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
184 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. ...
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} % ...
22
votes
3answers
848 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. ...
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 ...
10
votes
1answer
198 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 ...
12
votes
3answers
561 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
137 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 ...
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?
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 ...
4
votes
1answer
184 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 ...
32
votes
1answer
762 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 ...
4
votes
1answer
524 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 ...
7
votes
1answer
350 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
247 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 ...
7
votes
2answers
839 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} ...
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 ...
3
votes
0answers
137 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 ...
2
votes
0answers
197 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 ...
34
votes
5answers
201 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 ...
328
votes
52answers
87k 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 ...
30
votes
1answer
655 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} . ...
32
votes
1answer
1k 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 ...
37
votes
3answers
2k 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} ...
8
votes
2answers
98 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. ...
10
votes
1answer
522 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
171 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
156 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 ...
49
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 ...
29
votes
1answer
518 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
924 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
118 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
353 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
586 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
607 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: ...
121
votes
13answers
10k 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
986 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 ...
32
votes
6answers
1k 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
321 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 ...
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 ...
88
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 ...
31
votes
2answers
977 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 ...