## Latex formula support ?

Announcements, maintenance etc.. Boring.
spectral
Posts: 382
Joined: Wed Nov 30, 2011 2:27 pm
Contact:

### Latex formula support ?

Hi,

It will be fine if the forum can support latex formula ?!

I'm sure that you agree... but just hope that you will find some time to add it

graphicsMan
Posts: 167
Joined: Mon Nov 28, 2011 7:28 pm

### Re: Latex formula support ?

+1

spectral
Posts: 382
Joined: Wed Nov 30, 2011 2:27 pm
Contact:

### Re: Latex formula support ?

Any news ?

Is there someone able to improve the forum please, because it is hard to add complex formula with latex ?

Arite
Posts: 9
Joined: Mon Dec 19, 2011 3:05 am

### Re: Latex formula support ?

As a suggestion MathJax support could be added.

For a basic configuration all that needs to be done is to add:

Code: Select all

<script type="text/javascript"
src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML">
</script>
Somewhere in the <head> section of overall_header.html (Editable by going to the Administration Control Panel (ACP) >> Styles >> Templates >> Edit prosilver >> Select "overall_header.html").

Then for example typing:

Code: Select all

We can derive de Moivre's formula using Euler's formula:
$\left( \cos{\theta} + i \sin{\theta} \right)^n = \left( e^{i\theta} \right)^n = e^{i (n \theta)} = \cos{(n \theta)} + i \sin{(n \theta)}$
Would yield (screenshot from my phpBB forum):

^ Probably should've chosen the rendering equation instead .

There are MathJax phpBB mods too (for example here), however just adding the script to the header seems to be good enough for most things.

Cheers, Arite.

Posts: 24
Joined: Sun Nov 27, 2011 9:41 pm

### Re: Latex formula support ?

Arite, thanks for the detailed instructions!

Test:

We can derive de Moivre's formula using Euler's formula:
$\left( \cos{\theta} + i \sin{\theta} \right)^n = \left( e^{i\theta} \right)^n = e^{i (n \theta)} = \cos{(n \theta)} + i \sin{(n \theta)}$

EDIT: Seems to work. Will this do for now?

spectral
Posts: 382
Joined: Wed Nov 30, 2011 2:27 pm
Contact:

### Re: Latex formula support ?

Wonderful, thanks a lot

dr_eck
Posts: 46
Joined: Mon Dec 05, 2011 7:35 pm

### Re: Latex formula support ?

I agree! It wasn't something I was really dying for, but I really appreciate it now that it's available.

Arite
Posts: 9
Joined: Mon Dec 19, 2011 3:05 am

### Re: Latex formula support ?

admin wrote:Arite, thanks for the detailed instructions!
No problem .

We can derive de Moivre's formula using Euler's formula:
$\left( \cos{\theta} + i \sin{\theta} \right)^n = \left( e^{i\theta} \right)^n = e^{i (n \theta)} = \cos{(n \theta)} + i \sin{(n \theta)}$

EDIT: Seems to work. Will this do for now?
Brilliant .

A Global annoucement saying e.g. "MathJax LaTeX formula support added" with a couple of usage examples could be helpful for new users.

Arite.

spectral
Posts: 382
Joined: Wed Nov 30, 2011 2:27 pm
Contact:

### Re: Latex formula support ?

You can use the following tool to easily create your formula :

http://www.codecogs.com/latex/eqneditor.php

spectral
Posts: 382
Joined: Wed Nov 30, 2011 2:27 pm
Contact:

### Re: Latex formula support ?

Is there some anti-aliasing option ? The formula looks pixelated..

BTW:Take a look at the previous link to compare.

Thanks