Skip to content

Tables

The table{} keyword creates a table of two rows. As for the other keywords, values are separated by ;, and options follow a | separator. There must be an even number of values, the first half will be in the first row, the second half in the second row.

The table{} keyword has several options:

  • title1 and title2 set rows titles
  • borders (can be full (default), inner, inner_cols or none) defines the borders of data area. inner_cols draws the vertical separators alone — columns without a grid, as a conversion table is drawn
  • title_borders (can be full (default) inner or none) defines the borders of title column (ignored if title1 and title2 are unset)
  • col_width (can be equal (default) or auto): if equal, then all data columns share the width of the widest cell; if auto, then each data column is as wide as its widest cell.
  • row_height (can be equal (default) or auto): if equal, then both rows share the height of the tallest cell (including title cells); if auto, then each row is sized to its tallest cell.
  • baseline (can be middle (default), top or bottom): sets the vertical alignment of the table with the surrounding text. top and bottom match first and second row.
  • bubble: defines the content of the bubble (with arrow from first to second row) drawn to the right of the table. If unset (default), no bubble is drawn.
  • color: sets the color of the table data.
  • border_color: sets the color of the table borders.

English locale:

Expression Renders as
table{5 ; 10 ; 12 ; 1.25 ; 2.5 ; 3 | bubble=×text{? | color=#b6251c}} 510121.252.53× ?
table{5 ; 10 ; 12 ; 1.25 ; 2.5 ; 3 | bubble=×math{¼ | color=#3b7d25}} 510121.252.53× 14
table{3 ; 4 ; 5 ; 9 ; 16 ; 25 | title1=Side ; title2=Area ; borders=inner ; title_borders=none ; border_color=#4d4d4d} SideArea34591625
table{km ; hm ; dam ; m ; 1 ; 5 ; 0 ; 0 | borders=inner_cols} kmhmdamm1500

French locale:

Expression Renders as
table{5 ; 10 ; 12 ; 1.25 ; 2.5 ; 3 | bubble=×text{? | color=#b6251c}} 510121,252,53× ?
table{5 ; 10 ; 12 ; 1.25 ; 2.5 ; 3 | bubble=×math{¼ | color=#3b7d25}} 510121,252,53× 14