Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mathjax 在method.min.js 中preview 显示错误 #907

Closed
ihewro opened this issue Jan 27, 2021 · 1 comment
Closed

mathjax 在method.min.js 中preview 显示错误 #907

ihewro opened this issue Jan 27, 2021 · 1 comment
Assignees
Milestone

Comments

@ihewro
Copy link

ihewro commented Jan 27, 2021

描述问题

下面的markdown,直接复制到vidtor编辑器里面是正常的,也就是用index.min.js 解析渲染是正常的。

我下载了官方的demo,只用method.min.js,并且使用 mathjax的解析引擎,显示有问题。使用KaTeX是正常的。

image

image

$$
C_b^n=
\begin{bmatrix}
1-2q_2^2-2q_3^2 & 2q_1q_2-2q_0q_3 & 2q_0q_2+2q_1q_3\\
2q_1q_2+2q_0q_3 & 1-2q_1^2-2q_2^2 & 2q_2q_3-2q_0q_1\\
2q_1q_3-2q_0q_2 & 2q_0q_1+2q_2q_3 & 1-2q_1^2-2q_2^2
\end{bmatrix}

$$

$$
C_n^b={C_b^n}^\top=
\begin{bmatrix}
1-2q_2^2-2q_3^2 & 2q_1q_2+2q_0q_3 & 2q_1q_3-2q_0q_2\\
2q_1q_2-2q_0q_3 & 1-2q_1^2-2q_2^2 & 2q_0q_1+2q_2q_3\\
2q_0q_2+2q_1q_3 & 2q_0q_1+2q_2q_3 & 1-2q_1^2-2q_2^2
\end{bmatrix}

$$

$$
\begin{bmatrix}\vec{A_b}\end{bmatrix}=\begin{bmatrix}X\end{bmatrix}\begin{bmatrix}Y\end{bmatrix}\begin{bmatrix}Z\end{bmatrix}\begin{bmatrix}\vec{A_n}\end{bmatrix}

$$

$$
\begin{bmatrix}X\end{bmatrix}=
\begin{bmatrix}
1 &             0 &             0\\
0 & \cos\theta_x  & \sin\theta_x \\
0 & -\sin\theta_x & \cos\theta_x
\end{bmatrix}
\;
\begin{bmatrix}Y\end{bmatrix}=
\begin{bmatrix}
\cos\theta_y & 0 &-\sin\theta_y\\
0 & 1  & 0 \\
\sin\theta_y & 0 & \cos\theta_y
\end{bmatrix}
\;
\begin{bmatrix}Z\end{bmatrix}=
\begin{bmatrix}
\cos\theta_z & \sin\theta_z & 0\\
-\sin\theta_z & \cos\theta_z & 0\\
0 & 0 & 1
\end{bmatrix}

$$

在编辑器里面使用mathjax引擎渲染的效果:

image
image

期待的结果

希望mathjax解析引擎在method.min.js中也可以渲染正常

版本信息

  • 版本:3.7.7
  • 操作系统:
  • 浏览器: chrome
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants