From 78a7540609bc03c288ff057f91c96fa611dbc0a9 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Wed, 9 May 2007 13:00:02 +0000 Subject: tabvar 1.1 (8may07) git-svn-id: svn://tug.org/texlive/trunk@4263 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/tabvar/00README | 27 --------- Master/texmf-dist/doc/latex/tabvar/README | 32 +++++++++- Master/texmf-dist/doc/latex/tabvar/demo.pdf | Bin 142916 -> 251444 bytes Master/texmf-dist/doc/latex/tabvar/demo.tex | 65 ++++++++++++--------- .../texmf-dist/doc/latex/tabvar/install-tabvar.sh | 2 +- Master/texmf-dist/doc/latex/tabvar/tabvar.pdf | Bin 254046 -> 263945 bytes 6 files changed, 69 insertions(+), 57 deletions(-) delete mode 100644 Master/texmf-dist/doc/latex/tabvar/00README mode change 120000 => 100644 Master/texmf-dist/doc/latex/tabvar/README (limited to 'Master/texmf-dist/doc') 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, -February 6th, 2005. diff --git a/Master/texmf-dist/doc/latex/tabvar/README b/Master/texmf-dist/doc/latex/tabvar/README deleted file mode 120000 index 54e74d2ca77..00000000000 --- a/Master/texmf-dist/doc/latex/tabvar/README +++ /dev/null @@ -1 +0,0 @@ -00README \ No newline at end of file diff --git a/Master/texmf-dist/doc/latex/tabvar/README b/Master/texmf-dist/doc/latex/tabvar/README new file mode 100644 index 00000000000..9456def47e5 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabvar/README @@ -0,0 +1,31 @@ + 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, +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 Binary files a/Master/texmf-dist/doc/latex/tabvar/demo.pdf and b/Master/texmf-dist/doc/latex/tabvar/demo.pdf 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 Binary files a/Master/texmf-dist/doc/latex/tabvar/tabvar.pdf and b/Master/texmf-dist/doc/latex/tabvar/tabvar.pdf differ -- cgit v1.2.3