diff options
author | Norbert Preining <norbert@preining.info> | 2021-05-02 03:03:15 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2021-05-02 03:03:15 +0000 |
commit | db2a2e7b5c4ca1335618a0b5f5c574229bf459f6 (patch) | |
tree | d0f4c73e3a871ce1ff86e9e94ac3bcca055bf6e5 /macros/latex/contrib/vcell | |
parent | 33ca54806c387d16002fc16e31418d3a28c2dd63 (diff) |
CTAN sync 202105020303
Diffstat (limited to 'macros/latex/contrib/vcell')
-rw-r--r-- | macros/latex/contrib/vcell/README.md | 2 | ||||
-rw-r--r-- | macros/latex/contrib/vcell/vcell.pdf | bin | 147086 -> 134834 bytes | |||
-rw-r--r-- | macros/latex/contrib/vcell/vcell.sty | 18 | ||||
-rw-r--r-- | macros/latex/contrib/vcell/vcell.tex | 2 |
4 files changed, 12 insertions, 10 deletions
diff --git a/macros/latex/contrib/vcell/README.md b/macros/latex/contrib/vcell/README.md index b45e138f87..6da287ecb0 100644 --- a/macros/latex/contrib/vcell/README.md +++ b/macros/latex/contrib/vcell/README.md @@ -3,7 +3,7 @@ The LaTeX `vcell` package Vertical alignment of content inside table cells -Release 2020-05-16 +Release 2021-04-15 Overview -------- diff --git a/macros/latex/contrib/vcell/vcell.pdf b/macros/latex/contrib/vcell/vcell.pdf Binary files differindex a0629885c0..83f31832b3 100644 --- a/macros/latex/contrib/vcell/vcell.pdf +++ b/macros/latex/contrib/vcell/vcell.pdf diff --git a/macros/latex/contrib/vcell/vcell.sty b/macros/latex/contrib/vcell/vcell.sty index 7e6c98d5b6..ac1f9e6df0 100644 --- a/macros/latex/contrib/vcell/vcell.sty +++ b/macros/latex/contrib/vcell/vcell.sty @@ -1,5 +1,5 @@ % -% vcell.sty V1.0.1 version (16-May-2020) +% vcell.sty V1.0.2 version (15-April-2021) % % Author: Xavier Dionne <info@latex-tables.com> % @@ -10,11 +10,13 @@ % https://www.latex-project.org/lppl/lppl-1-3c/ % % Changelog : +% [v 1.0.2] - Fixed a compatibility issue with `calc` % [v 1.0.1] - Fixed an issue where the height was calculated % twice if the cell had a depth \NeedsTeXFormat{LaTeX2e}[1994/06/01] -\ProvidesPackage{vcell}[2020/05/16 v1.0.1] +\ProvidesPackage{vcell}[2021/04/30 v1.0.2] +\def\@cell@setlength#1#2{#1 #2\relax} \newdimen\rowheight \newdimen\rowht \newdimen\rowdp @@ -24,17 +26,17 @@ \def\resetcellcount{% \global\@cellusecount 1\relax\global\@cellcount 1\relax% - \global\setlength\rowht{\arraystretch\ht\strutbox}% - \global\setlength\rowdp{\arraystretch\dp\strutbox}% - \global\setlength\rowheight{\dimexpr\rowht+\rowdp}% + \global\@cell@setlength\rowht{\arraystretch\ht\strutbox}% + \global\@cell@setlength\rowdp{\arraystretch\dp\strutbox}% + \global\@cell@setlength\rowheight{\dimexpr\rowht+\rowdp}% } \resetcellcount \def\savecellheight{% - \ifdim\ht\@celltemp>\rowht\global\setlength{\rowht}{\ht\@celltemp}\fi% - \ifdim\dp\@celltemp>\rowdp\global\setlength{\rowdp}{\dp\@celltemp}\fi% - \ifdim\dimexpr\dp\@celltemp+\ht\@celltemp>\rowheight{\global\setlength{\rowheight}{\dimexpr\dp\@celltemp+\ht\@celltemp}}\fi + \ifdim\ht\@celltemp>\rowht\global\@cell@setlength{\rowht}{\ht\@celltemp}\fi% + \ifdim\dp\@celltemp>\rowdp\global\@cell@setlength{\rowdp}{\dp\@celltemp}\fi% + \ifdim\dimexpr\dp\@celltemp+\ht\@celltemp>\rowheight{\global\@cell@setlength{\rowheight}{\dimexpr\dp\@celltemp+\ht\@celltemp}}\fi } \long\def\savecellbox#1{% \global\sbox\@celltemp{\hbox{\ifdim\hsize=\textwidth #1\else \vbox{#1}\fi}}% diff --git a/macros/latex/contrib/vcell/vcell.tex b/macros/latex/contrib/vcell/vcell.tex index 5f228bbd9d..a2e9d30f33 100644 --- a/macros/latex/contrib/vcell/vcell.tex +++ b/macros/latex/contrib/vcell/vcell.tex @@ -12,7 +12,7 @@ \begin{document} \title{The package \texttt{vcell} : Vertical alignment for cells} \author{Xavier Dionne\thanks{The author wrote this package for its online table generator (\texttt{https://latex-tables.com}). You can contact him at info [at] latex-tables [dot] com.}} -\date{May 16, 2020} +\date{April 30, 2021} \maketitle \section{Introduction} |