Comprehensive TeX Archive Network

Direc­tory macros/latex/contrib/cellspace

% (C) 2006-2009 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.

Down­load the con­tents of this pack­age in one zip archive (325.7k).

cellspace – En­sure min­i­mal spac­ing of ta­ble cells

It is well known that high or deep cells tend to touch the \hlines of a tab­u­lar. This pack­age pro­vides a mod­i­fier S act­ing on usual col­umn types so that to en­sure a min­i­mal dis­tance that can be con­trolled through two pa­ram­e­ters \cellspace­to­plimit and \cellspace­bot­tom­limit.

The ap­proach em­ployed by this pack­age is no­tice­ably sim­pler than that of tabls, which con­sid­ers the di­men­sions of each en­tire row; whereas you can ask the cellspace only to look at the cells of po­ten­tially dif­fi­cult columns.

Li­cense The Project Public Li­cense
Copy­right2006 Jos­selin Noirel
Main­tainerJos­selin Noirel
Con­tained inTeX Live as cellspace
MiKTeX as cellspace
Topics ta­ble type­set­ting
Guest Book Sitemap Contact Contact Author