用这个漂亮的工具将方程式截图迅速转换为 LaTeX
LaTeX

> 
> Mathpix 是一个漂亮的小工具，它允许你截取复杂数学方程式的截图，并立即将其转换为 LaTeX 可编辑文本。
> 
> 
> 


![Mathpix converts math equations images into LaTeX](/data/attachment/album/201810/29/222716hpbmelo5xumpl5mp.jpg)


[LaTeX 编辑器](https://itsfoss.com/latex-editors-linux/)在撰写学术和科学文献时非常出色。


当然它还有一个陡峭的学习曲线。如果你不得不要写复杂的数学方程式，这种学习曲线会变得更加陡峭。


[Mathpix](https://mathpix.com/) 是一个在这方面可以帮助你的小工具。


假设你正在阅读带有数学方程式的文档。如果你想在 [LaTeX 文档](https://www.latex-project.org/)中使用这些方程，你需要使用你的 LaTeX 技能，并且得有充足的时间。


但是 Mathpix 为您解决了这个问题。使用 Mathpix，你可以截取数学方程式的截图，它会立即为你提供 LaTeX 代码。然后，你可以在你[最喜欢的 LaTeX 编辑器](https://itsfoss.com/latex-editors-linux/)中使用此代码。


请参阅[该视频](https://itsfoss.com/wp-content/uploads/2018/10/mathpix.mp4)中的 Mathpix 使用方式。






*[视频来源](https://g.redditmedia.com/b-GL1rQwNezQjGvdlov9U_6vDwb1A7kEwGHYcQ1Ogtg.gif?fm=mp4&mp4-fragmented=false&s=39fd1816b43e2b544986d629f75a7a8e)：Reddit 用户 [kaitlinmcunningham](https://www.reddit.com/user/kaitlinmcunningham)*


不是超酷吗？我想编写 LaTeX 文档最困难的部分是那些复杂的方程式。对于像我这样懒人，Mathpix 是天赐之物。


### 获取 Mathpix


Mathpix 适用于 Linux、macOS、Windows 和 iOS。暂时还没有 Android 应用。


注意：Mathpix 是一个免费使用的工具，但它不是开源的。


在 Linux 上，[Mathpix 有一个 Snap 包](https://snapcraft.io/mathpix-snipping-tool)。这意味着[如果你在 Linux 发行版上启用了 Snap 支持](https://itsfoss.com/install-snap-linux/)，你可以用这个简单命令安装 Mathpix：



```
sudo snap install mathpix-snipping-tool
```

使用 Mathpix 很简单。安装后，打开该工具。你会在顶部面板中找到它。你可以使用键盘快捷键 `Ctrl+Alt+M` 开始使用 Mathpix 截图。


它会立即将方程图片转换为 LaTeX 代码。代码将被复制到剪贴板中，然后你可以将其粘贴到 LaTeX 编辑器中。


Mathpix 的光学字符识别技术[正在被](https://mathpix.com/api.html)像 [WolframAlpha](https://www.wolframalpha.com/)、微软、谷歌等许多公司用于在处理数学符号时提升工具的图像识别能力。


总而言之，它对学生和学者来说是一个很棒的工具。它是免费使用的，我非常希望它是一个开源工具。但我们无法在生活中得到一切，不是么？


在 LaTeX 中处理数学符号时，你是否使用 Mathpix 或其他类似工具？你如何看待 Mathpix？在评论区与我们分享你的观点。




---


via: <https://itsfoss.com/mathpix/>


作者：[Abhishek Prakash](https://itsfoss.com/author/abhishek/) 选题：[lujun9972](https://github.com/lujun9972) 译者：[geekpi](https://github.com/geekpi) 校对：[wxy](https://github.com/wxy)


本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译，[Linux中国](https://linux.cn/) 荣誉推出


OK
**Mathpix is a nifty little tool that allows you to take screenshots of complex mathematical equations and instantly converts it into LaTeX editable text.**

![Mathpix converts math equations images into LaTeX](https://itsfoss.com/content/images/wordpress/2018/10/mathpix-converts-equations-into-latex.jpeg)

[LaTeX editors](https://itsfoss.com/latex-editors-linux/) are excellent when it comes to

There is a steep learning curved involved of course. And this learning curve becomes

[Mathpix](https://mathpix.com/) is a nifty little tool that helps you in this regard.

Suppose you are reading a document that has mathematical equations. If you want to use those equations in your [LaTeX document](https://www.latex-project.org/), you need to use your ninja LaTeX skills and plenty of time.

But Mathpix solves this problem for you. With Mathpix, you take the screenshot of the mathematical equations, and it will instantly give you the LaTeX code. You can then use this code in your [favorite LaTeX editor](https://itsfoss.com/latex-editors-linux/).

See Mathpix in action in the video below:

[Video credit](https://g.redditmedia.com/b-GL1rQwNezQjGvdlov9U_6vDwb1A7kEwGHYcQ1Ogtg.gif?fm=mp4&mp4-fragmented=false&s=39fd1816b43e2b544986d629f75a7a8e): Reddit User

[kaitlinmcunningham](https://www.reddit.com/user/kaitlinmcunningham)

Isn’t it super-cool? I guess the hardest part of writing LaTeX documents are those complicated equations. For

## Getting Mathpix

Mathpix is available for Linux, macOS, Windows and iOS. There is no Android app for the moment.

Note: Mathpix is a free to use tool but it’s not open source.

On Linux, [Mathpix is available as a Snap package](https://snapcraft.io/mathpix-snipping-tool). Which means [if you have Snap support enabled on your Linux distribution](https://itsfoss.com/install-snap-linux/), you can install Mathpix with this simple command:

`sudo snap install mathpix-snipping-tool`


Using Mathpix is simple. Once installed, open the tool. You’ll find it in the top panel. You can start taking the screenshot with Mathpix using the keyboard shortcut Ctrl+Alt+M.

It will instantly translate the image of equation into a LaTeX code. The code will be copied into clipboard and you can then paste it in a LaTeX editor.

Mathpix’s optical character recognition technology is [ being used](https://mathpix.com/api.html) by

[WolframAlpha](https://www.wolframalpha.com/), Microsoft, Google, etc. to improve their tools’ image recognition capability while dealing with math symbols.

Altogether, it’s an awesome

Do you use Mathpix or some other similar tool while dealing with mathematical symbols in LaTeX? What do you think of Mathpix? Share your views with us in the comment section.