Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Pretty latex tables from Lisp matrices and vectors.
Common Lisp
Tree: 105545ccc7

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
examples
.gitignore
LICENSE_1_0.txt
README
formatting.lisp
latex-table.asd
latex-table.lisp
package.lisp

README

Latex-table is a simple library for writing vectors and matrices into
LaTeX tables.  Just use labeled-vector-(horizontal|vertical) or
labeled-matrix to write out vectors, and labeled-matrix for matrices.
You can specify the number of significant digits (either as a single
value for all columns, or for each column separately) and the
horizontal/vertical lines.  For the latter, you can use position-type
pairs, eg

:hlines '(0 2 -1 1))

will put a double line on the left hand side of the table, and a
single one on the right - negative numbers count from the right.

The macro with-table puts a table environment around your table.

This version of the package uses David Carlisle's dcolumn LaTeX
package for alignment on the decimal dot.

You can use raw-tabular to access the underlying function that
actually generates all the tables, but then you have to preprocess
your output yourself (read the docstring, or look at the examples).

Examples are in the examples/ directory.

Tamas Papp, tkpapp@gmail.com
Something went wrong with that request. Please try again.