## Latex formula support ?

### 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

Thanks for your community

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

Thanks for your community

**Spectral**

**OMPF 2 global moderator**

### 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 ?

Thanks for your help

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

Thanks for your help

**Spectral**

**OMPF 2 global moderator**

### 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:
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:
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.

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>
```

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)}
\]
```

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

### 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?

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?

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

### Re: Latex formula support ?

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

Brilliant .admin wrote: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?

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

Arite.

### Re: Latex formula support ?

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

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

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

**Spectral**

**OMPF 2 global moderator**

### 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

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

Thanks

**Spectral**

**OMPF 2 global moderator**