summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/tabvar
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-09-09 00:05:31 +0000
committerKarl Berry <karl@freefriends.org>2010-09-09 00:05:31 +0000
commit64ac32424e6d9862183c9261c2824155d8b9ba75 (patch)
tree9258bb312b9afee967dfd11e9739972754f9adf6 /Master/texmf-dist/tex/latex/tabvar
parent5adcd9650d837853891dd467590841dae36653cd (diff)
tabvar update (24aug10)
git-svn-id: svn://tug.org/texlive/trunk@19619 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/tabvar')
-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.cfg6
-rw-r--r--Master/texmf-dist/tex/latex/tabvar/tabvar.sty24
5 files changed, 26 insertions, 10 deletions
diff --git a/Master/texmf-dist/tex/latex/tabvar/tabvar.1 b/Master/texmf-dist/tex/latex/tabvar/tabvar.1
index c676fa49c79..3ba41ff40ce 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 1.208
-%%CreationDate: 2010.04.03:1712
+%%CreationDate: 2010.08.23:1154
%%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 8d6f34b9125..65ae7118f4f 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 1.208
-%%CreationDate: 2010.04.03:1712
+%%CreationDate: 2010.08.23:1154
%%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 9754ddb953a..5a281bb6034 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 1.208
-%%CreationDate: 2010.04.03:1712
+%%CreationDate: 2010.08.23:1154
%%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 64f2db1169e..4ff62822214 100644
--- a/Master/texmf-dist/tex/latex/tabvar/tabvar.cfg
+++ b/Master/texmf-dist/tex/latex/tabvar/tabvar.cfg
@@ -1,3 +1,4 @@
+
%% Fichier de configuration de l'extension `tabvar.sty'.
%%
%% D\'ecommenter la ligne suivante pour que les variantes MetaPost
@@ -5,6 +6,11 @@
%%
%%\FlechesMPtrue
%%
+%% Ce param\`etre permet d'augmenter la largeur des colonnes contenant
+%% des fl\`eches (essayer 1.3, 1.5, etc.), sa valeur par d\'efaut est 1 :
+%%
+%%\renewcommand*{\TVarrowscolstretch}{1}
+%%
%% Ce param\`etre permet d'ajuster la hauteur des lignes
%% de `tabvar' correspondant aux variations d'une fonction ;
%% sa valeur par d\'efaut est :
diff --git a/Master/texmf-dist/tex/latex/tabvar/tabvar.sty b/Master/texmf-dist/tex/latex/tabvar/tabvar.sty
index 015d4448ff6..bd9f9fdd410 100644
--- a/Master/texmf-dist/tex/latex/tabvar/tabvar.sty
+++ b/Master/texmf-dist/tex/latex/tabvar/tabvar.sty
@@ -25,7 +25,8 @@
%%
\NeedsTeXFormat{LaTeX2e}[1997/06/01]
\ProvidesFile{tabvar.sty}
- [2010/04/03 v1.3 (Daniel Flipo)]
+ [2010/08/22 v1.4 (Daniel Flipo)]
+
\newif\ifFlechesMP \FlechesMPfalse
\DeclareOption{FlechesMP}{\FlechesMPtrue}
\DeclareOption{FlechesPS}{\FlechesMPfalse}
@@ -43,14 +44,20 @@
\newsavebox{\arup}
\newsavebox{\ardown}
\newsavebox{\arhor}
+\newcommand*{\TVarrowscolstretch}{1}
+\newcommand*{\TV@arrowcol@stretch}[1]{%
+ \makebox[\TVarrowscolstretch\width][c]{#1}}
\providecommand{\f@size}{10}
\newcommand{\TVarrowscale}{\strip@pt\dimexpr\f@size pt/10\relax}
\sbox{\arup}{\includegraphics[scale=\TVarrowscale]{tabvar.1}}
\sbox{\ardown}{\includegraphics[scale=\TVarrowscale]{tabvar.2}}
\sbox{\arhor}{\includegraphics[scale=\TVarrowscale]{tabvar.3}}
-\newcommand{\FlecheCm}{\raisebox{.5ex}{\usebox{\arup}}}
-\newcommand{\FlecheDm}{\raisebox{.5ex}{\usebox{\ardown}}}
-\newcommand{\FlecheHm}{\raisebox{.5ex}{\usebox{\arhor}}}
+\newcommand{\FlecheCm}{%
+ \TV@arrowcol@stretch{\raisebox{.5ex}{\usebox{\arup}}}}
+\newcommand{\FlecheDm}{%
+ \TV@arrowcol@stretch{\raisebox{.5ex}{\usebox{\ardown}}}}
+\newcommand{\FlecheHm}{%
+ \TV@arrowcol@stretch{\raisebox{.5ex}{\usebox{\arhor}}}}
\AtBeginDocument{%
\ifFlechesMP
\newcommand{\FlecheC}{\FlecheCm}%
@@ -63,9 +70,12 @@
\DeclareMathSymbol{\enearrow}{\mathrel}{tvsymbols}{"25}%
\DeclareMathSymbol{\esearrow}{\mathrel}{tvsymbols}{"26}%
\DeclareMathSymbol{\eastarrow}{\mathrel}{tvsymbols}{"21}%
- \newcommand{\FlecheC}{\ensuremath{\enearrow}}%
- \newcommand{\FlecheD}{\ensuremath{\esearrow}}%
- \newcommand{\FlecheH}{\ensuremath{\eastarrow}}%
+ \newcommand{\FlecheC}{%
+ \TV@arrowcol@stretch{\ensuremath{\enearrow}}}%
+ \newcommand{\FlecheD}{%
+ \TV@arrowcol@stretch{\ensuremath{\esearrow}}}%
+ \newcommand{\FlecheH}{%
+ \TV@arrowcol@stretch{\ensuremath{\eastarrow}}}%
\fi}
\newdimen\TVextraheight
\setlength{\TVextraheight}{.7\baselineskip}