Skip to main content

Generate LaTeX code by Python.

Project description


PyPI PyPI - Python Version GitHub stars

Generate LaTeX code by Python for experiment report.


如果有帮助就点个 star 🌟呗
欢迎 Pull Request, Fork, 提 issue.

Features 特性

  • 读取excel等表格文件转为latex表格
  • (假的) word讲义转tex报告
  • 线性拟合等数学处理

Install 安装

  1. pip安装:
pip install -U autolatex
  1. 源码安装
git clone
cd AutoLaTeX
python sdist bdist_wheel
pip install -U dist/autolatex-0.x.x-py3-none-any.whl # 其中 0.x.x 处是 pypi 版本号

Usage 使用

  1. xlsx文件 excel 表格数据转 tex 代码

    autolatex <文件路径>
    alt <文件路径>

    更多参数说明请用alt -h查询。

  2. .py文件内

    # import autolatex as alt
    from autolatex import table
    df = table.read_excel('data.xlsx')
  3. 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 hashes)

Uploaded source

Built Distribution

autolatex-0.1.7-py3-none-any.whl (12.4 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page