From 07bda21f1609b11f25c05e642182229aaf2edb51 Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Sat, 3 Apr 2010 21:18:08 +0000
Subject: tabvar update (3apr10)

git-svn-id: svn://tug.org/texlive/trunk@17666 c570f23f-e606-0410-a88d-b1316a301751
---
 Master/texmf-dist/tex/latex/tabvar/tabvar.sty | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

(limited to 'Master/texmf-dist/tex/latex/tabvar/tabvar.sty')

diff --git a/Master/texmf-dist/tex/latex/tabvar/tabvar.sty b/Master/texmf-dist/tex/latex/tabvar/tabvar.sty
index 376bb59c1a4..015d4448ff6 100644
--- a/Master/texmf-dist/tex/latex/tabvar/tabvar.sty
+++ b/Master/texmf-dist/tex/latex/tabvar/tabvar.sty
@@ -21,11 +21,11 @@
 %% same distribution. (The sources need not necessarily be
 %% in the same archive or directory.)
 %%
-%% Copyright (C) Daniel Flipo 2003-2008 <Daniel.Flipo at univ-lille1.fr>
+%% Copyright (C) Daniel Flipo 2003-2010 <daniel.flipo at free.fr>
 %%
 \NeedsTeXFormat{LaTeX2e}[1997/06/01]
 \ProvidesFile{tabvar.sty}
-             [2008/10/23 v1.2 (Daniel Flipo)]
+             [2010/04/03 v1.3 (Daniel Flipo)]
 \newif\ifFlechesMP \FlechesMPfalse
 \DeclareOption{FlechesMP}{\FlechesMPtrue}
 \DeclareOption{FlechesPS}{\FlechesMPfalse}
@@ -88,7 +88,7 @@
     \global\@niveaux=1 \global\@pos=1 \global\@soclefalse
   \fi}
 \newdimen\TVmaxcolwidth
-\setlength{\TVmaxcolwidth}{5em}
+\setlength{\TVmaxcolwidth}{\linewidth}
 \newcolumntype{C}{%
    >{\begin{varwidth}[b]{\TVmaxcolwidth}\let\TVnl=\\
      \let\\=\TVtabularnewline $}%
@@ -157,8 +157,8 @@
 \newcommand{\barre}[1]{%
    \sbox{\tab@box}{\ensuremath{#1}}%
    \barre@dth
-   \@tempcnta=\@niveaux
-   \advance\@tempcnta by -\@pos
+   \@tempcnta=\@pos
+   \advance\@tempcnta by -1
    \advance\@tempdimb by \@tempcnta\baselineskip
    \raisebox{-\@tempdimb}[0pt][0pt]{%
       \makebox[\wd\tab@box][c]{\color{TVbarrecolor}%
-- 
cgit v1.2.3

