Top
Best
New

Posted by zahrevsky 1/7/2026

LaTeX Coffee Stains (2021) [pdf](ctan.math.illinois.edu)
392 points | 94 commentspage 2
pureagave 1/7/2026|
This is wonderful to see. I was a student and then entered into the tech industry in the mid 90's and at that time the Internet had fun whimsical things like this almost weekly.
mcswell 1/7/2026|
Obviously this was whimsical when it came out. However...we were creating synthetic data for training and testing OCR in multiple scripts. We would take a web page in some language with a non-Roman script, and reproduce it as multiple PDFs using different fonts. We also added various kinds of blurring, using ImageMagick and---of course---this very coffee stains program!
bmenrigh 1/7/2026||
I'm happy this is public domain. In 2023 I used the stain images as the basis for a CTF challenge (for BSidesSF). The encoded flag given to participants was https://github.com/BSidesSF/ctf-2023-release/blob/main/alien...

Unfortunately the challenge was a bit too hard and went unsolved during the competition.

hughw 1/7/2026|
It's hard to imagine a reason for it being kept... proprietary?
bmenrigh 1/7/2026||
A lot of people want to slap licenses on things without really thinking about what the license will do (or prevent), in practice.

I like the author's note about the license: "As we do not believe in imaginary property, this package belongs to the public domain."

I think it's much more common to see a Creative Commons license on this sort of thing.

viraptor 1/7/2026||
And even then, when people have good intentions they don't anyways know about edge cases. Please give things a licence in addition to placing it in public domain, because in some countries (like Australia) you can't release your rights that way.
deckar01 1/7/2026||
Coffee stains should look like water color paints. The fluid deposits pigment more at dry boundaries as evaporation and absorption approach equilibrium.
velcrovan 1/7/2026||
Reminds me of Windows 3.11 programs that would add random "coffee stains" to your "desktop" "wallpaper"
jprezant 1/8/2026||
This is a good read for similar "fun" packages: https://tex.stackexchange.com/questions/67656/are-there-othe....
kkkqkqkqkqlqlql 1/7/2026||
Finally, I can drink my yerba mate and not be dismissed as a researcher.
notorandit 1/8/2026||
Half done job or just a starting point! We need also:

* tea strains

* bread crumbles (squashed among paper leaves)

* tomato sauce drops

* hair

> A lot of time can be saved by printing [extra stuff] directly on the page rather than adding them manually!

Schlagbohrer 1/8/2026|
And a squashed fly every thousand pages or so
dredmorbius 1/9/2026||
Paw prints!

<https://news.artnet.com/art-world/cats-medieval-manuscripts-...>

arunc 1/7/2026||
To save our children in the academia, we need a "Rewrite In Typst" movement, the equivalent of rewrite in rust!
sieste 1/7/2026||
If only they had stuck with latex maths syntax instead of inventing their own, I would have switched ages ago and encouraged others to do the same...
kzrdude 1/7/2026|||
math without infernal backslashes is one of the reasons I love Typst
xigoi 1/7/2026||||
What’s the point of switching if you’re going to leave in the worst part?
tcfhgj 1/7/2026|||
maybe someone will write a package for latex math
TRiG_Ireland 1/7/2026||
It's called mitex: https://typst.app/universe/package/mitex
aragilar 1/8/2026||
Does it support amsmath?
TRiG_Ireland 1/8/2026||
I think so, but I'm no expert in typesetting mathematics.
aragilar 1/9/2026||
That's not exactly encouraging... My biggest gripe with typst is the various design choices which make writing maths much harder than LaTeX (and given many of the issues with LaTeX usability come from having to use poorly maintained legacy packages, not having basic functionality in the core of the replacement seems naive at best).
auguzanellato 1/7/2026|||
There’s a bit of resistance sadly. My supervisor is “forcing” me to use LaTeX for my MSc thesis sadly.
iberator 1/8/2026||
Nearly all academia uses MS-OFFICE instead of TeX insanity. Only hardcore phds use it really
Seattle3503 1/7/2026|
I think it would be cool to see a version for epub 3.3, which is mostly html/xhtml with some limitations
More comments...