diff options
author | Karl Berry <karl@freefriends.org> | 2021-05-01 20:16:45 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2021-05-01 20:16:45 +0000 |
commit | 7cac8e69b93b33d6470efe2a228ba37b13a8c818 (patch) | |
tree | 8de36d47e8c37aafb7874a1abf90b9eeafbb51fa /Master | |
parent | 4718de2492a074c4869e5f6ce79ae0977070960d (diff) |
vcell (1may21)
git-svn-id: svn://tug.org/texlive/trunk@59039 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r-- | Master/texmf-dist/doc/latex/vcell/README.md | 2 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/vcell/vcell.pdf | bin | 147086 -> 134834 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/vcell/vcell.tex | 2 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/vcell/vcell.sty | 18 |
4 files changed, 12 insertions, 10 deletions
diff --git a/Master/texmf-dist/doc/latex/vcell/README.md b/Master/texmf-dist/doc/latex/vcell/README.md index b45e138f875..6da287ecb09 100644 --- a/Master/texmf-dist/doc/latex/vcell/README.md +++ b/Master/texmf-dist/doc/latex/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/Master/texmf-dist/doc/latex/vcell/vcell.pdf b/Master/texmf-dist/doc/latex/vcell/vcell.pdf Binary files differindex a0629885c01..83f31832b31 100644 --- a/Master/texmf-dist/doc/latex/vcell/vcell.pdf +++ b/Master/texmf-dist/doc/latex/vcell/vcell.pdf diff --git a/Master/texmf-dist/doc/latex/vcell/vcell.tex b/Master/texmf-dist/doc/latex/vcell/vcell.tex index 5f228bbd9de..a2e9d30f33d 100644 --- a/Master/texmf-dist/doc/latex/vcell/vcell.tex +++ b/Master/texmf-dist/doc/latex/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} diff --git a/Master/texmf-dist/tex/latex/vcell/vcell.sty b/Master/texmf-dist/tex/latex/vcell/vcell.sty index 7e6c98d5b69..ac1f9e6df06 100644 --- a/Master/texmf-dist/tex/latex/vcell/vcell.sty +++ b/Master/texmf-dist/tex/latex/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}}% |