Skip to content

Instantly share code, notes, and snippets.

@kun-zhou
Last active October 6, 2022 11:48
Show Gist options
  • Select an option

  • Save kun-zhou/ccf80dd5f42deca6c7a9f7c410f0ef17 to your computer and use it in GitHub Desktop.

Select an option

Save kun-zhou/ccf80dd5f42deca6c7a9f7c410f0ef17 to your computer and use it in GitHub Desktop.
This script converts latex tables to excel. It can be used with multicolumns, multirows and supports booktabs package. (in fact, I only implemented it for booktabs, but implementation for normal hline is just a matter of minutes.) It will create one worksheet for each table. Usage: python tex2excel YOUR_INPUT_LATEX_FILE OUTPUT_EXCEL_NAME WARNING…
The repo has been moved to: https://github.com/kun-zhou/latex2excel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment