summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/vcell/vcell.sty
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/vcell/vcell.sty')
-rw-r--r--macros/latex/contrib/vcell/vcell.sty10
1 files changed, 7 insertions, 3 deletions
diff --git a/macros/latex/contrib/vcell/vcell.sty b/macros/latex/contrib/vcell/vcell.sty
index 4c8957a0ab..7e6c98d5b6 100644
--- a/macros/latex/contrib/vcell/vcell.sty
+++ b/macros/latex/contrib/vcell/vcell.sty
@@ -1,5 +1,5 @@
%
-% vcell.sty V1.0 version (15-May-2020)
+% vcell.sty V1.0.1 version (16-May-2020)
%
% Author: Xavier Dionne <info@latex-tables.com>
%
@@ -8,9 +8,13 @@
% The contents of this package are distributed under the LaTeX Project
% Public License, version 1.3c or later.
% https://www.latex-project.org/lppl/lppl-1-3c/
+%
+% Changelog :
+% [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/15 v1.0]
+\ProvidesPackage{vcell}[2020/05/16 v1.0.1]
\newdimen\rowheight
\newdimen\rowht
\newdimen\rowdp
@@ -29,7 +33,7 @@
\def\savecellheight{%
\ifdim\ht\@celltemp>\rowht\global\setlength{\rowht}{\ht\@celltemp}\fi%
- \ifdim\dp\@celltemp>\rowdp\global\setlength{\rowdp}{\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
}
\long\def\savecellbox#1{%