logoalt Hacker News

LaTeX Coffee Stains (2021) [pdf]

377 pointsby zahrevskylast Wednesday at 2:46 PM88 commentsview on HN

Comments

spudlyolast Wednesday at 3:12 PM

I'm surprised nobody has yet mentioned how pleasant it is to create coffee stains using Typst, and if only LaTeX wasn't the de-facto standard in academia and stain-related journals, they would have already switched to it.

Of course, you can create coffee stains in HTML as well, but it's not something you can do in Markdown.

show 5 replies
Rygianlast Wednesday at 3:19 PM

Feature request: even/odd page stains that line up exactly as a single thru-stain.

show 1 reply
jprezantyesterday at 5:19 PM

This is a good read for similar "fun" packages: https://tex.stackexchange.com/questions/67656/are-there-othe....

pdpilast Wednesday at 3:32 PM

Everybody knows that coffee stains are the only surefire way to tell whether a paper has been read or just printed out and ignored. A colleague in uni (way back in early 00s) would add these to her documents every once in a while to give them the "has been read" stamp of approval.

show 1 reply
ravila4last Wednesday at 3:16 PM

This looks nice, but it is just placing some pre-defined vector files. I wonder if it could be possible to procedurally generate realistic coffee stains.

show 1 reply
Vicinity9635yesterday at 3:06 AM

Love this. My resume has been in LaTeX for over 20 years now.

Underappreciated IMHO. You can version control it, no dealing with wild Word shenanigans. Totally deterministic. Just find a style, insert your bullets and you have a nice sharable PDF.

Nowadays you can even have your preferred LLM do the conversion for you. LaTeX is finicky and I've had it fix warnings in mine that I couldn't be bothered to.

Good stuff, highly recommend a LaTeX resume, whether or not you drink coffee.

show 2 replies
kubblast Wednesday at 3:26 PM

Not drinking coffee is the only reason I’ve ever felt truly excluded at a software company. Everyone loves their coffee!

show 1 reply
pureagavelast Wednesday at 3:45 PM

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.

show 1 reply
zippyman55last Wednesday at 3:13 PM

This looks like the old Lucent Technologies corporate logo. This would have been handy back in the day.

show 1 reply
notorandityesterday at 11:45 AM

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!

show 1 reply
bmenrighlast Wednesday at 4:28 PM

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.

show 1 reply
deckar01last Wednesday at 7:21 PM

Coffee stains should look like water color paints. The fluid deposits pigment more at dry boundaries as evaporation and absorption approach equilibrium.

velcrovanlast Wednesday at 3:38 PM

Reminds me of Windows 3.11 programs that would add random "coffee stains" to your "desktop" "wallpaper"

kkkqkqkqkqlqlqllast Wednesday at 6:07 PM

Finally, I can drink my yerba mate and not be dismissed as a researcher.

anishguptayesterday at 3:43 AM

Here we go, trying to feel authenticity in our new world. Mistakes are beautiful

arunclast Wednesday at 7:33 PM

To save our children in the academia, we need a "Rewrite In Typst" movement, the equivalent of rewrite in rust!

ChrisArchitectlast Wednesday at 3:44 PM

(2021) Some previous discussion: https://news.ycombinator.com/item?id=39316193

jpfromlondonyesterday at 10:21 AM

as amazing as these are, they do still look a little fecal.

drob518last Wednesday at 7:15 PM

My life is complete. I can die happy.

Seattle3503last Wednesday at 5:07 PM

I think it would be cool to see a version for epub 3.3, which is mostly html/xhtml with some limitations

tuhgdetzhhlast Wednesday at 5:58 PM

"This page was intentionally left blank" is also an all time favorite of mine.

Zigurdlast Wednesday at 3:08 PM

Brilliant! And people say Lucent overpaid for their logo.

conformistlast Wednesday at 11:09 PM

Another essential package is realhats (replace boring \hat with real hats)!

https://github.com/mscroggs/realhats

aaronblohowiaklast Wednesday at 3:04 PM

Interesting way to apply a water mark

show 1 reply
kasane_tetolast Wednesday at 3:04 PM

How nice.

dcuthbertsonyesterday at 1:43 AM

Now I want a package to add blood stains on my murder mystery screenplay.