816
Two chemists walk into a bar
(sh.itjust.works)
A place for majestic STEMLORD peacocking, as well as memes about the realities of working in a lab.
Rules
Perhaps it’s the hangover but… huh? I don’t get it. Please help. Kind regards.
H²O² is poisonous
Lemmy supports subscript!
H~2~O~2~
displays as H~2~O~2~.Now all I want is inline TeX.
I do quite like how clear TeX is. The curly braces make it completely unambiguous how everything is supposed to be parsed, which means even though it's a little more awkward to write, it's still a lot easier to write if your comments are getting more complicated. Plus it's so much easier for the parsing libraries to get right.
I just love how universal it is. Sure, it has its flaws, but its strength is how many different applications use it. Once you know how to write TeX, you can express any equation you want clearly and understandably, as opposed to trying to write it with Unicode. Bonus points for how easy it is to add TeX rendering to the web with libraries like KaTeX (my personal favourite) or MathJax. I was able to add TeX support to my blog in 10 minutes.
I'm a bit of a sucker for TeX as might be apparent from my infodumping. If anyone's as passionate and doesn't know of it yet: You should try the https://texnique.xyz game. It's a timed TeX typing game. I can get up to 70-80 points in it fairly consistently :D
Lol!
Half of the stuff people expect to work is library code that isn't even bundled at the default TeX context. Most of the symbols don't even come packaged with the TeX interpreter.
Somebody should really make a "standard TeX" and LaTeX should adopt it.
Yes, universal. Many websites, apps, communicators etc. implement a flavour of TeX. They will differ in some more complex features or commands, but your
$a^2+b^2=c^2$
will work. And that's the point. For most times, you'll just want to communicate some simple concepts.We could do better, for sure. For example, there's been some development around Typst, which tries to resolve many of those quirks, annoyances, and inconsistencies that come with TeX. It makes sense, since TeX evolved rather naturally and outgrew what it was initially comprised to be. While I'd love to see Typst come far, for now TeX is something that I take for granted, which perhaps better encompasses my thoughts than the word "universal".