summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/tkz-fct/latex/TKZdoc-fct-area.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/tkz-fct/latex/TKZdoc-fct-area.tex')
-rw-r--r--Master/texmf-dist/doc/latex/tkz-fct/latex/TKZdoc-fct-area.tex16
1 files changed, 8 insertions, 8 deletions
diff --git a/Master/texmf-dist/doc/latex/tkz-fct/latex/TKZdoc-fct-area.tex b/Master/texmf-dist/doc/latex/tkz-fct/latex/TKZdoc-fct-area.tex
index c87045bbec6..d5dd91cb0d8 100644
--- a/Master/texmf-dist/doc/latex/tkz-fct/latex/TKZdoc-fct-area.tex
+++ b/Master/texmf-dist/doc/latex/tkz-fct/latex/TKZdoc-fct-area.tex
@@ -1,4 +1,4 @@
-%!TEX root = /Users/ego/Boulot/TKZ/tkz-fct/doc-fr/TKZdoc-fct-main.tex
+
\section{Macros pour définir des surfaces }
Il s'agit par exemple de représenter la partie du plan comprise entre la courbe représentative d'une fonction, l'axe des abscisses et les droites
@@ -94,28 +94,28 @@ Cette macro permet de mettre en évidence une surface délimitée par les courbe
\toprule
options & défaut & explication \\
\midrule
-\TOline{between} {a and b}{référence des deux courbes}
+\TOline{between} {no default}{référence des deux courbes, obligatoire !}
\TOline{domain= min:max}{domain=-5:5}{Les options sont celles de \TIKZ.}
\TOline{opacity} {0.5}{transparence}
\bottomrule
\end{tabular}
-\emph{L'option \tkzname{pattern} de \TIKZ\ peut être utile ! }
+{L'option \tkzname{pattern} de \TIKZ\ peut être utile ! }
\end{NewMacroBox}
%<--------------------------------------------------------------------------->
\subsection{Surface comprise entre deux courbes en couleur}
Par défaut, la surface définie est comprise entre les deux premières courbes.
-\begin{tkzexample}[vbox]
+
\begin{tikzpicture}[scale=1.5]
\tkzInit[xmax=5,ymax=5]
\tkzGrid \tkzAxeXY
\tkzFct[domain = 0:5]{x}
\tkzFct[domain = 1:5]{log(x)}
- \tkzDrawAreafg[color = orange!50,domain = 1:5]
+ \tkzDrawAreafg[between=a and b,color = orange!50,domain = 1:5]
\end{tikzpicture}
-\end{tkzexample}
+
%<--------------------------------------------------------------------------->
\newpage
@@ -183,8 +183,8 @@ Ici aussi, attention à l'ordre des références dans l'option \tkzname{between}
\tkzAxeXY
\tkzFct[domain = -.5:4]{ 4*x-x**2+4/(x**2+1)**2}
\tkzFct[domain = -.5:4]{x-1+4/(x**2+1)**2}
- \tkzDrawAreafg[color=green,domain = 1:4]
- \tkzDrawAreafg[pattern=north west lines,domain = -.5:1]
+ \tkzDrawAreafg[between=a and b,color=green,domain = 1:4]
+ \tkzDrawAreafg[between=a and b,pattern=north west lines,domain = -.5:1]
\tkzRep
\tkzText(2.5,4.5){$C_f$}
\tkzText(2.5,1){$C_g$}