# Directory `macros/latex/contrib/cellspace`

README

% (C) 2006-2017 Josselin Noirel % % Package cellspace: Ensuring a minimal spacing of table cells. % % This material is subject to the LaTeX Project Public License. See % http://www.ctan.org/tex-archive/help/Catalogue/licenses.lppl.html . 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.

Download the contents of this package in one zip archive (328.8k).

## cellspace – Ensure minimal spacing of table cells

It is well known that high or deep cells tend to touch the
`\hline`s of a `tabular`. This package provides a
modifier `S` acting on usual column types so that to ensure
a minimal distance that can be controlled through two parameters
`\cellspacetoplimit` and `\cellspacebottomlimit`.

The approach employed by this package is noticeably simpler than that of tabls, which considers the dimensions of each entire row; whereas you can ask the cellspace only to look at the cells of potentially difficult columns.

Package | cellspace |

Version | 1.7 |

License |
The LaTeX Project Public License |

Maintainer | Josselin Noirel |

Contained in | TeX Live as cellspace |

MiKTeX as cellspace | |

Topics |
table typesetting |