Perl extension for the automatic generation of LaTeX tables


LaTeX::Table is a Perl extension for the automatic generation of LaTeX tables

LaTeX makes professional typesetting easy. Unfortunately, this is not entirely true for tables and the standard LaTeX table macros have a rather limited functionality. LaTeX::Table supports many CTAN packages and hides the complexity of using them behind an easy and intuitive API.

This module supports multipage tables via the xtab and the longtable package. For publication quality tables it utilizes the booktabs package. It also supports the tabularx and tabulary packages for nicer fixed-width tables. Furthermore, it supports the colortbl package for colored tables optimized for presentations. The powerful new ctable package is supported and especially recommended when footnotes are needed. LaTeX::Table ships with some predefined, good looking themes.

This module ships with two small utilities. The first, csv2pdf is a CSV to PDF converter. It is only about 100 lines of code short and only meant as an example application, but it is already very powerful. It requires Getopt::Long, Text::CSV, LaTeX::Encode and LaTeX::Driver.

The second utility is ltpretty. It takes a lazy formatted LaTeX table from STDIN (typically piped from Vim or emacs) and outputs a completely formatted table. This makes this module not only useful for automatically generated reports, but also saves a lot of typing work in creating custom tables.

Upload more screenshots

Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.

Upload a screenshot

Hint: upload an image here from your clipboard with Ctrl-V


Install this software package

If the package is available for the distribution you are currently using on your computer then install the software by clicking on…

Install liblatex-table-perl