summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/tkz/tkz-fct/doc/latex/TKZdoc-fct-asymptote.tex
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/tkz/tkz-fct/doc/latex/TKZdoc-fct-asymptote.tex')
-rw-r--r--macros/latex/contrib/tkz/tkz-fct/doc/latex/TKZdoc-fct-asymptote.tex159
1 files changed, 0 insertions, 159 deletions
diff --git a/macros/latex/contrib/tkz/tkz-fct/doc/latex/TKZdoc-fct-asymptote.tex b/macros/latex/contrib/tkz/tkz-fct/doc/latex/TKZdoc-fct-asymptote.tex
deleted file mode 100644
index 1f3666c6e5..0000000000
--- a/macros/latex/contrib/tkz/tkz-fct/doc/latex/TKZdoc-fct-asymptote.tex
+++ /dev/null
@@ -1,159 +0,0 @@
-%<–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––>
-\section{Droites particulières}
-%<–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––>
-\subsection{ Tracer une ligne verticale }
-\begin{NewMacroBox}{tkzVLine}{\oarg{local options}\marg{decimal number}}
-Attention, la syntaxe est celle de \tkzname{fp} car on n'utilise pas \tkzname{gnuplot} pour tracer une droite.
-
-\begin{tabular}{lll}
- \toprule
-arguments & exemple & définition \\
-\midrule
-\TAline{decimal number}{\tkzcname{tkzVLine\{1\}}}{Trace la droite $x=1$}
-\bottomrule
-\end{tabular}
-
-\medskip
-\begin{tabular}{lll}
-\toprule
-options & défaut & définition \\
-\midrule
-\TOline{color }{|black| }{ couleur du trait}
-\TOline{line width}{|0.6pt| }{ épaisseur du point}
-\TOline{style }{|solid|}{ style du trait }
-\bottomrule
-\end{tabular}
-
-{voir les options les lignes dans \TIKZ}
-\end{NewMacroBox}
-
-
-\subsection{Ligne verticale }
-problème avec cette macro, en principe 1./3 devrait être acceptée.
-\begin{tkzexample}[latex=8cm]
-\begin{tikzpicture}[scale=2]
- \tkzInit[xmax=3,ymax=2]
- \tkzAxeXY
- \tkzVLine[color = blue,
- style = dashed,
- line width = 1pt]{2}
- \tkzVLine[color = red,
- style = dashed,
- line width = 1pt]{1./3}
-\end{tikzpicture}
-\end{tkzexample}
-
-
-\newpage
-\begin{NewMacroBox}{tkzVLines}{\oarg{local options}\marg{list of values}}
-Attention, la syntaxe est celle de \tkzname{fp} car on n'utilise pas \tkzname{gnuplot} pour tracer une droite.
-
-\begin{tabular}{lll}
- \toprule
-arguments & exemple & définition \\
-\midrule
-\TAline{list of values}{\tkzcname{tkzVLines\{1,4\}}}{Trace les droites $x=1$ et $x=4$}
-\bottomrule
-\end{tabular}
-
-\end{NewMacroBox}
-
-\subsection{Lignes verticales}
-
-\begin{tkzexample}[latex=7cm]
-\begin{tikzpicture}
- \tkzInit[xmax=5,ymax=5]
- \tkzAxeXY
- \tkzVLines[color = green]{1,2,...,4}
-\end{tikzpicture}
-\end{tkzexample}
-
-\subsection{Ligne verticale et valeur calculée par \tkzname{fp} }
-\begin{tkzexample}[]
-\begin{tikzpicture}
- \tkzInit[xmin=-7,xmax=7,ymin=-1,ymax=1]
- \tkzAxeY[font=\small]
- \tkzAxeX[trig=2]
- \foreach\v in {-2,-1,1,2}
- {\tkzVLine[color=red]{\v*\FPpi}}
-\end{tikzpicture}
-\end{tkzexample}
-
-\newpage
-\subsection{Une ligne horizontale}
-\begin{NewMacroBox}{tkzHLine}{\oarg{local options}\marg{decimal number}}
-\begin{tabular}{lll}
-arguments & exemple & définition \\
-\midrule
-\TAline{decimal number}{\tkzcname{tkzVLine\{1\}}}{Trace la droite $y=1$}
-\end{tabular}
-\end{NewMacroBox}
-
-\begin{tkzexample}[latex=7cm]
-\begin{tikzpicture}
- \tkzInit[xmax=80,xstep=20,ymax=2]
- \tkzAxeXY
- \tkzHLine[color=red]{exp(1)-1}
-\end{tikzpicture}
-\end{tkzexample}
-\subsection{Asymptote horizontale}
-Attention, une autre méthode consiste à écrire \tkzcname{tkzFct{$\text{k}$}} mais si \tkzname{ystep= $n$} avec $n$ entier naturel alors il est nécessaire d'écrire $k$ comme un nombre réel, par exemple si \tkzname{ystep= $3$} alors il faut écrire $k=5.0$.
-
-\begin{tkzexample}[]
-\begin{tikzpicture}[scale=2.5]
- \tkzInit[xmax=5,ymin=0.5,ymax=1.5,ystep=0.5]
- \tkzGrid
- \tkzAxeXY
- \tkzFct[domain = 0:10]{x*exp(-x)+1}
- \tkzHLine[color=red,style=solid,line width=1.2pt]{1}
- \tkzDrawTangentLine[draw,color=blue](1)
- \tkzText[draw,fill = brown!20](2,0.75){$f(x)=x \text{e}^{-x}+1$}
- \end{tikzpicture}
- \end{tkzexample}
-
-
-
-\newpage
-
-\subsection{Lignes horizontales}
-
-\begin{NewMacroBox}{tkzHLines}{\oarg{local options}\marg{list of values}}
-\begin{tabular}{lll}
-arguments & exemple & définition \\
-\midrule
-\TAline{list of values}{\tkzcname{tkzHLines\{1,4\}}}{Trace les droites $y=1$ et $y=4$}
-\bottomrule
-\end{tabular}
-\end{NewMacroBox}
-
-\begin{tkzexample}[]
-\begin{tikzpicture}
- \tkzInit
- \tkzAxeXY
- \tkzHLines[color = green]{1,2,...,10}
-\end{tikzpicture}
-\end{tkzexample}
-
-
-\newpage
-\subsection{Asymptote horizontale et verticale}
-\begin{tkzexample}[vbox]
-\begin{tikzpicture}[scale=1.25]
- \tkzInit
- \tkzGrid
- \tkzAxeXY
- \tkzFct[color=red,domain=1.001:1.9]{1+1/(log(x-1)**2)}
- \tkzFct[color=red,domain = 2.1:10]{1+1/(log(x-1)**2)}
- \tkzHLine[line width=1pt,color=red]{1}
- \tkzVLine[line width=1pt,color=blue]{2}
- \tkzDefPoint(1,1){A}
- \tkzDrawPoint[fill=white,color=brown,size=6](A)
- \tkzDefPointByFct[draw,with=b]({1+exp(1)})
- \tkzLabelPoint[above right](tkzPointResult){$(1+\text{e}~;~2)$}
- \tkzText[draw,color = black,fill = brown!20](6,6)%
- {$f(x)=\dfrac{1}{\ln^2 (x-1)}+1$}
-\end{tikzpicture}
-\end{tkzexample}
-
-
-\endinput