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