# LaTex / MathJax into the forum

Discussion in 'Feedback and Suggestions' started by thumb2, Jan 28, 2016.

1. ### thumb2 Thread Starter Member

Oct 4, 2015
122
9
Last edited: Jan 28, 2016
2. ### Papabravo Expert

Feb 24, 2006
11,681
2,455
I'm not sure that publication quality has much importance for forum posts. Why don't you explain further why you think this is important?

3. ### thumb2 Thread Starter Member

Oct 4, 2015
122
9
Hi papabravo,
Not so important, but I prefer (let's call it) MathJax style than the style of the editor of the forum, so if it's possible to use it, why not ? : )

Regards

4. ### Papabravo Expert

Feb 24, 2006
11,681
2,455
I cannot speak to the possibility of using it, but what in your opinion are the style advantages, other than your personal preference? I ask because it is not clear to me.

5. ### thumb2 Thread Starter Member

Oct 4, 2015
122
9
Well, to be honest, it's not just about style, it more about how the forum editor works.

The editor of the forum does not accept

\begin{aligned}

just \begin{align}

Also, it doesn't behave regularly.
Look at this example:

Code (Text):
1. \begin{align} 2. & y = f(x)\\ 3. & y = {2\pi \over {\pi \over 7}} 4. \end{align}
produces a strange output:

\begin{align}
& y = f(x)\\
& y = {2\pi \over {\pi \over 7}}
\end{align}

while a better editor would accept also

\begin{aligned}

and would produce a better and a more understable output:

Now, it was just a question, if it's possible to use MathJax into the forum, and if so, how.

: )

File size:
780 bytes
Views:
29
6. ### Papabravo Expert

Feb 24, 2006
11,681
2,455
I didn't realize the \over could be used for fractions, I thought the construction was \frac{x}{y} to produce

$\frac{x}{y}$
or
$y\;=\;\frac{2 \pi}{\frac{\pi}{7}}$

So the TeX processor on the forum is not a full implementation, but only a subset. I think it might be more reasonable to extend it rather than switch horses or worse, support multiple alternative methods.

7. ### thumb2 Thread Starter Member

Oct 4, 2015
122
9
So I will have to use \frac xD

8. ### WBahn Moderator

Mar 31, 2012
22,990
6,884
There are two issues -- the language support and the rendering engine. These are, by and large, separate issues.

I'm not a big fan of the rendering engine that is used, but it's tolerable.

I wish the language support included more things, or at least was well-documented.

thumb2 likes this.
9. ### Papabravo Expert

Feb 24, 2006
11,681
2,455
I don't know if that is the whole problem. The \over construction is familiar from OpenOffice, not from LaTeX. To do fractions I use

\frac{}{}

The numerator goes in the first set of curly brackets, and the denominator goes in the second. Easy Peasy.

thumb2 likes this.
10. ### thumb2 Thread Starter Member

Oct 4, 2015
122
9
I know the frac operator. I just never use so I completely forget it.

11. ### Papabravo Expert

Feb 24, 2006
11,681
2,455
Wow, a 3 grin response. I'm coming up in the world -- thanks man.