CTAN Update: cellprops
CTAN Announcements
ctan-ann at ctan.org
Wed Feb 3 08:59:55 CET 2021
Julien Rivaud submitted an update to the
cellprops
package.
Version: 2.0 2021-01-30
License: gpl3+
Summary description: Accept CSS-like selectors in tabular, array, …
Announcement text:
----------------------------------------------------------------------
New shiny features:
- Version 2 supports user-defined table classes for quick styling.
You can match the class in the CSS selectors, and choose for each
table the list of its classes. The old (deprecated) syntax where
the tabling environment was used as an enclosing type selector
is still accepted but using "table.environment" is preferred
since by default the tables are assumed to have at least a class
whose name is \@currenvir.
- Version 2 computes the real CSS selector specificity according to
the CSS specification and orders the rules accordingly.
In addition, the CSS level 4 ":where()" pseudo-class is supported
to avoid overly-specific rules that would dwarf other simple rules.
- Version 2 supports vertical alignment of cells, though not respecting
completely the CSS specification for "top" and "bottom" as this would
need two passes over each row.
Some fixes:
- ":nth-child(<number>)" without a "n" but with multiple digits were
mishandled. This is fixed.
----------------------------------------------------------------------
The package’s Catalogue entry can be viewed at
https://ctan.org/pkg/cellprops
The package’s files themselves can be inspected at
http://mirror.ctan.org/macros/latex/contrib/cellprops/
------------------------------------------------------------------------
Thanks for the upload.
For the CTAN Team
Petra Rübe-Pugliese
------------------------------------------------------------------------
CTAN is run entirely by volunteers and supported by TeX user groups.
Please join a user group or donate to one, see https://ctan.org/lugs
More information about the Ctan-ann
mailing list