Thursday, December 15, 2011

LaTeX tables - from spreadsheets to tex

Writing tables in LaTeX is a pain in the ass.
Create a table as draft, find an error, move a column etc. AAarrrrgh.

A nice way to create the basic table and fill it with data is to use a spreadsheet application like MS Excel.

I found some promising tools to convert from spreadsheet applications to latex:
  • OpenOffice.org / LibreOffice
    • calc2latex
      A macro. Generates tex code from selected table area.
      Tested. Works with LibreOffice 3.4.4 (debian package '1:3.4.4-2').
  • MS Excel
    • exceltex
      Directly include .xls files in latex documents.
      Untested.
    • excel2latex
      macro for Excel. Export to latex code.
      Untested.

No comments:

Post a Comment