Yes, it is great, isn't it?  Are you asking how to make it work?  You have 
to set a setting:

For ReStructured Text, the setting is @bool vr3-math-output = True
For Markdown, the setting is @bool vr3-md-math-output = True 

You also have to tell it where the MathJax script file is located.  The 
setting is

@string vr3-mathjax-url = 
https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js 

It is better - faster to render, and you don't need an internet connection 
- if you download the files to your own computer.  Then the url would be 
something like this:

file:///D:/utility/mathjax/es5/tex-chtml.js

This information and more is in the VR3 Help, which you can display from 
the Plugins/Viewrendered3/About menu item.

Once you have the settings set up, you don't need to write the "$$", etc. 
if you are usng RsT.  For math in RsT use standard RsT syntax for math:

.. math::

    \sum_{n=1}^\infty\frac{-e^{i\pi}}{2^n} + (\frac{5 - \frac{1}{x}}{4})
    α_t(i) = P(O_1, O_2, … O_t, q_t) = S_i λ

For Markdown, you do use the syntax you showed:

$$\frac{2 \pm \sqrt{7}}{3}$$

On Saturday, October 3, 2020 at 11:26:01 AM UTC-4 wangz...@gmail.com wrote:

> It is great to display  mathematical 
> <https://cn.bing.com/dict/search?q=mathematical&FORM=BDVSP6&mkt=zh-cn> 
> formulas 
> <https://cn.bing.com/dict/search?q=formulas&FORM=BDVSP6&mkt=zh-cn> in vr3.
>
> For example:
>
>     $$ \frac{1}{n}\sum\limits_{x,y}\frac{1}{2}(y-Model(x))^2 $$
>

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/460cda8f-799c-4130-8144-2462a0c9396fn%40googlegroups.com.

Reply via email to