公式转化为latex代码:
可用mathpix将手写或截图转化为latex公式(同时也能输入latex转化为公式):
https://accounts.mathpix.com/login?return_to=https%3A%2F%2Fsnip.mathpix.com
参考:https://www.jianshu.com/p/cb3ce0f64f3d
latex代码输入到word2016:
两种方法:(参考:https://blog.csdn.net/yq_forever/article/details/79412042)
1.可用浏览器插件,安装好后在浏览器任意地方粘贴Latex(任意文本框),选中,右键Latex2Word,到word里粘贴即可。(该插件也可以用在wipi公式的复制),地址:https://github.com/idf/LaTeX2Word-Equation
2.直接在word中粘贴MathML代码(可由latex转化得),打开公式选项,勾选选择复制公式时, mathml被复制到剪贴板上是转换为纯文本:
例如MathML公式:
<math xmlns="http://www.w3.org/1998/Math/MathML">
<mrow>
<msup><mi>a</mi><mn>2</mn></msup>
<mo>+</mo>
<msup><mi>b</mi><mn>2</mn></msup>
<mo>=</mo>
<msup><mi>c</mi><mn>2</mn></msup>
</mrow>
</math>
粘贴到word中可直接显示:
注意:OFFICE 2019已经更新公式可以插入Latex代码的功能,那不需要以下操作即可转化,故可通过升级word到2019来解决,参考:
https://blog.csdn.net/cnhwl/article/details/105442687
附:
常用的latex语法:
https://www.xmind.cn/faq/question/what-command-does-xmind-equation-support/#special_char
另外,下载overleaf模板,在模板上直接修改似乎也是一个不错的选择。可用尝试。
参考:https://blog.csdn.net/zhangfan1913775361/article/details/101400351
https://www.overleaf.com/project/5d22a0e47d0f5a527bd0541d