| 1 |
% (C) 2006-2026 Josselin Noirel |
| 2 |
% |
| 3 |
% Package cellspace: Ensuring a minimal spacing of table cells. |
| 4 |
% |
| 5 |
% This material is subject to the LaTeX Project Public License. See |
| 6 |
% https://www.latex-project.org/lppl/ . |
| 7 |
|
| 8 |
This package is intended to allow automatic spacing out of |
| 9 |
the lines of an array. People often complain about text touching the |
| 10 |
\hline of a tabular when it is too high or too deep. For example (with |
| 11 |
the amsmath package) a \dfrac{1}{2} surrounded by \hlines touches the |
| 12 |
horizontal rules. This package provides a modifier S to usual column |
| 13 |
types (l, c, r, p, m, and b) that ensures a minimal spacing between rules |
| 14 |
and cells of an array. |
| 15 |
|
| 16 |
v1.6: New feature as suggested by Bastien Roucaries: an option [math] |
| 17 |
has been introduced, which allows to use cellspace's features into |
| 18 |
matrix environments. |
| 19 |
|
| 20 |
v1.7: New features as suggested by Bastien Roucaries: (1) Possibility |
| 21 |
to change the name of the column used for spacing; (2) Make the |
| 22 |
math column independent of the colum name. |
| 23 |
|
| 24 |
v1.8.1: Package becomes aware of the latest modifications of the array |
| 25 |
package. Also the GitHub project is referenced in the documentation. |
| 26 |
|
| 27 |
v1.9.0: The new implementation solves a problem with empty |
| 28 |
cells for paragraph-type columns (m, p, b) by |
| 29 |
testing whether \prevdepth is greater than 1000~pt. |
| 30 |
The package has now been made aware of the new |
| 31 |
implementation of \@endpbox of array. |
| 32 |
|
| 33 |
v1.9.1a: The package now defines \@startpbox@action. |