In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly explains "how to use GitHub to write Python formula", the content of the article is simple and clear, easy to learn and understand, the following please follow the editor's ideas slowly in depth, together to study and learn "how to use GitHub to write Python formula" bar!
When we are editing text in Word, when we encounter super-complex formulas, it is difficult to think about it, and one will make a mistake if we are not careful. I really don't want to use it. Writing a paper is a headache. Unexpectedly, the most difficult thing is to edit a super-long formula.
Recently, an open source project, latexify_py, has appeared on GitHub, which uses Python to generate LaTeX mathematical formulas and dump Word a few blocks every minute. I didn't expect that editing the formula would become so simple!
GitHub address: https://github.com/odashi/latexify_py
Colab address: https://colab.research.google.com/drive/1MuiawKpVIZ12MWwyYuzZHmbKThdM5wNJ?usp=sharing
I know the power of the Python language, but this is the first time I've heard of using Python to generate LaTeX mathematical formulas. Once again, I was impressed by Python, which is really a boon for the writers of the paper.
Latexify_py: using Python to generate LaTeX formula
Let's take a look at how this Python gadget edits LaTeX mathematical formulas.
To run this project, use the Python3.6 version. Its algorithm principle is also very simple, do not need any powerful neural network, such as GPT-3, you only need to master simple regular expressions to do it.
This tool does not rely on a powerful toolkit, only a few simple modules: the math module and the latexify module. Write simple functions:
You'll get the results. Yes, the editing formula is so simple that you don't have to enter it word for word anymore:
In addition, it can also help you output various branch functions, isn't that cool? Don't say much, depending on the effect:
After knowing this Python gadget, I realized how maddening it was to edit formulas in the past, and how amazing it is now. You do not need to master complex programming skills, nor do you need to write complex functions, but you can achieve it by mastering simple regular expressions and the most basic programming statements.
Thank you for your reading, the above is the content of "how to use GitHub to write Python formula". After the study of this article, I believe you have a deeper understanding of how to use GitHub to write Python formula, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.