summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2007-05-09 13:00:02 +0000
committerKarl Berry <karl@freefriends.org>2007-05-09 13:00:02 +0000
commit78a7540609bc03c288ff057f91c96fa611dbc0a9 (patch)
tree30ed1c53576869610d8107d308d1a245057a517f
parent0a9fc0f725c1959e64f5e822812dde9f4d1754bd (diff)
tabvar 1.1 (8may07)
git-svn-id: svn://tug.org/texlive/trunk@4263 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/latex/tabvar/00README27
-rw-r--r--[l---------]Master/texmf-dist/doc/latex/tabvar/README32
-rw-r--r--Master/texmf-dist/doc/latex/tabvar/demo.pdfbin142916 -> 251444 bytes
-rw-r--r--Master/texmf-dist/doc/latex/tabvar/demo.tex65
-rwxr-xr-xMaster/texmf-dist/doc/latex/tabvar/install-tabvar.sh2
-rw-r--r--Master/texmf-dist/doc/latex/tabvar/tabvar.pdfbin254046 -> 263945 bytes
-rw-r--r--Master/texmf-dist/source/latex/tabvar/tabvar.dtx120
-rw-r--r--Master/texmf-dist/tex/latex/tabvar/tabvar.12
-rw-r--r--Master/texmf-dist/tex/latex/tabvar/tabvar.22
-rw-r--r--Master/texmf-dist/tex/latex/tabvar/tabvar.32
-rw-r--r--Master/texmf-dist/tex/latex/tabvar/tabvar.cfg5
-rw-r--r--Master/texmf-dist/tex/latex/tabvar/tabvar.sty55
-rw-r--r--Master/texmf-dist/tpm/tabvar.tpm9
-rw-r--r--Master/texmf/lists/tabvar1
14 files changed, 202 insertions, 120 deletions
diff --git a/Master/texmf-dist/doc/latex/tabvar/00README b/Master/texmf-dist/doc/latex/tabvar/00README
deleted file mode 100644
index 6ad050c25c9..00000000000
--- a/Master/texmf-dist/doc/latex/tabvar/00README
+++ /dev/null
@@ -1,27 +0,0 @@
- Tabvar package
-
-This LaTeX package is meant to ease the typesetting of tables showing
-variations of functions as they are used in France.
-The documentation is in French.
-
-Have a look at the PDF file demo.pdf in the doc directory, to have
-a quick overview of how to use this package.
-Read file tabvar.pdf in the doc directory, for the complete documentation
-of the provided commands.
-
-Listing of the package:
--- 00README (this file)
--- source : tabvar.dtx tabvar.ins tabvar.mp
--- font: tabvar.afm tabvar.tfm tabvar.pfb tabvar.map
--- inputs: tabvar.sty tabvar.cfg tabvar.1 tabvar.2 tabvar.3
--- doc: tabvar.pdf demo.pdf demo.tex
-
-Installation on tetex/TeXLive based systems:
-First decide where you want to install tabvar:
--- either in your personnal TEXMF directory, then you can use the
- `install-tabvar.sh' script;
--- or system wide, then I guess you know what you have to do ;-).
-Reading the script `install-tabvar.sh' can help...
-
-Daniel Flipo, <Daniel.Flipo@univ-lille1.fr>
-February 6th, 2005.
diff --git a/Master/texmf-dist/doc/latex/tabvar/README b/Master/texmf-dist/doc/latex/tabvar/README
index 54e74d2ca77..9456def47e5 120000..100644
--- a/Master/texmf-dist/doc/latex/tabvar/README
+++ b/Master/texmf-dist/doc/latex/tabvar/README
@@ -1 +1,31 @@
-00README \ No newline at end of file
+ Tabvar package
+
+This LaTeX package is meant to ease the typesetting of tables showing
+variations of functions as they are used in France.
+The documentation is in French.
+
+This material is subject to the LaTeX Project Public License.
+See http://www.ctan.org/tex-archive/help/Catalogue/licenses.lppl.html
+for the details of that license.
+
+Have a look at the PDF file demo.pdf in the doc directory, to have
+a quick overview of how to use this package.
+Read file tabvar.pdf in the doc directory, for the complete documentation
+of the provided commands.
+
+Listing of the package:
+-- 00README (this file)
+-- source : tabvar.dtx tabvar.ins tabvar.mp
+-- font: tabvar.afm tabvar.tfm tabvar.pfb tabvar.map
+-- inputs: tabvar.sty tabvar.cfg tabvar.1 tabvar.2 tabvar.3
+-- doc: tabvar.pdf demo.pdf demo.tex
+
+Installation on tetex/TeXLive based systems:
+First decide where you want to install tabvar:
+-- either in your personnal TEXMF directory, then you can use the
+ `install-tabvar.sh' script;
+-- or system wide, then I guess you know what you have to do ;-).
+Reading the script `install-tabvar.sh' can help...
+
+Daniel Flipo, <Daniel.Flipo@univ-lille1.fr>
+February 6th, 2005.
diff --git a/Master/texmf-dist/doc/latex/tabvar/demo.pdf b/Master/texmf-dist/doc/latex/tabvar/demo.pdf
index ccdd53c39c0..7630094f241 100644
--- a/Master/texmf-dist/doc/latex/tabvar/demo.pdf
+++ b/Master/texmf-dist/doc/latex/tabvar/demo.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/tabvar/demo.tex b/Master/texmf-dist/doc/latex/tabvar/demo.tex
index a1bcb77f94a..6ec792fab7e 100644
--- a/Master/texmf-dist/doc/latex/tabvar/demo.tex
+++ b/Master/texmf-dist/doc/latex/tabvar/demo.tex
@@ -86,34 +86,39 @@ f'(x) & &- & &- &\dbarre &- & 0 &+ &
Une présentation plus traditionnelle du tableau de variations serait la
suivante (on renonce à l'utilisation de \verb|\discont| et on remplace
la colonne \texttt{C} par trois colonnes \texttt{LCR}, la colonnne
-centrale contenant une double barre).
+centrale contenant une double barre). On ajoute également des filets
+verticaux pour les valeurs remarquables de la fonction ou de sa dérivée
+grâce à la commande \verb|\barre{}|%
+\footnote{Cette commande n'est disponible que depuis la version 1.1 (mai~2007)
+ de \texttt{tabvar}.}
+(argument \emph{obligatoire}, éventuellement vide).
\[\begin{tabvar}{|C|CCCCLCRCCCC|} \hline
- x &-\infty & &-\sqrt[3]{2} & & &0 & & & 1 & &+\infty
+ x &-\infty & &-\sqrt[3]{2} & & &0 & & & 1 & &+\infty
\\ \hline
-f'(x) & &- & &- & &\dbarre & &- & 0 &+ &
+f'(x) & &- & \barre{} &- & &\dbarre & &- & \barre{0} &+ &
\\ \hline
\niveau{2}{3}f(x)
&\niveau{3}{3}+\infty &\decroit
- &0 &\decroit
+ &\barre{0} &\decroit
&-\infty &\dbarre &\niveau{3}{3}+\infty &\decroit
- &\frac{3}{2} &\croit
+ &\barre{\frac{3}{2}} &\croit
&+\infty
\\ \hline
\end{tabvar}\]
Le codage est le suivant :
\begin{verbatim}
-\[\begin{tabvar}{|C|CCCCRCLCCCC|} \hline
- x &-\infty & &-\sqrt[3]{2} & & &0 & & & 1 & &+\infty
+\[\begin{tabvar}{|C|CCCCLCRCCCC|} \hline
+ x &-\infty & &-\sqrt[3]{2} & & &0 & & & 1 & &+\infty
\\ \hline
-f'(x) & &- & &- & &\dbarre & &- & 0 &+ &
+f'(x) & &- & \barre{} &- & &\dbarre & &- & \barre{0} &+ &
\\ \hline
\niveau{2}{3}f(x)
&\niveau{3}{3}+\infty &\decroit
- &0 &\decroit
+ &\barre{0} &\decroit
&-\infty &\dbarre &\niveau{3}{3}+\infty &\decroit
- &\frac{3}{2} &\croit
+ &\barre{\frac{3}{2}} &\croit
&+\infty
\\ \hline
\end{tabvar}\]
@@ -178,61 +183,65 @@ y'(t) & &+ &2 & + & \dbarre & - & 0 &+ &
\end{verbatim}
\newpage
-Le même tableau de variations en présentation \og traditionnelle \fg :
+Le même tableau de variations en présentation \og traditionnelle \fg.
-\[\begin{tabvar}{|C|CCRCRCLCCCC|} \hline
- t &-\infty & &-1 & & &0 & & & 1 & &+\infty
+\[\begin{tabvar}{|C|CCCCRCLCCCC|} \hline
+ t &-\infty & &-1 & & &0 & & & 1 & &+\infty
\\ \hline
-x'(t) & &+ & 0 & - & &\dbarre & & - & 0 & + &
+x'(t) & &+ &\barre{0}
+ &- & &\dbarre & &- &\barre{0} &+ &
\\ \hline
\niveau{1}{3}
x(t) &-\infty &\croit
- &-2 &\decroit
+ &\barre{-2} &\decroit
&-\infty &\dbarre &\niveau{3}{3}+\infty &\decroit
- &2 &\croit
+ &\barre{2} &\croit
&+\infty
\\ \hline
\niveau{1}{3}
y(t) &-\infty &\croit
&-\frac{1}{2} &\croit
&+\infty &\dbarre &+\infty &\decroit
- &\frac{3}{2} &\croit
+ &\barre{\frac{3}{2}} &\croit
&+\infty
\\ \hline
-y'(t) & &+ &2 & + & & \dbarre & & - & 0 &+ &
+y'(t) & &+ &2 &+ & &\dbarre & &- &\barre{0} &+ &
\\ \hline
\end{tabvar}\]
Le codage est le suivant :
-
\begin{verbatim}
-\[\begin{tabvar}{|C|CCRCRCLCCCC|} \hline
- t &-\infty & &-1 & & & 0 & & & 1 & &+\infty
+\[\begin{tabvar}{|C|CCCCRCLCCCC|} \hline
+ t &-\infty & &-1 & & &0 & & & 1 & &+\infty
\\ \hline
-x'(t) & &+ & 0 & - & & \dbarre & & - & 0 & + &
+x'(t) & &+ &\barre{0}
+ &- & &\dbarre & &- &\barre{0} &+ &
\\ \hline
\niveau{1}{3}
x(t) &-\infty &\croit
- &-2 &\decroit
+ &\barre{-2} &\decroit
&-\infty &\dbarre &\niveau{3}{3}+\infty &\decroit
- &2 &\croit
+ &\barre{2} &\croit
&+\infty
\\ \hline
\niveau{1}{3}
y(t) &-\infty &\croit
&-\frac{1}{2} &\croit
&+\infty &\dbarre &+\infty &\decroit
- &\frac{3}{2} &\croit
+ &\barre{\frac{3}{2}} &\croit
&+\infty
\\ \hline
-y'(t) & &+ &2 & + & & \dbarre & & - & 0 &+ &
+y'(t) & &+ &2 &+ & &\dbarre & &- &\barre{0} &+ &
\\ \hline
\end{tabvar}\]
\end{verbatim}
+Noter que le type de la colonne $t=-1$ a dû être changé de \texttt{R} à
+\texttt{C} pour permettre l'ajout du filet vertical.
+
\newpage
Le même tableau encore, mais cette fois on utilise les flèches
-dessinées en MetaPost :
+dessinées en MetaPost.
\begingroup
\renewcommand{\FlecheC}{\FlecheCm}
\renewcommand{\FlecheD}{\FlecheDm}
@@ -285,7 +294,7 @@ f(x) &1 &\croit &+\infty &
\\ \hline
\end{tabvar}\]
-Le codage est le suivant
+Le codage est le suivant :
\begin{verbatim}
\[\begin{tabvar}{|C|CCRNLCC|} \hline
x &-\infty & &-1 &\hspace*{15mm} & 1 & &+\infty
diff --git a/Master/texmf-dist/doc/latex/tabvar/install-tabvar.sh b/Master/texmf-dist/doc/latex/tabvar/install-tabvar.sh
index 038488ffc95..d0df763df68 100755
--- a/Master/texmf-dist/doc/latex/tabvar/install-tabvar.sh
+++ b/Master/texmf-dist/doc/latex/tabvar/install-tabvar.sh
@@ -40,7 +40,7 @@ fi
# Créer les répertoires nécessaires :
${TEXMFCNFMAIN}/web2c/mktexdir ${DOCDIR} ${MPDIR} ${SOURCEDIR} ${INPUTDIR} ${AFMDIR} ${TFMDIR} ${PFBDIR} ${MAPDIR}
# Ventiler les fichiers dans l'arborescence ainsi créée :
-cp 00README install-tabvar.sh doc/* ${DOCDIR}
+cp README install-tabvar.sh doc/* ${DOCDIR}
cp source/*.mp ${MPDIR}
cp source/*.dtx source/*.ins ${SOURCEDIR}
cp inputs/* ${INPUTDIR}
diff --git a/Master/texmf-dist/doc/latex/tabvar/tabvar.pdf b/Master/texmf-dist/doc/latex/tabvar/tabvar.pdf
index 4874127c056..e080e8ebe4c 100644
--- a/Master/texmf-dist/doc/latex/tabvar/tabvar.pdf
+++ b/Master/texmf-dist/doc/latex/tabvar/tabvar.pdf
Binary files differ
diff --git a/Master/texmf-dist/source/latex/tabvar/tabvar.dtx b/Master/texmf-dist/source/latex/tabvar/tabvar.dtx
index ebe7f524ecd..6f304a0e91b 100644
--- a/Master/texmf-dist/source/latex/tabvar/tabvar.dtx
+++ b/Master/texmf-dist/source/latex/tabvar/tabvar.dtx
@@ -1,4 +1,4 @@
-% \CheckSum{436}
+% \CheckSum{476}
%
% \iffalse
% Files `tabvar.dtx', `tabvar.ins' and `tabvar.mp'
@@ -17,17 +17,23 @@
% NO PERMISSION is granted to produce or to distribute a
% modified version of this file under its original name.
%
-%<dtx>\ProvidesFile{tabvar.dtx}
%<*sty>
%%
-%% Copyright (C) Daniel Flipo 2003-2006 <daniel.flipo@univ-lille1.fr>.
+%% Copyright (C) Daniel Flipo 2003-2007 <daniel.flipo@univ-lille1.fr>.
%%
\NeedsTeXFormat{LaTeX2e}[1997/06/01]
\ProvidesFile{tabvar.sty}
- [2006/03/14 v1.0 (Daniel Flipo)]
%</sty>
-%<*filedriver>
+%<*dtx>
+\ProvidesFile{tabvar.dtx}
+%</dtx>
+%<*!cfg>
+ [2007/05/07 v1.1 (Daniel Flipo)]
+%</!cfg>
+%
+%<*driver>
\documentclass{ltxdoc}
+\GetFileInfo{tabvar.dtx}
\usepackage{url}
\usepackage[latin1]{inputenc}
\usepackage[T1]{fontenc}
@@ -43,9 +49,9 @@
\end{center}
\DocInput{tabvar.dtx}
\end{document}
-%</filedriver>
+%</driver>
+%
% \fi
-% \GetFileInfo{tabvar.dtx}
%
% \section{Documentation}
%
@@ -145,16 +151,31 @@
%
% \end{itemize}
%
+% Il est possible d'ajouter des filets d'alignement vertical en
+% utilisant la commande |\barre{}| qui requiert un argument
+% obligatoire, \'eventuellement vide : |\barre{}| trace un filet
+% vertical dont la hauteur est celle de la ligne du tableau.
+% Lorsqu'une valeur doit figurer sous le filet, on la passe en
+% argument de la commande (|\barre{0}| par exemple), ainsi cette
+% valeur sera centr\'ee sur le filet. Ceci restreint \'evidemment
+% l'usage de la commande |\barre| aux colonnes de type \texttt{C}.
+% La couleur du filet (gris par d\'efaut) est param\'etrable, voir
+% le fichier de configuration \file{tabvar.cfg}. Cette solution a
+% \'et\'e pr\'ef\'er\'ee \`a des pointill\'es qui posent des
+% probl\`emes de raccordement d'une ligne \`a l'autre du tableau.
+%
% Le fichier \file{demo.pdf} (joint) propose plusieurs exemples,
% accompagn\'es de leur code source, illustrant les utilisations
% possibles de l'environnement |tabvar|.
%
+% \subsection{Liste des changements depuis la version 1.0}
+%
+% Version 1.1 : ajout de la commande |\barre{}|.
+%
% \StopEventually{}
%
% \iffalse
-% \begin{macrocode}
%<*sty>
-% \end{macrocode}
% \fi
%
% \section{Le code}
@@ -446,26 +467,57 @@
% est limit\'ee \`a un interligne.
%
% On calcule la hauteur exacte de la rang\'ee, dans les deux cas
-% |\@niveaux=1| et |\@niveaux>1|, et on fait appel \`a |\rule|
-% pour le trac\'e.
+% |\@niveaux=1| et |\@niveaux>1|, |\@tempdimc| contient la hauteur
+% totale (\textit{totalheight}) et |\@tempdimc| la profondeur
+% (\textit{depth}).
% \begin{macrocode}
-\newcommand{\dbarre}{\ifnum\@niveaux=1
- \@tempdimc=\TVarraystretch\baselineskip
- \else
- \@tempcnta=\@niveaux
- \advance\@tempcnta by -1
- \@tempdimc=\@tempcnta\baselineskip
- \@tempdimb=\TVextraheight
- \ifdim\@tempdimb<.7\baselineskip
- \@tempdimb=.7\baselineskip
- \fi
- \advance\@tempdimc by \@tempdimb
- \advance\@tempdimc by \dp\@arstrutbox
- \fi
- \rule[-\dp\@arstrutbox]{.5\p@}{\@tempdimc}%
- \kern 2\p@
- \rule[-\dp\@arstrutbox]{.5\p@}{\@tempdimc}%
- \@soclefalse}
+\newcommand{\barre@dth}{%
+ \ifnum\@niveaux=1
+ \@tempdimc=\TVarraystretch\baselineskip
+ \else
+ \@tempcnta=\@niveaux
+ \advance\@tempcnta by -1
+ \@tempdimc=\@tempcnta\baselineskip
+ \@tempdimb=\TVextraheight
+ \ifdim\@tempdimb<.7\baselineskip
+ \@tempdimb=.7\baselineskip
+ \fi
+ \advance\@tempdimc by \@tempdimb
+ \advance\@tempdimc by \dp\@arstrutbox
+ \fi
+ \@tempdimb=\dp\@arstrutbox}
+% \end{macrocode}
+% On fait appel \`a |\rule| pour le trac\'e de |\dbarre|.
+% \begin{macrocode}
+\newcommand{\dbarre}{%
+ \barre@dth
+ \rule[-\@tempdimb]{.5\p@}{\@tempdimc}%
+ \kern 2\p@
+ \rule[-\@tempdimb]{.5\p@}{\@tempdimc}%
+ \@soclefalse}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\barre}
+% La commande |\barre| prend un argument obligatoire.
+% |\barre{}| trace un filet vertical centr\'e dans une colonne.
+% Lorsque l'argument est non vide, celui-ci est superpos\'e
+% (centr\'e) sur le filet. Le filet est trac\'e en gris
+% par d\'efaut (couleur param\'etrable).
+% \begin{macrocode}
+\newsavebox{\tab@box}
+\definecolor{TVbarrecolor}{gray}{0.7}
+\newcommand{\barre}[1]{%
+ \sbox{\tab@box}{\ensuremath{#1}}%
+ \barre@dth
+ \@tempcnta=\@niveaux
+ \advance\@tempcnta by -\@pos
+ \advance\@tempdimb by \@tempcnta\baselineskip
+ \raisebox{-\@tempdimb}[0pt][0pt]{%
+ \makebox[\wd\tab@box][c]{\color{TVbarrecolor}%
+ \rule{.5\p@}{\@tempdimc}}}%
+ \kern-\wd\tab@box\usebox{\tab@box}%
+}
% \end{macrocode}
% \end{macro}
%
@@ -571,17 +623,13 @@
{\typeout{tabvar.cfg not found, using default values}}
% \end{macrocode}
% \iffalse
-% \begin{macrocode}
%</sty>
-% \end{macrocode}
% \fi
%
% \section{Fichier de configuration}
%
% \iffalse
-% \begin{macrocode}
%<*cfg>
-% \end{macrocode}
% \fi
% \begin{macrocode}
%% Fichier de configuration de l'extension `tabvar.sty'.
@@ -621,11 +669,14 @@
%%
%%\setlength{\TVcolorLeftSep}{\TVarraycolsep}
%%\setlength{\TVcolorRightSep}{\TVarraycolsep}
+%%
+%% On peut ajuster comme ci-dessus la couleur des filets
+%% tra\c{c}\'es par la commande \barre{}.
+%%
+%%\definecolor{TVbarrecolor}{gray}{0.7}
% \end{macrocode}
% \iffalse
-% \begin{macrocode}
%</cfg>
-% \end{macrocode}
% \fi
%
% \Finale
@@ -633,7 +684,6 @@
\endinput
%%% Local Variables:
-%%% mode: latex
%%% TeX-master: t
%%% fill-column: 70
%%% coding: latin-1
diff --git a/Master/texmf-dist/tex/latex/tabvar/tabvar.1 b/Master/texmf-dist/tex/latex/tabvar/tabvar.1
index aa3baf850df..226974c1b92 100644
--- a/Master/texmf-dist/tex/latex/tabvar/tabvar.1
+++ b/Master/texmf-dist/tex/latex/tabvar/tabvar.1
@@ -2,7 +2,7 @@
%%BoundingBox: -1 -1 25 13
%%HiResBoundingBox: -0.09962 -0.09962 24.0099 12.05476
%%Creator: MetaPost 0.901
-%%CreationDate: 2006.03.15:1446
+%%CreationDate: 2006.03.17:2017
%%Pages: 1
%%BeginProlog
%%EndProlog
diff --git a/Master/texmf-dist/tex/latex/tabvar/tabvar.2 b/Master/texmf-dist/tex/latex/tabvar/tabvar.2
index 9f86821477c..8d7a276f2ae 100644
--- a/Master/texmf-dist/tex/latex/tabvar/tabvar.2
+++ b/Master/texmf-dist/tex/latex/tabvar/tabvar.2
@@ -2,7 +2,7 @@
%%BoundingBox: -1 -1 25 13
%%HiResBoundingBox: -0.09962 -0.09962 24.0099 12.05476
%%Creator: MetaPost 0.901
-%%CreationDate: 2006.03.15:1446
+%%CreationDate: 2006.03.17:2017
%%Pages: 1
%%BeginProlog
%%EndProlog
diff --git a/Master/texmf-dist/tex/latex/tabvar/tabvar.3 b/Master/texmf-dist/tex/latex/tabvar/tabvar.3
index 36d4fce3aec..7501bd2e0eb 100644
--- a/Master/texmf-dist/tex/latex/tabvar/tabvar.3
+++ b/Master/texmf-dist/tex/latex/tabvar/tabvar.3
@@ -2,7 +2,7 @@
%%BoundingBox: -1 -2 25 2
%%HiResBoundingBox: -0.09962 -1.63043 24.0099 1.63043
%%Creator: MetaPost 0.901
-%%CreationDate: 2006.03.15:1446
+%%CreationDate: 2006.03.17:2017
%%Pages: 1
%%BeginProlog
%%EndProlog
diff --git a/Master/texmf-dist/tex/latex/tabvar/tabvar.cfg b/Master/texmf-dist/tex/latex/tabvar/tabvar.cfg
index 05e38557ceb..3282bcdec0a 100644
--- a/Master/texmf-dist/tex/latex/tabvar/tabvar.cfg
+++ b/Master/texmf-dist/tex/latex/tabvar/tabvar.cfg
@@ -35,6 +35,11 @@
%%
%%\setlength{\TVcolorLeftSep}{\TVarraycolsep}
%%\setlength{\TVcolorRightSep}{\TVarraycolsep}
+%%
+%% On peut ajuster comme ci-dessus la couleur des filets
+%% tra\c{c}\'es par la commande \barre{}.
+%%
+%%\definecolor{TVbarrecolor}{gray}{0.7}
\endinput
%%
%% End of file `tabvar.cfg'.
diff --git a/Master/texmf-dist/tex/latex/tabvar/tabvar.sty b/Master/texmf-dist/tex/latex/tabvar/tabvar.sty
index 61906845150..819593ffe94 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-2006 <daniel.flipo@univ-lille1.fr>.
+%% Copyright (C) Daniel Flipo 2003-2007 <daniel.flipo@univ-lille1.fr>.
%%
\NeedsTeXFormat{LaTeX2e}[1997/06/01]
\ProvidesFile{tabvar.sty}
- [2006/03/14 v1.0 (Daniel Flipo)]
+ [2007/05/07 v1.1 (Daniel Flipo)]
\newif\ifFlechesMP \FlechesMPfalse
\DeclareOption{FlechesMP}{\FlechesMPtrue}
\DeclareOption{FlechesPS}{\FlechesMPfalse}
@@ -130,23 +130,40 @@
\protect\niveau\space sont incorrects}%
\fi}
\newcommand{\constante}{\FlecheH}
-\newcommand{\dbarre}{\ifnum\@niveaux=1
- \@tempdimc=\TVarraystretch\baselineskip
- \else
- \@tempcnta=\@niveaux
- \advance\@tempcnta by -1
- \@tempdimc=\@tempcnta\baselineskip
- \@tempdimb=\TVextraheight
- \ifdim\@tempdimb<.7\baselineskip
- \@tempdimb=.7\baselineskip
- \fi
- \advance\@tempdimc by \@tempdimb
- \advance\@tempdimc by \dp\@arstrutbox
- \fi
- \rule[-\dp\@arstrutbox]{.5\p@}{\@tempdimc}%
- \kern 2\p@
- \rule[-\dp\@arstrutbox]{.5\p@}{\@tempdimc}%
- \@soclefalse}
+\newcommand{\barre@dth}{%
+ \ifnum\@niveaux=1
+ \@tempdimc=\TVarraystretch\baselineskip
+ \else
+ \@tempcnta=\@niveaux
+ \advance\@tempcnta by -1
+ \@tempdimc=\@tempcnta\baselineskip
+ \@tempdimb=\TVextraheight
+ \ifdim\@tempdimb<.7\baselineskip
+ \@tempdimb=.7\baselineskip
+ \fi
+ \advance\@tempdimc by \@tempdimb
+ \advance\@tempdimc by \dp\@arstrutbox
+ \fi
+ \@tempdimb=\dp\@arstrutbox}
+\newcommand{\dbarre}{%
+ \barre@dth
+ \rule[-\@tempdimb]{.5\p@}{\@tempdimc}%
+ \kern 2\p@
+ \rule[-\@tempdimb]{.5\p@}{\@tempdimc}%
+ \@soclefalse}
+\newsavebox{\tab@box}
+\definecolor{TVbarrecolor}{gray}{0.7}
+\newcommand{\barre}[1]{%
+ \sbox{\tab@box}{\ensuremath{#1}}%
+ \barre@dth
+ \@tempcnta=\@niveaux
+ \advance\@tempcnta by -\@pos
+ \advance\@tempdimb by \@tempcnta\baselineskip
+ \raisebox{-\@tempdimb}[0pt][0pt]{%
+ \makebox[\wd\tab@box][c]{\color{TVbarrecolor}%
+ \rule{.5\p@}{\@tempdimc}}}%
+ \kern-\wd\tab@box\usebox{\tab@box}%
+}
\newcommand{\discont}[4][0]{%
\settowidth{\@tempdimc}{\ensuremath{#2}}%
\settowidth{\@tempdimb}{\ensuremath{#4}}%
diff --git a/Master/texmf-dist/tpm/tabvar.tpm b/Master/texmf-dist/tpm/tabvar.tpm
index 185204a1992..1edd30602af 100644
--- a/Master/texmf-dist/tpm/tabvar.tpm
+++ b/Master/texmf-dist/tpm/tabvar.tpm
@@ -3,7 +3,7 @@
<rdf:Description about="http://texlive.dante.de/texlive/Package/tabvar.zip">
<TPM:Name>tabvar</TPM:Name>
<TPM:Type>Package</TPM:Type>
- <TPM:Date>2006/07/16 22:58:09</TPM:Date>
+ <TPM:Date>2007/05/08 06:16:00</TPM:Date>
<TPM:Version></TPM:Version>
<TPM:Creator>rahtz</TPM:Creator>
<TPM:Title>
@@ -19,7 +19,7 @@ The documentation is in French.
<TPM:Size>455934</TPM:Size>
<TPM:License></TPM:License>
<TPM:Build/>
- <TPM:RunFiles size="17691">
+ <TPM:RunFiles size="18082">
texmf-dist/fonts/afm/public/tabvar/tabvar.afm
texmf-dist/fonts/map/dvips/tabvar/tabvar.map
texmf-dist/fonts/tfm/public/tabvar/tabvar.tfm
@@ -32,15 +32,14 @@ texmf-dist/tex/latex/tabvar/tabvar.cfg
texmf-dist/tex/latex/tabvar/tabvar.sty
texmf-dist/tpm/tabvar.tpm
</TPM:RunFiles>
- <TPM:DocFiles size="412506">
-texmf-dist/doc/latex/tabvar/00README
+ <TPM:DocFiles size="530596">
texmf-dist/doc/latex/tabvar/README
texmf-dist/doc/latex/tabvar/demo.pdf
texmf-dist/doc/latex/tabvar/demo.tex
texmf-dist/doc/latex/tabvar/install-tabvar.sh
texmf-dist/doc/latex/tabvar/tabvar.pdf
</TPM:DocFiles>
- <TPM:SourceFiles size="25737">
+ <TPM:SourceFiles size="27405">
texmf-dist/source/latex/tabvar/tabvar.dtx
texmf-dist/source/latex/tabvar/tabvar.ins
</TPM:SourceFiles>
diff --git a/Master/texmf/lists/tabvar b/Master/texmf/lists/tabvar
index 71988a9b78f..5a42e5099d3 100644
--- a/Master/texmf/lists/tabvar
+++ b/Master/texmf/lists/tabvar
@@ -1,4 +1,3 @@
-texmf-dist/doc/latex/tabvar/00README
texmf-dist/doc/latex/tabvar/README
texmf-dist/doc/latex/tabvar/demo.pdf
texmf-dist/doc/latex/tabvar/demo.tex