this post was submitted on 12 Mar 2024
11 points (100.0% liked)
Programmer Humor
32365 readers
545 users here now
Post funny things about programming here! (Or just rant about your favourite programming language.)
Rules:
- Posts must be relevant to programming, programmers, or computer science.
- No NSFW content.
- Jokes must be in good taste. No hate speech, bigotry, etc.
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
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 tworotatebox
es, aphantom
, avspace
, ahspace
and 40 minutes of my life to get the alignment right. Would probably have taken a duckduckgo search and three clicks in Libreoffice.btw what do you think about typst?
i only used it for simple stuff so far but it seems pretty fun and easy to use
My two cents, after years of Markdown (and md to PDF solutions) and LaTeX and a full two years of trying to commit to bashing my head against Word for work purposes, I'm really enjoying Typst. It didn't take long to convert my themes, having docs I can import which are basically just variables to share across documents in a folder has been really helpful. Haven't gone too deep into it but I'm excited to give it a deeper test run over the next little bit.
Never heard of it before, but might give it a try at some point. From the website, it seems like something halfway in between LaTeX and Markdown? Sounds exactly like what I need at times, tbh.
yeah it's perfect for taking notes and stuff
Especially the installation process
I still have no idea how to exit the build process. It tells I need to type
H
or\end
but it also just lies. I find the easiest way is to invokeCtrl-Z
and then kill the background process, and the ~~younglings~~ childrenYeah, what the hell is up with that? I always just
echo | pdflatex
to make it shut up and exit on error. Maybe one day I'll learn how to actually use that interactive compilation thing, but not today lol.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...
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.
That looks interesting, thanks for the ping. I will give it a try.