Latex in the forum

How to write in latex in the forum?

Some test:
$a_2^4$ $$a_2^4$$ $latex a_2^4$

They all fail :-(
If there is not solution, would be great to enable it on the forum, at the end math is more compact than english :-)

8 responses

Images can be shared. See https://www.quantopian.com/posts/sharing-an-image. For example:

Hi @Grant,

Where do you publicly store the images you share here in the forums? Dropbox, Google Drive (GD), or somewhere else? I've tried to share/link to images stored in my public folder on both Dropbox and GD but with no luck. Any tips?

Yes indeed, I had saw that post about sharing images. But then it a bit anoying to generate an image, then host it, then link it :-). What a lost of time!

To the webmaster: enabling latex can be done in minutes :-), mathjax would be my choice, as it is very very easy to setup.

@ Joakim -

1. Go to https://imgur.com/.
2. Click New post (upper left).
4. Right-click on the image and copy the image location (works in Firefox...may be different for other browsers).
![](<insert link to image>)


@ David - Quantopian research notebooks support math notation, although I don't know if it is LaTeX. However, if you look at https://www.quantopian.com/papers/risk, and right-click on one of the equations, MathJax is being used. Maybe the forum already supports it? Generally, I agree that for a quantitative site, the forum should support math directly and conveniently.

Awesome! Thanks Grant!

@grant

Indeed notebooks support LaTex, python too... if you want to write the caption of a figure using LaTex in matplotlib you can do something like that:

ax.set_xlabel(r"$\alpha$")

the 'r' is needed to allow it working well (without it most tex command will work but not all.... Then the font is a bit weird in matplotlib, but you can evidently change it :-).

Great to know that MathJax is indeed already installed for the website..., please could someone tell us how to use it in the forum :-). OK one can always attach a notebook :-).

Hi David,

We've added support for $$\rm\LaTeX$$ in the forums. Image workarounds not needed!

Disclaimer

The material on this website is provided for informational purposes only and does not constitute an offer to sell, a solicitation to buy, or a recommendation or endorsement for any security or strategy, nor does it constitute an offer to provide investment advisory services by Quantopian. In addition, the material offers no opinion with respect to the suitability of any security or specific investment. No information contained herein should be regarded as a suggestion to engage in or refrain from any investment-related course of action as none of Quantopian nor any of its affiliates is undertaking to provide investment advice, act as an adviser to any plan or entity subject to the Employee Retirement Income Security Act of 1974, as amended, individual retirement account or individual retirement annuity, or give advice in a fiduciary capacity with respect to the materials presented herein. If you are an individual retirement or other investor, contact your financial advisor or other fiduciary unrelated to Quantopian about whether any given investment idea, strategy, product or service described herein may be appropriate for your circumstances. All investments involve risk, including loss of principal. Quantopian makes no guarantees as to the accuracy or completeness of the views expressed in the website. The views are subject to change, and may have become unreliable for various reasons, including changes in market conditions or economic circumstances.

That is great!!

If
$$\lim_{x\rightarrow8}\frac{1}{x{-}8}=\infty$$

then
$$\lim_{x\rightarrow5}\frac{1}{x{-}5}=\rotatebox{90}{5}$$