this post was submitted on 12 Mar 2024
1083 points (95.7% liked)

Programmer Humor

31324 readers
25 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 4 years ago
MODERATORS
 

Please dont take this seriously guys its just a dumb meme I haven't written a single line of code in half of these languages

you are viewing a single comment's thread
view the rest of the comments
[–] bort@sopuli.xyz 109 points 4 months ago* (last edited 4 months ago) (19 children)

Latex: Problem --> \def\please@#1#2#3#4{\e@kill#2#3{\me#1}#4@now} -->

[–] renzev@lemmy.world 61 points 4 months ago (15 children)

Accurate. LaTeX is great, it makes you feel like you have superpowers compared to "office suite"-style software. But every once in a while you just run into some bullshit that feels like it's stuck in 1985 and it completely breaks your flow. I remember wanting to make a longtable where text in the "date" column would be rotated by 90 degrees to leave more horizontal room for the other columns. It took me two rotateboxes, a phantom, a vspace, a hspace and 40 minutes of my life to get the alignment right. Would probably have taken a duckduckgo search and three clicks in Libreoffice.

[–] Odiousmachine@feddit.de 2 points 3 months ago (1 children)

Funnily enough I had a similar problem but I wanted text instead of a date. In the end I used a solution similar to yours and adjusted each cell entry manually for hours. Feels like there should be a lot simpler solution for this problem in LaTeX. Glad I don't need to use it anymore...

[–] renzev@lemmy.world 1 points 3 months ago (1 children)

u/vox@sopuli.xyz suggested Typst as an alternative to TeX. I gave it a try, and I'm loving it so far. It even has built-in support for the rotated text thing https://typst.app/docs/reference/model/table . I've only used it for notes/homework so far, but I'm looking forward to seeing how it fares for more serious typesetting tasks.

[–] Odiousmachine@feddit.de 1 points 3 months ago

That looks interesting, thanks for the ping. I will give it a try.

load more comments (13 replies)
load more comments (16 replies)