CSDN在markdown编辑器中利用mathtype插入数学公式

有改动:
参考1

1 在mathtype中编辑公式

在这里插入图片描述

2 点击“选项(P)”菜单,选择“剪切和复制预置(C)”

在这里插入图片描述

3 点选“转换其他文字”,去掉“MathType数据(D)”前面的勾,点“确定”

在这里插入图片描述

4 最后将mathtype中编辑的公式copy到CSDN中

注:行内公式使用 使 前后包裹,行间公式使用 $前后包裹

$\[\hat p({s_{t + 1}}|{s_t},{a_t}) \approx {p^*}({s_{t + 1}}|{s_t},{a_t})\]$

此时会报错,因此还需要
删去公式前面的 \ [
删去公式结尾的 \ ]

$\hat p({s_{t + 1}}|{s_t},{a_t}) \approx {p^*}({s_{t + 1}}|{s_t},{a_t})$

粘贴上述代码,方可得到公式如下

p ^ ( s t + 1 s t , a t ) p ( s t + 1 s t , a t ) \hat p({s_{t + 1}}|{s_t},{a_t}) \approx {p^*}({s_{t + 1}}|{s_t},{a_t})

发布了58 篇原创文章 · 获赞 7 · 访问量 6127

猜你喜欢

转载自blog.csdn.net/weixin_42828571/article/details/104381219