sbfkcel / towxml

微信小程序HTML、Markdown渲染库
https://github.com/sbfkcel/towxml/wiki
2.5k stars 317 forks source link

markdown 公式无法解析 #253

Closed INTKILOW closed 1 year ago

INTKILOW commented 1 year ago

首先计算出 $7m^2-14m = 7(1+\sqrt{2})^2 - 14(1+\sqrt{2}) = -7\sqrt{2}$,$3n^2-6n-7 = 3(1-\sqrt{2})^2-6(1-\sqrt{2})-7 = -7\sqrt{2}$。因此 $(7m^2-14m+a)(3n^2-6n-7) = (-7\sqrt{2}+a)(-7\sqrt{2})=8$。解得 $a = \frac{8}{7\sqrt{2}}-7\sqrt{2} = -\frac{37}{7}\sqrt{2}$。所以 $a=-\frac{37}{7}\sqrt{2}$。

INTKILOW commented 1 year ago

首先计算出 $7m^2-14m = 7(1+\sqrt{2})^2 - 14(1+\sqrt{2}) = -7\sqrt{2}$,$3n^2-6n-7 = 3(1-\sqrt{2})^2-6(1-\sqrt{2})-7 = -7\sqrt{2}$。因此 $(7m^2-14m+a)(3n^2-6n-7) = (-7\sqrt{2}+a)(-7\sqrt{2})=8$。解得 $a = \frac{8}{7\sqrt{2}}-7\sqrt{2} = -\frac{37}{7}\sqrt{2}$。所以 $a=-\frac{37}{7}\sqrt{2}$。

INTKILOW commented 1 year ago

image

INTKILOW commented 1 year ago

样式怎么调整

sbfkcel commented 1 year ago

这种复杂的公式,建议使用块公式。否则你怎么调都显示不下