summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/cellspace/README
blob: 17ccfb6c872ba9e4658958796800b993f2da9101 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
% (C) 2006-2022 Josselin Noirel
% 
% Package cellspace: Ensuring a minimal spacing of table cells.
%
% This material is subject to the LaTeX Project Public License. See
% https://www.latex-project.org/lppl/ .

This package is intended to allow automatic spacing out of
the lines of an array.  People often complain about text touching the
\hline of a tabular when it is too high or too deep.  For example (with
the amsmath package) a \dfrac{1}{2} surrounded by \hlines touches the
horizontal rules.  This package provides a modifier S to usual column
types (l, c, r, p, m, and b) that ensures a minimal spacing between rules
and cells of an array.

v1.6: New feature as suggested by Bastien Roucaries: an option [math]
      has been introduced, which allows to use cellspace's features into
      matrix environments.

v1.7: New features as suggested by Bastien Roucaries: (1) Possibility
      to change the name of the column used for spacing; (2) Make the
      math column independent of the colum name.

v1.8.1: Package becomes aware of the latest modifications of the array
      package.  Also the GitHub project is referenced in the documentation.

v1.9.0: The new implementation solves a problem with empty
      cells for paragraph-type columns (m, p, b) by
      testing whether \prevdepth is greater than 1000~pt.
      The package has now been made aware of the new
      implementation of \@endpbox of array.