Dr. Xiao-Le Deng

handcalcs: Python 计算代码转换为LaTeX公式

2020-11-18 12:30
#LaTeX #Python

1. 简介

handcalcs is a library to render Python calculation code automatically in LaTeX, but in a manner that mimics how one might format their calculation if it were written with a pencil: write the symbolic formula, followed by numeric substitutions, and then the result.

Because handcalcs shows the numeric substitution, the calculations become significantly easier to check and verify by hand.

Github: https://github.com/connorferster/handcalcs

Install:

pip install handcalcs

2. 参考