latex 公式转为 word 公式


真是惨,帮同学改论文,发现因版本不兼容,公式全部转为图片了,需要将公式的图片转为 word 公式:

  1. 先使用 mathpix 将图片转为 latex。
    mathpix 软件下载地址:https://mathpix.com/
    mathpix 的使用是 ctrl+alt+m

  2. 再将latex 转为 word 公式。
    这个可以有两种方式:

<!DOCTYPE html>

<html>

<head>

<script type="text/javascript"

  src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML">

</script>

<title>tex texample</title>

</head>

<body>

$$

\mathbf{C}_{i, j}=\left\{\begin{array}{ll}{\left(\mathbf{T}_{i, j}+\mathbf{T}_{M, N}+\mathbf{Q}_{i, j}\right) \bmod F,} & {\text { if } i=1, j=1} \\ {\left(\mathbf{T}_{i, j}+\mathbf{C}_{M, j-1}+\mathbf{Q}_{i, j}\right) \bmod F,} & {\text { if } i=1, j \neq 1} \\ {\left(\mathbf{T}_{i, j}+\mathbf{C}_{i-1, j}+\mathbf{Q}_{i, j}\right) \bmod F,} & {\text { if } i \neq 1}\end{array}\right.

$$

</body>

把需要转换的 latex 代码贴到 $$ 中。

用浏览器打开文件:

复制 mathML 代码,到 word 文档粘贴“只保留文本”。

参考:https://www.douban.com/note/648629593/


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM