summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/tkz-base/latex/TKZdoc-base-divers.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-02-06 20:45:02 +0000
committerKarl Berry <karl@freefriends.org>2020-02-06 20:45:02 +0000
commitaf1d24be8bad221544f5bec7af3deafd1cbfe494 (patch)
tree2b268bf4825cafeb7432ac8d383e37ebbe5f6409 /Master/texmf-dist/doc/latex/tkz-base/latex/TKZdoc-base-divers.tex
parent61692d2325979f9ab8c544ab5ad1d42fd755df70 (diff)
tkz-base (6feb20)
git-svn-id: svn://tug.org/texlive/trunk@53695 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/tkz-base/latex/TKZdoc-base-divers.tex')
-rw-r--r--Master/texmf-dist/doc/latex/tkz-base/latex/TKZdoc-base-divers.tex240
1 files changed, 240 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/tkz-base/latex/TKZdoc-base-divers.tex b/Master/texmf-dist/doc/latex/tkz-base/latex/TKZdoc-base-divers.tex
new file mode 100644
index 00000000000..f6de017439a
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/tkz-base/latex/TKZdoc-base-divers.tex
@@ -0,0 +1,240 @@
+\section{Droites parallèles aux axes}
+
+\subsection{ Tracer une ligne horizontale avec \tkzcname{tkzHLine}} \hypertarget{thl}{}
+\begin{NewMacroBox}{tkzHLine}{\oarg{local options}\marg{decimal number}}
+\tkzHandBomb La syntaxe est celle de \tkzname{xfp}!
+
+\begin{tabular}{lll}
+ \toprule
+arguments & exemple & définition \\
+\midrule
+\TAline{decimal number}{\tkzcname{tkzHLine\{1\}}}{Trace la droite $y=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}
+
+\subsubsection{Ligne horizontale }
+
+\begin{tkzexample}[latex=7cm,small]
+\begin{tikzpicture}[scale=2]
+ \tkzInit[xmax=3,ymax=1.5]
+ \tkzAxeXY
+ \tkzHLine[color = blue,
+ style = dashed,
+ line width = 2pt]{1}
+\end{tikzpicture}
+\end{tkzexample}
+
+
+
+\subsubsection{Ligne horizontale et valeur calculée par \tkzname{xfp} }
+\begin{tkzexample}[latex=7cm,small]
+\begin{tikzpicture}
+ \tkzInit[xmin=-3,xmax=3,ymin=-2,ymax=1.5]
+ \foreach\v in {-1,1}
+ {\tkzHLine[color=red]{\v*pi/2}}
+ \tkzDrawY
+ \tkzAxeX[trig=2]
+ \tkzLabelY
+\end{tikzpicture}
+\end{tkzexample}
+
+\subsection{Lignes horizontales avec \tkzcname{tkzHLines} }
+\hypertarget{thls}{}
+\begin{NewMacroBox}{tkzHLines}{\oarg{local options}\marg{list of values}}
+\tkzHandBomb La syntaxe est celle de \tkzname{xfp} !
+
+\begin{tabular}{lll}
+ \toprule
+arguments & exemple & définition \\
+\midrule
+\TAline{list of values}{\tkzcname{tkzHLines\{1,4\}}}{Trace les droites $x=1$ et $x=4$}
+\bottomrule
+\end{tabular}
+\end{NewMacroBox}
+
+\subsubsection{Lignes horizontales}
+
+
+\begin{tkzexample}[latex=7cm,small]
+\begin{tikzpicture}
+ \tkzInit[xmax=5,ymax=4]
+ \tkzAxeXY
+ \tkzHLines[color = magenta]{1,...,3}
+\end{tikzpicture}
+\end{tkzexample}
+
+
+\subsection{ Tracer une ligne verticale avec \tkzcname{tkzVLine}} \hypertarget{tvl}{}
+\begin{NewMacroBox}{tkzVLine}{\oarg{local options}\marg{decimal number}}
+\tkzHandBomb La syntaxe est celle de \tkzname{xfp} !
+\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}
+
+
+\subsubsection{Ligne verticale }
+
+\begin{tkzexample}[latex=8cm,small]
+\begin{tikzpicture}[scale=2]
+ \tkzInit[xmax=3,ymax=1]
+ \tkzAxeXY
+ \tkzVLine[color = blue,
+ style = dashed,
+ line width = 2pt]{1/3}
+\end{tikzpicture}
+\end{tkzexample}
+
+\subsubsection{Ligne verticale et valeur calculée par \tkzname{xfp} }
+\begin{tkzexample}[latex=8cm,small]
+\begin{tikzpicture}
+ \tkzInit[xmax=7,ymin=-1,ymax=1]
+ \foreach\v in {1,2}
+ {\tkzVLine[color=red]{\v*pi}}
+ \tkzDrawY
+ \tkzAxeX[trig=2]
+ \tkzLabelY
+\end{tikzpicture}
+\end{tkzexample}
+
+
+\subsection{Lignes verticales avec \tkzcname{tkzVLines} }
+\hypertarget{tvls}{}
+\begin{NewMacroBox}{tkzVLines}{\oarg{local options}\marg{list of values}}
+\tkzHandBomb La syntaxe est celle de \tkzname{xfp} !
+
+\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}
+
+\subsubsection{Lignes verticales}
+
+\begin{tkzexample}[latex=7cm,small]
+\begin{tikzpicture}
+ \tkzInit[xmax=5,ymax=2]
+ \tkzAxeXY
+ \tkzVLines[color = green]{1,2,...,4}
+\end{tikzpicture}
+\end{tkzexample}
+
+\newpage
+\section{Ticks sur les axes}
+%<–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––>
+\subsection{ Tracer des ticks sur l'axe des abscisses \tkzcname{tkzHTick}} \hypertarget{tht}{}
+\begin{NewMacroBox}{tkzHTick}{\oarg{local options}\marg{decimal number}}
+
+
+\begin{tabular}{lll}
+ \toprule
+arguments & exemple & définition \\
+\midrule
+\TAline{decimal number}{\tkzcname{tkzHTick\{1\}}}{l'abscisse du tick est 1}
+\bottomrule
+\end{tabular}
+
+\medskip
+\begin{tabular}{lll}
+\toprule
+options & défaut & définition \\
+\midrule
+\TOline{mark }{* }{ disque plein}
+\TOline{mark size}{3 pt }{taille du symbole}
+\TOline{mark options}{ vide}{permet d'utiliser color par exemple}
+\bottomrule
+\end{tabular}
+
+{voir les options de \TIKZ}
+\end{NewMacroBox}
+
+\subsubsection{exemple}
+
+\begin{tkzexample}[latex=7cm,small]
+\begin{tikzpicture}
+ \tkzInit[xmax=6]
+ \tkzDrawX
+ \tkzHTick[mark=ball,mark size=3pt]{pi/2}
+ \tkzHTick[mark=*,
+ mark options={color=purple}]{2*exp(1)}
+\end{tikzpicture}
+\end{tkzexample}
+
+\subsection{ Tracer des ticks sur l'axe des ordonnées \tkzcname{tkzHTicks}} \hypertarget{thts}{}
+\begin{NewMacroBox}{tkzHTicks}{\oarg{local options}\marg{list of numbers}}
+
+\begin{tabular}{lll}
+ \toprule
+arguments & exemple & définition \\
+\midrule
+\TAline{decimal number}{\tkzcname{tkzHTicks\{1\}}}{l'abscisse du tick est 1}
+\bottomrule
+\end{tabular}
+
+{voir les options de \TIKZ.}
+\end{NewMacroBox}
+
+\subsection{ Tracer des ticks sur l'axe des abscisses \tkzcname{tkzVTick}} \hypertarget{tvt}{}
+\begin{NewMacroBox}{tkzVTick}{\oarg{local options}\marg{decimal number}}
+
+\begin{tabular}{lll}
+ \toprule
+arguments & exemple & définition \\
+\midrule
+\TAline{decimal number}{\tkzcname{tkzVTick\{1\}}}{l'abscisse du tick est 1}
+\bottomrule
+\end{tabular}
+
+{voir les options de \TIKZ.}
+
+\end{NewMacroBox}
+
+\subsection{ Tracer des ticks sur l'axe des abscisses \tkzcname{tkzVTicks}} \hypertarget{tvts}{}
+\begin{NewMacroBox}{tkzVTicks}{\oarg{local options}\marg{decimal number}}
+
+\begin{tabular}{lll}
+ \toprule
+arguments & exemple & définition \\
+\midrule
+\TAline{decimal number}{\tkzcname{tkzVTicks\{1,3\}}}{les ordonnées des ticks sont 1 et 3}
+\bottomrule
+\end{tabular}
+
+{voir les options de \TIKZ.}
+\end{NewMacroBox}
+
+ \endinput \ No newline at end of file