maxcrees / tbl.typ

A tbl-like preprocessor for Typst and tablex
https://maxre.es/tbl.typ/
Mozilla Public License 2.0
8 stars 0 forks source link
typst

tbl.typ

This is a library for Typst built upon Pg Biel's fabulous tablex library.

It allows the creation of complex tables in Typst using a compact syntax based on the tbl preprocessor for the traditional UNIX TROFF typesetting system. There are also some novel features that are not currently offered by Typst itself or tablex, namely:

Many other features exist to condense common configurations to a concise syntax.

For example:

#import "@preview/tbl:0.0.4"
#show: tbl.template.with(box: true, tab: "|")

```tbl
      R | L
      R   N.
software|version
_
     AFL|2.39b
    Mutt|1.8.0
    Ruby|1.8.7.374
TeX Live|2015


![](test/00/02_software.png)

Many other examples and copious documentation are provided in the
[`README.pdf`](README.pdf) file.

This source repository also includes a test suite based on those examples,
which can be ran using the GNU `make` command. See `make help` for details.