# Let's use math my nerds

(darix) #1

For a while we had either to render math outside of the forum or using some kind of ascii art for them.

But this is over now.

We added the offical math plugin to our instance. And yes asciimath is enabled too.

$$E=mc^2$$


will be rendered as

E=mc^2

All the rendering is client side (via javascript). Hope it makes it a bit more fun for you nerds.

The only caveat I have noticed so far that preview seems to act funky if you start directly with math.
Other than that my testing seemed to reveal no problems.

With kind regards,

the nerds from your infrastructure team.

(Pat David) #2

If you are going to use a mathjax equation in a post, please remember to start the post with some regular text to not break preview rendering…

x={-b\pm\sqrt{b^2-4ac} \over 2a}
$$x={-b\pm\sqrt{b^2-4ac} \over 2a}$$


(darix) #3

(Ingo Weyrich) #4

There’s a condition missing in your example

#5

Hmmm…

{2 \times much \times dependency \over mathematics} = \sqrt{ \forall Evil}

#6

Did not want to correct you, just wanted to know if it might work …

\frac{2×\text{much}×\text{dependency}}{\text{mathematics}}=\sqrt{ \forall\text{Evil}}

(Mica) #7

with that sweet LaTeX font and everything!

#8

Nice FORmula TRANslator, by the way.

(Lowell Johnson) #9

Err, do you mean \LaTeX?

(Mica) #10

Haha, I do!

(Carmelo Dr Raw) #11

COOOOL!!!

#12

I find the balance of the letters disturbing. Should be more like .

BTW, it sometimes takes a while for the scripts to load on my phone…

(Mica) #13

The latex part is rendered client side, so its your phone

(Lowell Johnson) #14

Yeah, I agree that \LaTeX is not the same as the standard typeset \LaTeX, which you’ve displayed. KaTeX (https://katex.org/) gets it right. Maybe it’s because we’re talking about math typesetting here, but this math plugin is giving us italics (i.e., \textit{\LaTeX}).

Is this conversation off the rails yet?

And I have no comment for or against your phone.

#15

(Isaac Ullah) #16

Let us test:

success={{perseverance * (luck)^3} \over time}

Cool!

(Mica) #17

@Isaac luck cubed?

#18

Quote of the day by @afre:

If luck were a fruit, I would certainly serve it in cubes.

(Martin Scharnke) #19

Wombat excrement is served in cubes; Is that the sort of luck you were referring to?

#20

One word: mob.