# SuggestionDeclined LaTeX support

Discussion in 'Forum Suggestions and Bugs' started by plaYer2k, Nov 13, 2015.

This last post in this thread was made more than 31 days old.
1. ### plaYer2kMaster Engineer

Messages:
3,160
As we had quite a few interesting actual discussions about math or other technicalities, it would be really useful to have some way to enter LaTeX code into posts.

Having to use external references and either use screenshots or even have some way to use the media feature are rather awkward.

• Agree x 1

Messages:
822

• Like x 2

Messages:
822
Can you parse me some example Latex code?

4. ### plaYer2kMaster Engineer

Messages:
3,160
I feel that one of the many example and tutorial websites are actually a better place to get a sense for LaTeX aswell as show code examples.

This has a very good overview and live-evaluation.
https://www.forkosh.com/mimetextutorial.html

Though if by "example" you were implying to set some parser up youself then you shouldnt spend time in such a project i guess. LaTeX simply is too big and powerful, even just the math environment is.

If you can not find a local and thus "independent" solution you could look into this easy web API:
https://www.codecogs.com/latex/eqneditor.php

The simple example code:
\sum_{i=0}^n\left(\frac{x_1^2}{y_2^2}\right)

turns into
$\sum_{i=0}^n\left(\frac{x_1^2}{y_2^2}\right)$
with the following easy to parse and understand encoded image url
Code:
https://latex.codecogs.com/gif.latex?%5Csum_%7Bi%3D0%7D%5En%5Cleft%28%5Cfrac%7Bx_1%5E2%7D%7By_2%5E2%7D%5Cright%29
or the non-encoded if it doesnt cause any issues
Code:
https://latex.codecogs.com/gif.latex?\sum_{i=0}^n\left(\frac{x_1^2}{y_2^2}\right)
So while it sure would be fine to use these external references on our own (like the above equation) it would be prefered to get a solution that doesnt rely on external services.

I hope that helps and thanks.