AutoLaTeX
Generate LaTeX code by Python for experiment report.
用Python生成LaTeX代码写实验报告。
如果有帮助就点个 star 🌟呗
欢迎 Pull Request, Fork, 提 issue.
Features 特性
- 读取excel等表格文件转为latex表格
(假的)word讲义转tex报告- 线性拟合等数学处理
Install 安装
pip安装:
pip install -U autolatex
- 源码安装
git clone git@github.com:Benature/AutoLaTeX.git
cd AutoLaTeX
python setup.py sdist bdist_wheel
pip install -U dist/autolatex-0.x.x-py3-none-any.whl # 其中 0.x.x 处是 pypi 版本号
Usage 使用
-
xlsx文件 excel 表格数据转 tex 代码
在命令行输入(两种写法等效):autolatex <文件路径> alt <文件路径>
更多参数说明请用
alt -h查询。 -
.py文件内# import autolatex as alt from autolatex import table df = table.read_excel('data.xlsx') print(table.convert(df))
-
word2tex
详见word2tex下的 README
Release files for autolatex 0.1.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| autolatex-0.1.7.tar.gz | 9.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| autolatex-0.1.7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 22.3 kB
Release files / autolatex-0.1.7.tar.gz
| Download URL | autolatex-0.1.7.tar.gz |
|---|---|
| Size | 9.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
383b6887fd67cf8f010272f11267be15f58077505b4ed897ddae0be29483a165
|
|
BLAKE2b-256 checksum How to use checksums |
88236abaf737ac8a5de3337df314a297e3daa3352cc80ce597b07fa1a6c8fd71
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4
|
Release files / autolatex-0.1.7-py3-none-any.whl
| Download URL | autolatex-0.1.7-py3-none-any.whl |
|---|---|
| Size | 12.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
03b3445bbf6f78fe6eb1b40fd7a156a84af28dce738e06e81876e47d135e6ee5
|
|
BLAKE2b-256 checksum How to use checksums |
4f0bb6ccc1a3fc80cc5c7c1538083118a0ef9ae727e7933f97638493eb2946e8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4
|