CuteMarkEd icon indicating copy to clipboard operation
CuteMarkEd copied to clipboard

some of math formulas can't rendered correctly

Open taoluo opened this issue 9 years ago • 6 comments

most math formulas works fine, but some of them,starting with "", can't be rendered. for example, (\mathrm{d}(C-\Delta S) = 0.5\Gamma \mathrm{d}S^2)
OR [\Gamma := \frac{\partial^2{V}}{\partial{S^2}} = \frac{\partial{\Delta}}{\partial{S}}]

taoluo avatar Jun 14 '15 08:06 taoluo

Yes, the math support still has some problems. Especially if characters in the formula are replaced by the markdown converter. This is for example the case with a^b which will be replaced with a<sup>b</sup> if the extension Superscript is active.

The following worked for me with all markdown extensions active:

\\(\mathrm{d}(C-\Delta S) = 0.5\Gamma \mathrm{d}S\^2\\)
\\[\Gamma := \frac{\partial\^2{V}}{\partial{S\^2}} = \frac{\partial{\Delta}}{\partial{S}}\\]

Hope it helps! Christian

cloose avatar Jun 15 '15 18:06 cloose

could u add $\latex$ for rendering inline formula?

whzecomjm avatar Nov 30 '15 21:11 whzecomjm

Hi @cloose , Could you please disable markdown escaping(e.g. _ ) in math formulas?

Now I have to write $$ \prod_{i=1}^{n}{P(Y=y_i|x_i)} $$

instead of

$$ \prod_{i=1}^{n}{P(Y=y_i|x_i)} $$

Thanks.

snnn avatar Feb 05 '16 07:02 snnn

I write this $$\sum_{i=1}^{n}=t$$, but it doesn't work, what should I do? Thanks.

Alxe1 avatar Dec 11 '16 09:12 Alxe1

Hi @Alxe1 escape '_'. Add a backslash before it so markdown will not interpret it.

snnn avatar Dec 24 '16 08:12 snnn

you mean this $$\sum_{i=1}^n$$, right? it doesn't work, it shows "Σi=1nΣi=1n" in PDF. @snnn .( I add a backlash, it doesn't show here.)

Alxe1 avatar Dec 24 '16 08:12 Alxe1