| 1 |
# tabu |
| 2 |
|
| 3 |
|
| 4 |
## Original Tabu README |
| 5 |
|
| 6 |
|
| 7 |
## tabu - Flexible LaTeX tabulars |
| 8 |
|
| 9 |
|
| 10 |
tabu provides a single environment: tabu |
| 11 |
designed to make all kind of tabulars provided that they do |
| 12 |
not split accross pages. |
| 13 |
|
| 14 |
tabu is based on array.sty and requires no other package. |
| 15 |
tabu does not modify array.sty nor the classes of tokens. |
| 16 |
|
| 17 |
Starting from version 1.5, longtabu is provided: based on |
| 18 |
longtable, longtabu allows tabulars to stretch out on |
| 19 |
several pages. |
| 20 |
|
| 21 |
tabu can be used in place of tabular, tabular* and tabularx |
| 22 |
X columns in tabu can be specified with a width coefficient |
| 23 |
the alignement (l,r,c,j) the column type (p,m,b) or even $. |
| 24 |
|
| 25 |
tabu also works in math mode and its name remains tabu. |
| 26 |
tabu can contain any type of tabular, array, tabularx |
| 27 |
tabu can be put inside tabular, array, tabularx, tabular* |
| 28 |
|
| 29 |
\begin{tabu} is like tabular if the preamble has no X column |
| 30 |
\begin{tabu} to <dimen> specifies the target width |
| 31 |
\begin{tabu} spread <dimen> enlarge the natural width |
| 32 |
|
| 33 |
tabu with X columns has a default target if not specified |
| 34 |
(usefull for nested tabus + compatibility with \linegoal) |
| 35 |
|
| 36 |
tabu provides facilities to change the font and the alignment |
| 37 |
in one row (\rowfont), save and restore the preamble and the |
| 38 |
tabular parameters (\savetabu, \usetabu, \preamble). |
| 39 |
|
| 40 |
tabu provides other facilities to align numbers in X columns |
| 41 |
draw lines with color, dashed or even leaders. Those facilities |
| 42 |
are provided for convenience: they work as long as the tabu |
| 43 |
preamble does not contain "too special tokens". |
| 44 |
|
| 45 |
tabu has been tested successfully with many packages related |
| 46 |
to tabulars, cells, alignment... |
| 47 |
|
| 48 |
- - - - |
| 49 |
|
| 50 |
## Emergency updates to the LaTeX tabu package |
| 51 |
|
| 52 |
The original author of tabu appears out of contact, and tabu had not |
| 53 |
been updated for several years, finally becoming unusable in 2019 as |
| 54 |
updates to other packages mean some of its patched code did not work |
| 55 |
as intended. |
| 56 |
|
| 57 |
The package is not being actively maintained however any major required |
| 58 |
fixes may be reported to the https://github.com/tabu-fixed/tabu repository |
| 59 |
and volunteers there (currently members of the LaTeX3 Team) will attempt |
| 60 |
to update the package with any fixes required. |
| 61 |
|
| 62 |
|
| 63 |
|
| 64 |
|
| 65 |
## Issues from Stackexchange |
| 66 |
|
| 67 |
### Fixed in release 2.9 |
| 68 |
|
| 69 |
https://tex.stackexchange.com/questions/469282/xcolor-breaking-and-align-environments-inside-tabu |
| 70 |
|
| 71 |
https://tex.stackexchange.com/questions/468948/longtabu-and-color-compatibility |
| 72 |
|
| 73 |
https://tex.stackexchange.com/questions/466147/tabu-very-recently-stopped-working-with-color-xcolor-or-with-fancyvrb/466261 |
| 74 |
|
| 75 |
https://tex.stackexchange.com/questions/87144/incompatibility-between-verbatim-and-tabu-danger-of-using-scantokens-in-a-pac |
| 76 |
|
| 77 |
https://tex.stackexchange.com/questions/430973/tabu-m-column-vertical-alignment-not-working-after-package-updates |
| 78 |
(Note that this is only a temporary fix reverting the change in array package m column implementation. |
| 79 |
A more complete fix would be to adapt tabu code to the new array.) |
| 80 |
|
| 81 |
|
| 82 |
### Not yet handled |
| 83 |
|
| 84 |
https://tex.stackexchange.com/questions/201510/what-is-the-difference-between-and-linebreak-in-cfoot |