Generate LaTeX code by Python.
Project description
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
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
autolatex-0.1.7.tar.gz
(9.9 kB
view details)
Built Distribution
autolatex-0.1.7-py3-none-any.whl
(12.4 kB
view details)
File details
Details for the file autolatex-0.1.7.tar.gz
.
File metadata
- Download URL: autolatex-0.1.7.tar.gz
- Upload date:
- Size: 9.9 kB
- Tags: Source
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 383b6887fd67cf8f010272f11267be15f58077505b4ed897ddae0be29483a165 |
|
MD5 | 5b2eb1c727871c50c1ad0bf65ab9a269 |
|
BLAKE2b-256 | 88236abaf737ac8a5de3337df314a297e3daa3352cc80ce597b07fa1a6c8fd71 |
File details
Details for the file autolatex-0.1.7-py3-none-any.whl
.
File metadata
- Download URL: autolatex-0.1.7-py3-none-any.whl
- Upload date:
- Size: 12.4 kB
- Tags: Python 3
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 03b3445bbf6f78fe6eb1b40fd7a156a84af28dce738e06e81876e47d135e6ee5 |
|
MD5 | 7094c2bd9797efdcbe1fc88286a7a501 |
|
BLAKE2b-256 | 4f0bb6ccc1a3fc80cc5c7c1538083118a0ef9ae727e7933f97638493eb2946e8 |