Questions tagged [fun]
{fun} concerns questions primarily posed for entertainment or intellectual challenges, not necessarily for academic or professional purposes
213 questions
3
votes
1
answer
135
views
How many expl3 code lines are in the LaTeX kernel?
I was courious to know how many line of expl3 code is in the LaTeX kernel.
I run a python script (code below) to count the number of lines in each dtx file in the base directory of the LaTeX2e ...
3
votes
3
answers
405
views
Using ASCII Art & pxpic
With https://www.asciiart.eu/ ASCII Art Archive I wanted to create the same dragon of the mame game: Black Tiger,
At the moment, I haven’t understood how to use the options inside \pxpic[...], or ...
3
votes
2
answers
157
views
How can you draw more than three intersecting planes which are bounded by a cube, in a 2D software such as TikZ?
In this old answer of mine, I used Asymptote to diagram numerous intersecting planes bound by a cube: https://tex.stackexchange.com/a/733960/319072.
I want to be able to do this in TikZ or MetaPost. ...
10
votes
3
answers
1k
views
Wild Turkeys in TikZ
I have an annual scavenger hunt at Thanksgiving in which the TikZlings and TikZ ducks (and related fauna) guide my nieces and nephew through the course. Given that it is Thanksgiving, I wanted to ...
4
votes
0
answers
221
views
Christmas decoration package
With Christmas coming up, I wanted to do a Christmas themed document.
I did one in halloween using the package halloweenmath.
Is there something similar for Christmas?
For example trees, Santa's ...
8
votes
3
answers
809
views
Drawing two slices of bread framing a sausage or a slice of tomato
This is not a serious question.
Here is a culinary variation of this post Drawing "two police officers" (squeeze theorem) metaphor with stylized uniforms for sequences.
The squeeze theorem ...
17
votes
2
answers
752
views
Challenge: Show us your best tariff tables
There are too few silly "contests" here nowadays, and I really think we could need a laugh.
We have likely all seen the beautiful tariff table the other day. In case somebody missed it, here ...
9
votes
1
answer
804
views
With a sense of humor, just for fun. TeX and 3d printers
Please, do not be too serious.
TeX is the digital version of Gutenbergs typesetting.
Now, how about taking it the other way around?
With TeX and modern 3d printers, it should be possible, to produce ...
6
votes
4
answers
652
views
How to simplify/refactor this code even more?
The following code origines from a joke in German, visualizing the answer "50 grays of Schade." (see below). The code:
puts 7 x 7 tiles + 1 bigger background tile
distributing in a cyclic ...
5
votes
2
answers
240
views
Beautiful clocks using bxcoloremoji package
This is a follow-up of the question A grid in a cartesian plane of clocks using clock package
Starting from the answer of @Ignasi:
\documentclass{article}
\usepackage{clock}
\usepackage{tikz}
\begin{...
0
votes
0
answers
77
views
Shipout box to tempfile
I currently have a Python script which (through ImageMagick) makes a PDF appear photocopied. I am trying to migrate this process to a LaTeX class—for fun, to see what is possible in LaTeX.
It seems ...
37
votes
3
answers
16k
views
Possible to dot your Is with hearts?
I was wondering if it is possible to replace just the mathmode i from the default latex font with nearly the same letter, but where the dot on the i is a small heart. For example:
Thank you!
46
votes
9
answers
3k
views
How to make an \egreg command?
I would like a command \egreg which produces “egreg”. However, there is no reason to limit yourself to one “reg”. Who knows, maybe one day you just feel like writing “egregregregreg" for some ...
56
votes
22
answers
13k
views
Draw a unicorn in TikZ 🦄
I'm currently reading Sparks of Artificial General Intelligence: Early experiments with GPT-4. This paper by Microsoft employees experiments with the capabilities of GPT-4, a successor of ChatGPT. One ...
0
votes
3
answers
588
views
How to make garden in TikZ [closed]
How to make a garden such as following in LaTeX, using TikZ? It's interesting to know conceptual approaches, e.g. using nodes with image or other tikz elements.
4
votes
0
answers
227
views
Using TikZ to celebrate Valentine's Day
While this is not a specific inquiry, I would like to witness the creativity of the members on this forum.
As it is the 14th of February, I had hoped to commemorate the occasion by creating an ...
2
votes
1
answer
314
views
Making symbols from *Science made Stupid*
There is a funny, award-winning book Science made Stupid that parodies gradeschool textbooks. In this book, there is the following table of symbols used in mathematics.
These symbols are each made of ...
12
votes
6
answers
2k
views
Wordle-like colored letter boxes in latex
I want to create some letters boxed as in the Wordle game:
But so far i have not found a tool that allows me to do it. I want to embed them both in the title and in the document. How would you make ...
3
votes
1
answer
177
views
Nanokid in creation
Hello, I want to create the Nanokid with latex, but I need some help for the hands. How do i create the Hands, where 3 snakes in 3 different direction?
I have this so far
$\chemfig{*6(=(-~-*6(=-(-~--[:...
1
vote
1
answer
1k
views
How can I simulate the draft mode of a 9-pin dot matrix printer?
How can I get LaTeX to make its output look like it was printed with the draft mode of a 9-pin dot matrix printer, such as the classic Epson FX-80? The upper part of the following illustration, taken ...
4
votes
0
answers
158
views
What are some practical approaches to generally improving fluency and range of knowledge/skills in TeX?
Excuse me if this question is better fitted for another SE, as it is somewhat more of a meta question, but still on-topic.
As a background, I'm an undergraduate Mathematics major in my final semester, ...
0
votes
1
answer
141
views
Make paragraph-formatting apply to all environments but not to short paragraphs
I am aware that this is a hyper specific question but I have been playing around with making all paragraphs perfect rectangles just like in this StackExchange question. And as in these older threads I ...
54
votes
8
answers
3k
views
Halloweenmath contest (in memory of GuM)
Halloween makes me remember our dear friend GuM, who passed away this year in January.
I was thinking of a way to celebrate him.
I would like to ask you to show us something written with his probably ...
18
votes
9
answers
3k
views
Ghost shape in TikZ/pgf
My question
I can easily draw the normal distribution thanks to this answer by Jake. What about the ghost ?
Context
This image always breaks the ice when teaching probabilities :)
(Not that I care so ...
6
votes
3
answers
676
views
Accessing TeX's internal tokens
Section 23.7 of source3.pdf lists all possible tokens, such as the usual characters and control sequences, but also some of TeX's internal ones.
Expanding \the\font results in a token that looks ...
2
votes
4
answers
828
views
How to make TeX behave in funny, unexpected ways?
Can we think of ways to make TeX behave in funny, surprising, and unexpected ways? I am looking for examples like: Redefining \par to make it insert a secret message between all paragraphs:
\...
15
votes
1
answer
2k
views
Fun: How can we generate funny/unexpected messages in LaTeX?
Knuth says in "Chapter 6: Running TeX" of the TeXbook:
Error messages can be terrifying when you aren't prepared for them; but they can be fun when you have the right attitude. Just
...
2
votes
1
answer
235
views
A grid in a cartesian plane of clocks using clock package
In relation from these question (the first it is mine) A distribution of clocks in different rulers in a 3D plane and Draw a table of clocks on a plane, what are the best methods to put the clocks of ...
0
votes
1
answer
211
views
Drawing a small steam locomotive with tikz
Currently I am writing my master thesis in operational research, where my topic consists of locomotive assignment optimization. Hence I would love to have a small tikz locomotive for the head line of ...
3
votes
1
answer
4k
views
LaTeX story/myth: Package with line made out of superimposed letters of author’s name?
I’m trying to track down and verify an amusing LaTeX anecdote that I read or heard a while back: There was some graphics/diagrams package, and some commonly-used command from it, where what looked ...
4
votes
0
answers
142
views
Just for fun everything about the "befana" in LaTeX
Considering to end of the holiday time for Christmas I propose the creation of a befana (a good old witch who brings presents to the good children and not coal to the bad children).
I propose this,
\...
1
vote
1
answer
857
views
Christmas tree QED symbol [duplicate]
I am looking to replace the \qed or \qedsymbol with a Christmas tree or a Christmas tree inside a box. I've done this already with a smiley by using \renewcommand{\qedsymbol}{\smiley}, but I don't ...
7
votes
2
answers
818
views
Projectile motion: change an old code and make it more beautiful
Given this image,
where a golf player throws a ball with a angle of 54.0° above horizontal and a speed v₀=13.5 m/s. Looking this excellent old answer Sketching a graph mapping projectile motion using ...
1
vote
0
answers
111
views
How can I create a lightbox/microfilm effect in beamer slides?
I'm putting together a beamer presentation, and in a moment of madness I had the idea to give it a sort of lightbox/microfilm/transparency effect, sort of like this or this or this. I tend to keep my ...
2
votes
2
answers
203
views
Random WordSpacing
for demonstration purposes I'd like to set a paragraph with random wordspacing. I tried to adapt the solution for the chtulhu question (https://tex.stackexchange.com/a/29458/9666) but actually I must ...
3
votes
1
answer
161
views
Today is Fibonacci's day: snail symbol
At this moment I was reading an online page of a newspaper and I observed this beautiful image: "today is the day of Fibonacci".
I was looking in particular at the beautiful pergamena in ...
0
votes
1
answer
321
views
Can we draw Spikey?
"Spikey" is the logo of Wolfram Research, makers of Mathematica and the Wolfram Language.
I thought it would be a fun experiment, to draw the various versions of "Spikey" in Tex.
28
votes
3
answers
2k
views
Bo Derek in texbook.tex?
texbook.tex contains a double-dangerous-bend exercise which starts at line 18198 :
\ddangerexercise ^{Powers of ten}: The whole \TeX\ language has now been
summarized completely. To~demonstrate how ...
54
votes
7
answers
10k
views
Drawing Super Mario Bros.....in LaTeX
There are several questions about TeX.SE. that concern designs for recurrences such as fireworks, lunar calendar, the pi-greek, and into my mind I'm remembering a protagonist of an old video game: ...
3
votes
0
answers
227
views
Draw arrows from reference to figure [closed]
I just fell over this gem of a figure reference system in the Danish on train magazine "ud & Se" (out and watch), and I wondered if there was a way of doing it in LaTeX.
The idea is, ...
40
votes
6
answers
3k
views
TeX Art Fun - Mandalas
I can't help but feel we need more fun coding contests here on TeX.SX, and since these seemed to do well in the past (e.g. TeX-mas, Groundhog Day) I thought I'd try my hand at putting together one of ...
1
vote
2
answers
441
views
Creating tiles for an image with comments on each tile of the puzzle
Let's suppose that we have any image in .pdf, in .jpg in .png.
Exist a package to break into the fragments of an image like a classic puzzle?
I would like each piece of the puzzle to also have the ...
6
votes
1
answer
535
views
Draw death star
How to add the typical grid cells
(image modified from https://en.wikipedia.org/wiki/Death_Star) to the following sketch of the death star?
This is what I have so far
\documentclass{standalone}
\...
5
votes
2
answers
1k
views
A collection of the actual smartphones
Considering the recent excellent questions that I've really enjoyed
Welcoming 2019 Pi day: How to draw the letter π? and What has been your most complicated TikZ drawing?
I have carefully observed ...
78
votes
25
answers
12k
views
Welcoming 2019 Pi day: How to draw the letter π?
First of all: don't forget that exactly 140 years ago, Albert Einstein was born; but exactly one year ago, Stephen William Hawking passed away. What a special day for science!
Question
How to draw the ...
47
votes
11
answers
8k
views
What has been your most complicated TikZ drawing?
Share your most complex TikZ drawing and learning out of it.
4
votes
1
answer
349
views
Permutations of squares
Consider the following problem: Imagine you choose 3 squares out of a 3x3 field. So you can have a line upwords or downwords, two squares downwords and one to the right etc. So let's number every ...
19
votes
12
answers
5k
views
Fun with Tikz Dogs
I am aware of the many fun uses of LaTeX such as the ever growing tikzlings package. Is anyone aware of any package to depict dogs?
Edit 1
This may be quite selfish, any idea how to draw a simple ...
46
votes
14
answers
9k
views
Welcoming 2019 Lunar New Year: How to draw a (lovely) pig?
Chinese Zodiac and Lunar Year can be called very close friends. In Eastern cultures, each lunar year is assigned to one of the twelve animals in Chinese zodiac. The animal (or rather a mascot) of this ...
12
votes
2
answers
1k
views
TikZ-Roulette: Make animation more realistic
Consider the following MWE:
\documentclass[tikz]{standalone}
\usetikzlibrary{backgrounds}
\definecolor{filz}{RGB}{56,114,73}
%\pagecolor{filz}
\newcommand{\roulette}[1]{
% \pgfmathsetseed{3}
\...