818
you are viewing a single comment's thread
view the rest of the comments
[-] fartsparkles@sh.itjust.works 91 points 6 months ago

Perhaps it’s the hangover but… huh? I don’t get it. Please help. Kind regards.

[-] BennyInc@feddit.de 161 points 6 months ago

He expected an „I’ll have H2O, too“

[-] MarcomachtKuchen@feddit.de 117 points 6 months ago
[-] Zagorath@aussie.zone 59 points 6 months ago

Lemmy supports subscript! H~2~O~2~ displays as H~2~O~2~.

[-] FiskFisk33@startrek.website 38 points 6 months ago
[-] PoolloverNathan@programming.dev 16 points 6 months ago

!technicallythetruth@lemmy.world

[-] exscape@kbin.social 3 points 6 months ago

And on kbin it shows as strikethrough, so the 2s are crossed out.

[-] Opisek@lemmy.world 27 points 6 months ago

Now all I want is inline TeX.

[-] Zagorath@aussie.zone 14 points 6 months ago

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.

[-] Opisek@lemmy.world 9 points 6 months ago* (last edited 6 months ago)

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

[-] marcos@lemmy.world 4 points 6 months ago

I just love how universal it is.

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.

[-] Opisek@lemmy.world 4 points 6 months ago* (last edited 6 months ago)

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".

[-] ADTJ@feddit.uk 18 points 6 months ago

Your example doesn't work for me but the one above is shown in superscript

[-] Zagorath@aussie.zone 3 points 6 months ago

Oh that's quite weird. What client is that?

[-] teejay@lemmy.world 9 points 6 months ago
[-] readthemessage@lemmy.eco.br 5 points 6 months ago

It does not work in Boost as well

[-] jaybone@lemmy.world 2 points 6 months ago

Shows as superscript on Memmy.

[-] Leate_Wonceslace@lemmy.dbzer0.com 11 points 6 months ago* (last edited 6 months ago)

H~2 O~2

Something new to bring to the Sync developer's attention.

[-] theonyltruemupf@feddit.de 7 points 6 months ago

Hey @ljdawson@lemmy.world this formatting doesn't seem to work in Sync :)

[-] PoolloverNathan@programming.dev 3 points 6 months ago

You need to surround the text. H~2~O~2~ = H~2~O~2~.

[-] T4V0@lemmy.world 11 points 6 months ago

Works on Voyager at least.

[-] qaz@lemmy.world 4 points 6 months ago

Your example is also rendered

[-] Zagorath@aussie.zone 11 points 6 months ago

Huh? I know some clients fail to properly display superscript and subscript (which shouldn't be a problem since it would be the same for my text as for the above text anyway), but I didn't think there were any clients that would choose to render code snippets as formatted text. Anyway, here's a screenshot of how it should look:

[-] qaz@lemmy.world 4 points 6 months ago

Thanks, it seems to be a bug with the Thunder app.

[-] onion@feddit.de 3 points 6 months ago
[-] brbposting@sh.itjust.works 3 points 6 months ago

Worked in Voyager iOS at least, very cool

[-] danc4498@lemmy.world 0 points 6 months ago
[-] Empricorn@feddit.nl 22 points 6 months ago

Hydrogen peroxide, right?

[-] AEsheron@lemmy.world 66 points 6 months ago* (last edited 6 months ago)

The setup is the same as another joke, where the second person asks for H2O too, which the bartender parses as H2O2, and gets served poison.

[-] KrankyKong@lemmy.world 1 points 6 months ago

Hydrogen Peroxide, to be precise. But yeah, poison.

this post was submitted on 11 May 2024
818 points (96.8% liked)

Science Memes

11189 readers
2503 users here now

Welcome to c/science_memes @ Mander.xyz!

A place for majestic STEMLORD peacocking, as well as memes about the realities of working in a lab.



Rules

  1. Don't throw mud. Behave like an intellectual and remember the human.
  2. Keep it rooted (on topic).
  3. No spam.
  4. Infographics welcome, get schooled.

This is a science community. We use the Dawkins definition of meme.



Research Committee

Other Mander Communities

Science and Research

Biology and Life Sciences

Physical Sciences

Humanities and Social Sciences

Practical and Applied Sciences

Memes

Miscellaneous

founded 2 years ago
MODERATORS