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

learn more… | top users | synonyms

8
votes
3answers
485 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 ...
122
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 ...
4
votes
2answers
202 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. ...
41
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 ...
1
vote
0answers
49 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....
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 ...
96
votes
18answers
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 ...
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} \...
6
votes
1answer
304 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 \...
137
votes
12answers
18k 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 – ...
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 ...
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
53 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
99 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 ...
10
votes
2answers
247 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, \...
376
votes
57answers
102k 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 ...
2
votes
1answer
222 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?
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 ...
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 ...
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 ...
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. \...
184
votes
16answers
29k 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} \usetikzlibrary{...
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?"...
136
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 ...
5
votes
1answer
91 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, ...
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. ...
6
votes
2answers
156 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 ¯\_(ツ)_/¯...
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 ...
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 ...
3
votes
0answers
277 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 ...
12
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!
439
votes
8answers
91k 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 ...
25
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
308 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 ...
3
votes
0answers
165 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 ...
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'...
4
votes
2answers
296 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 ...
79
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 ...
8
votes
5answers
569 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
99 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
965 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{...
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 ...
35
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
147 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
330 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
127 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 ...