| 1 |
LaTeX-Table version 1.0.6 |
| 2 |
|
| 3 |
This module supports multipage tables via the xtab and the longtable package. |
| 4 |
For publication quality tables it utilizes the booktabs package. It also |
| 5 |
supports the tabularx and tabulary packages for nicer fixed-width tables. |
| 6 |
Furthermore, it supports the colortbl package for colored tables optimized for |
| 7 |
presentations. The powerful new ctable package is supported and especially |
| 8 |
recommended when footnotes are needed. LaTeX::Table ships with some |
| 9 |
predefined, good looking themes. |
| 10 |
|
| 11 |
INSTALLATION |
| 12 |
|
| 13 |
To install this module with CPAN (recommended), just type |
| 14 |
|
| 15 |
cpan LaTeX::Table |
| 16 |
|
| 17 |
If you have never used the cpan command before, you probably have to answer a |
| 18 |
few configuration questions. This command will automatically install missing |
| 19 |
modules required by LaTeX::Table. |
| 20 |
|
| 21 |
To install this module without CPAN, run the following commands: |
| 22 |
|
| 23 |
perl Build.PL |
| 24 |
./Build |
| 25 |
./Build test |
| 26 |
./Build install |
| 27 |
|
| 28 |
If you get a warning about missing modules, install them manually or use the |
| 29 |
cpan command (see above). |
| 30 |
|
| 31 |
Alternatively, to install with ExtUtils::MakeMaker, you can use the following |
| 32 |
commands: |
| 33 |
|
| 34 |
perl Makefile.PL |
| 35 |
make |
| 36 |
make test |
| 37 |
make install |
| 38 |
|
| 39 |
|
| 40 |
Now start the script generate_examples.pl in the examples directory of this |
| 41 |
distibution. |
| 42 |
|
| 43 |
perl generate_examples.pl |
| 44 |
|
| 45 |
This script generates some LaTeX files with some example tables. |
| 46 |
Now please compile these examples with LaTeX and check if all tables look ok: |
| 47 |
|
| 48 |
pdflatex examples.tex |
| 49 |
|
| 50 |
PROGRAMS |
| 51 |
|
| 52 |
This module ships with two small utilities. The first, csv2pdf is a CSV to PDF |
| 53 |
converter. It is only about 100 lines of code short and only meant as an |
| 54 |
example application, but it is already very powerful. It requires Getopt::Long, |
| 55 |
Text::CSV, LaTeX::Encode and LaTeX::Driver, which are not installed during the |
| 56 |
installation of this module. |
| 57 |
|
| 58 |
The second utility is ltpretty. It takes a lazy formatted LaTeX table from |
| 59 |
STDIN (typically piped from Vim or emacs) and outputs a completely formatted |
| 60 |
table. This makes this module not only useful for automatically generated |
| 61 |
reports, but also saves a lot of typing work in creating custom tables. |
| 62 |
|
| 63 |
|
| 64 |
DEPENDENCIES |
| 65 |
|
| 66 |
Carp |
| 67 |
Module::Pluggable |
| 68 |
Moose |
| 69 |
MooseX::FollowPBP |
| 70 |
English |
| 71 |
Scalar::Util |
| 72 |
Template |
| 73 |
|