latex-table

2018-03-28

Pretty latex tables from Lisp matrices and vectors.

Upstream URL

github.com/tpapp/latex-table

Author

Tamas K Papp

License

Boost Software License, Version 1.0.
README

Project Status: Abandoned – Initial development has started, but there
has not yet been a stable, usable release; the project has been
abandoned and the author(s) do not intend on continuing
development. This library is abandonned.

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

Dependencies (4)

  • alexandria
  • anaphora
  • array-operations
  • let-plus

Dependents (0)

    • GitHub
    • Quicklisp