summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/tabvar/demo.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/tabvar/demo.tex')
-rw-r--r--Master/texmf-dist/doc/latex/tabvar/demo.tex65
1 files changed, 37 insertions, 28 deletions
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