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

learn more… | top users | synonyms

1
vote
0answers
50 views

Challenge: Shortest Infinitesimally Unlikely Document: “ordinary” document forever requesting: “rerun to get cross-references right”. t" [duplicate]

Stop reading here if you do not like stupid yet amusing challenges. Challenge: produces the shortest document yielding LaTeX Warning: Label(s) may have changed. Rerun to get cross-references right....
123
votes
10answers
11k views

I need a TeX-donkey

In my town there will be next weekend an exhibition with 7000 donkey images. It is related to a sculpture group with 7 donkeys called "donkey's way" which will be installed in the summer. I would ...
101
votes
5answers
21k views

How to include a Lenny face in a LaTeX document? e.g. ( ͡° ͜ʖ ͡°)

How would one include a "classic" Lenny face in a LaTeX document? A paper is due tomorrow and I am curious. e.g. ( ͡° ͜ʖ ͡°) I have attempted to use the verbatim environment but it has proved ...
39
votes
4answers
2k views

How to create nonbreaking arbitrary length snakes for full-width justification?

This is a follow-up to the recent xkcd comic: Here is a simple version without justification: \documentclass{article} \usepackage[text={1.2in,3in}]{geometry} \raggedright \begin{document} \...
4
votes
2answers
206 views

“Write about \Lipsum 300 sentences”? Such `\Lipsum` macro would be neat

Disclaimer: This question is not intended to serve a general need. It is not even a question that serves my own need, or anyone else's "need". In Just a suggestion for a neat use and throw macro. ...
42
votes
3answers
3k views

How to produce the table flip emoticon (╯°□°)╯︵ ┻━┻?

Oh man, I don't even know where to put this... or how to begin. As a joke, I'm trying to get the ascii art of the guy flipping a table in a question on an exam. I've tried verbatim but it won't ...
7
votes
1answer
312 views

Change page numbering for one page only (2, 3, pi, 4, …)

I would like to change the page numbering of my document to include pi, such that the order is: 1, 2, 3, \pi, 4, 5, and so on. I have moved page number 4 to the fifth page by including \clearpage \...
69
votes
4answers
4k views

What is CTAN.org now?

Today I clicked in this link in TeX StackExchange http://ctan.org/pkg/svg and I got this message (screenshot below). In particular, what does it mean that "Latex Productions International has ...
3
votes
0answers
57 views

Override hyphenation settings in caption

As tomorrow is April 1, I'd like to send a somewhat special interim version of my thesis to my supervisor. In the TeXbook, there is a chapter that is set up to make TeX fall in love with hyphenation. ...
11
votes
1answer
100 views

\typein and user-friendliness: how can I prevent errors from occurring if the user presses arrow keys or delete?

I'm writing a document for my friend Sir Galahad to compile, and I'm using \typein to customize it: I'll give him the file bridge.tex, he will run pdflatex bridge.tex, and during compilation the ...
2
votes
1answer
233 views

Recreate Kanye's new album cover in TeX

Kanye West just published the cover for his new album. To me, it looks like a figure with captions that went horribly wrong. Can somebody recreate this image in TeX?
10
votes
2answers
248 views

list of all used commands in compiled *.tex-documents

Is it possible to get a list of all the commands used in the compiled documents? I mean, if I use in my various .tex-documents commands such as \emph, \section, \cite, \begin, \documentclass, \...
27
votes
6answers
2k views

Given a list of primes, how can I plot π(x)?

Given an arbitrarily-long list of primes (or any sequence, I suppose), I'd like to calculate and plot the pairs (x, count of numbers in my list less than or equal to x) Bonus points for skipping ...
5
votes
1answer
95 views

Accumulative subscript/superscripts?

With the objective of writing a textual aliasing package that would make it possible to write input that better approximates the output, I encountered the following problem: create a control sequence, ...
42
votes
3answers
1k views

December challenge: Create an Advent Calendar

While thinking about creating an own Advent Calendar for the beloved people around me – instead of buying a boring one with chocolate in it – a thought came to my mind: "How would I draw this in TikZ?"...
6
votes
2answers
160 views

Bloody decorations

there is a family tree from the BBC Website and I'm wondering if it is possible to use tikz decorations to create such "blood lines". Does anybody have an idea?
41
votes
7answers
4k views

Draw a turkey, a pumpkin pie, or any other object traditionally associated with Thanksgiving

Using TeX- and LaTeX-related tools and packages, how would you draw a turkey, a pumpkin pie, a pecan pie, a gravy boat, or any other object(s) traditionally associated with Thanksgiving?
33
votes
5answers
8k views

Typeset the shrug ¯\_(ツ)_/¯ emoji

I'm completing a problem set, one problem for which I literally have no idea what to do on. The graders would prefer to have a physical copy of the problem so I thought it best to include the ¯\_(ツ)_/¯...
2
votes
1answer
105 views

Ideas for a Presentation on Tabular Environment [closed]

As above, I will soon need to give a presentation on tabular environment. You might very well wonder why. Apparently the aim of such presentation is to gain 'presentation' skills. Anyhow, my ...
26
votes
4answers
2k views

TiKZ: “hand-drawn” explosion

Is there an elegant way to simulate a handdrawn explosion as shown in the following image using tikz?
7
votes
1answer
309 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 ...
13
votes
5answers
2k 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!
3
votes
0answers
171 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 ...
4
votes
2answers
303 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
590 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
2k 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
100 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 ...
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 ...
18
votes
4answers
1k 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
149 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
334 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} % ...
25
votes
3answers
1k 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. ...
38
votes
5answers
2k views

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

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. Here it goes: Using TikZ or PSTricks or any other of ...
11
votes
1answer
408 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 ...
17
votes
3answers
2k 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 ...
2
votes
0answers
177 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 ...
29
votes
7answers
5k views

How to typeset Triforce?

What would be the best practice approach to typeset the Triforce symbol known from the Nintendo® Zelda™ series?
24
votes
2answers
4k 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
280 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
1k 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 doesn'...
6
votes
1answer
1k 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
493 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 (pseudo-...
1
vote
1answer
410 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
968 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} \begin{...
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
204 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 ...
3
votes
0answers
282 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 ...
35
votes
5answers
488 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 ...
381
votes
57answers
103k 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 ...