确实这样。
似乎单行中使用单个 没问题,双 会随机
的确。顺便,$ $
中的汉字被认为是公式了。
测试一下
也还好吧,正常情况下,很少有几率出现一行中两个 $ 的情况
测试。
$$
E^2 = p^2c^2 + m^2c^4
$$
$$E^2 = p^2c^2 + m^2c^4$$
$$E^2 = p^2c^2 + m^2c^4$$
\(x^2 + y^2 = z^2\)
(x^2 + y^2 = z^2)
\[ x^n + y^n = z^n \]
[ x^n + y^n = z^n ]
\begin{math}E=mc^2\end{math}
\begin{math}E=mc^2\end{math}
\begin{displaymath}
\sqrt{x^2+1}
\end{displaymath}
\begin{displaymath}
\sqrt{x^2+1}
\end{displaymath}
\begin{equation}
E=m
\end{equation}
\begin{equation}
E=m
\end{equation}
\$20 \$40
$20 $40
这也不是问题。
这是官网的插件介绍。下面的文字讨论了它跟老插件的区别。具体地说,在新插件里,只有 $
与 $$
能用。
What about the old plugin?
There is a plugin maintained by @Kasper/ @masda70 called Discourse MathJax . This plugin is a ground up re-write to support the new markdown it engine. The main differences are:
- It is much stricter about block and inline syntax, only $ and $$ blocks are supported
- It embeds MathJax or KaTeX renderer so you do not need to use a CDN
- It only loads the math renderer if it detects equations on the page.
- It surgically applies renderer as opposed to performing full page scans.
- It is well specified using specs
我说昨天论坛怎么老看到在升级的提示。。。
不好意思,因为我自己提功能需求,让您进不去论坛。抱歉。
只是吐槽一下,顺便学习了个新知识。
那就好。毕竟,蛙哥说装插件要重启系统,这会暂时地影响论坛。我也是有些过意不去的。(虽然,现在觉得它很香。)
主要是水平不行…每一次成功。
蛙哥辛苦了!
今天早上还看到升级提示来着的,所以是折腾了一宿吗?辛苦了。
我預感以後會見到更多關於數學的水帖。
我开了个头;估计会有不少的。不过,也不会太多吧,因为本论坛并不是算学论坛。我以后至多在“灌水聊天”说算学吧。
没有,今早找到问题后20分钟搞定了。
来个复杂的试一下
这种公式很多年前见过…
\mathcal{L}