在jupyter notebook中使用handcalcs %%render可以渲染出来latex表达式
如下图渲染了一些其他的公式:
jupyter notebook安装可参考:Python的必学技术——Jupyter Notebook_程序媛一枚~的博客-CSDN博客 推荐 Jupyter NoteBook 的原因:整合所有的资源、交互性编程体验和零成本重现结果。Jupyter NoteBook 能够把软件代码、计算输出、解释文档、多媒体资源整合在一起的多功能科学运算平台。很符合英文里说一图胜千言(A picture is worth a thousand words)。可参考:安装:https://jupyter.org/install.html运行:https://jupyter.readthedocs.io/en/latest/running.html#r https://blog.csdn.net/qq_40985985/article/details/106758823
handcalcs可参考:https://github.com/connorferster/handcalcs
是单纯计算值,还是把题目打印出来