summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/tkz/tkz-euclide/doc/latex/TKZdoc-euclide-config.tex
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/tkz/tkz-euclide/doc/latex/TKZdoc-euclide-config.tex')
-rw-r--r--macros/latex/contrib/tkz/tkz-euclide/doc/latex/TKZdoc-euclide-config.tex88
1 files changed, 40 insertions, 48 deletions
diff --git a/macros/latex/contrib/tkz/tkz-euclide/doc/latex/TKZdoc-euclide-config.tex b/macros/latex/contrib/tkz/tkz-euclide/doc/latex/TKZdoc-euclide-config.tex
index 7c5c13b33c..c4bdaa1a22 100644
--- a/macros/latex/contrib/tkz/tkz-euclide/doc/latex/TKZdoc-euclide-config.tex
+++ b/macros/latex/contrib/tkz/tkz-euclide/doc/latex/TKZdoc-euclide-config.tex
@@ -1,23 +1,23 @@
\section{Customization}
-\subsection{\tkzcname{tkzSetUpLine}} \label{tkzsetupline}
-It is a macro that allows you to define the style of all the lines.
+\subsection{Use of \tkzcname{tkzSetUpLine}} \label{tkzsetupline}
It is a macro that allows you to define the style of all the lines.
-\begin{NewMacroBox}{tkzSetUpLine}{\oarg{local options}}
-\begin{tabular}{lll}
+\begin{NewMacroBox}{tkzSetUpLine}{\oarg{local options}}%
+\begin{tabular}{lll}%
options & default & definition \\
\midrule
-\TOline{color}{black}{colour of the construction arcs}
-\TOline{line width}{0.4pt}{thickness of the construction arcs}
-\TOline{style}{solid}{style des arcs de cercle de construction}
-\TOline{add}{.2 and .2}{changing the length of a segment}
+\TOline{color}{black}{colour of the construction lines}
+\TOline{line width}{0.4pt}{thickness of the construction lines}
+\TOline{style}{solid}{style of construction lines}
+\TOline{add}{.2 and .2}{changing the length of a line segment}
\end{tabular}
\end{NewMacroBox}
-\subsubsection{Example 1 change line width}
+\subsubsection{Example 1: change line width}
\begin{tkzexample}[latex=8cm,small]
\begin{tikzpicture}
+ \tkzSetUpLine[color=blue,line width=1pt]
\begin{scope}[rotate=-90]
\tkzDefPoint(10,6){C}
\tkzDefPoint( 0,6){A}
@@ -29,7 +29,6 @@ options & default & definition \\
\tkzMarkRightAngle[size=.4,fill=red!20](B,H,C)
\tkzDrawSegment[color=red](C,H)
\end{scope}
- \tkzSetUpLine[color=blue,line width=1pt]
\tkzLabelSegment[below](C,B){$a$}
\tkzLabelSegment[right](A,C){$b$}
\tkzLabelSegment[left](A,B){$c$}
@@ -44,7 +43,7 @@ options & default & definition \\
-\subsubsection{Example 2 change style of line}
+\subsubsection{Example 2: change style of line}
\begin{tkzexample}[latex=7cm,small]
\begin{tikzpicture}[scale=.6]
@@ -52,17 +51,17 @@ options & default & definition \\
\tkzDefPoint(1,1){C} \tkzDefPoint(5,1){D}
\tkzDefPoint(1,2){E} \tkzDefPoint(6,2){F}
\tkzDefPoint(0,4){A'}\tkzDefPoint(3,4){B'}
- \tkzDrawSegments(A,B C,D E,F)
- \tkzDrawLine(A',B')
+ \tkzCalcLength[cm](C,D) \tkzGetLength{rCD}
+ \tkzCalcLength[cm](E,F) \tkzGetLength{rEF}
+ \tkzInterCC[R](A',\rCD cm)(B',\rEF cm)
+ \tkzGetPoints{I}{J}
\tkzSetUpLine[style=dashed,color=gray]
+ \tkzDrawLine(A',B')
\tkzCompass(A',B')
- \tkzCalcLength[cm](C,D) \tkzGetLength{rCD}
+ \tkzDrawSegments(A,B C,D E,F)
\tkzDrawCircle[R](A',\rCD cm)
- \tkzCalcLength[cm](E,F) \tkzGetLength{rEF}
\tkzDrawCircle[R](B',\rEF cm)
- \tkzInterCC[R](A',\rCD cm)(B',\rEF cm)
- \tkzGetPoints{I}{J}
- \tkzSetUpLine[color=red] \tkzDrawLine(A',B')
+ \tkzSetUpLine[color=red]
\tkzDrawSegments(A',I B',I)
\tkzDrawPoints(A,B,C,D,E,F,A',B',I,J)
\tkzLabelPoints(A,B,C,D,E,F,A',B',I,J)
@@ -70,7 +69,7 @@ options & default & definition \\
\end{tkzexample}
-\subsubsection{Example 3 extend lines}
+\subsubsection{Example 3: extend lines}
\begin{tkzexample}[latex=7cm,small]
\begin{tikzpicture}
\tkzSetUpLine[add=.5 and .5]
@@ -80,21 +79,19 @@ options & default & definition \\
\end{tkzexample}
-\subsection{\tkzcname{tkzSetUpPoint}}
+\subsection{Points style}
+\begin{NewMacroBox}{tkzSetUpPoint}{\oarg{local options}}%
+\begin{tabular}{lll}%
+options & default & definition \\
+\midrule
+\TOline{color}{black}{point color}
+\TOline{size}{3pt}{point size}
+\TOline{fill}{black!50}{inside point color}
+\TOline{shape}{circle}{point shape circle or cross}
+\end{tabular}
+\end{NewMacroBox}
-
- \begin{NewMacroBox}{tkzSetUpCompass}{\oarg{local options}}
- \begin{tabular}{lll}
- options & default & definition \\
- \midrule
- \TOline{color}{black}{ point color}
- \TOline{size}{3pt}{point size}
- \TOline{fill}{black!50}{Inside point color}
- \TOline{shape}{circle}{point shape circle or cross}
- \end{tabular}
- \end{NewMacroBox}
-
-\subsubsection{use of\tkzcname{tkzSetUpPoint}}
+\subsubsection{Use of \tkzcname{tkzSetUpPoint}}
\begin{tkzexample}[latex=8cm,small]
\begin{tikzpicture}
\tkzSetUpPoint[shape = cross out,color=blue]
@@ -106,7 +103,7 @@ options & default & definition \\
\end{tikzpicture}
\end{tkzexample}
-\subsubsection{use of\tkzcname{tkzSetUpPoint} inside a group}
+\subsubsection{Use of \tkzcname{tkzSetUpPoint} inside a group}
\begin{tkzexample}[latex=8cm,small]
\begin{tikzpicture}
\tkzInit[ymin=-0.5,ymax=3,xmin=-0.5,xmax=7]
@@ -128,10 +125,10 @@ options & default & definition \\
-\subsection{\tkzcname{tkzSetUpCompass}}
+\subsection{Use of \tkzcname{tkzSetUpCompass}}
-\begin{NewMacroBox}{tkzSetUpCompass}{\oarg{local options}}
-\begin{tabular}{lll}
+\begin{NewMacroBox}{tkzSetUpCompass}{\oarg{local options}}%
+\begin{tabular}{lll}%
options & default & definition \\
\midrule
\TOline{color}{black}{color of construction arcs}
@@ -140,9 +137,7 @@ options & default & definition \\
\end{tabular}
\end{NewMacroBox}
-\subsubsection{use of\tkzcname{tkzSetUpCompass} with bisector}
-
-
+\subsubsection{Use of \tkzcname{tkzSetUpCompass} with bisector}
\begin{tkzexample}[latex=7cm,small]
\begin{tikzpicture}[scale=0.75]
\tkzDefPoints{0/1/A, 8/3/B, 3/6/C}
@@ -154,14 +149,13 @@ options & default & definition \\
\tkzShowLine[bisector,size=2,gap=3](A,C,B)
\tkzShowLine[bisector,size=2,gap=3](B,A,C)
\tkzShowLine[bisector,size=1,gap=2](C,B,A)
- \tkzDrawLines[add=0 and 0 ](B,b C,c)
- \tkzDrawLine[add=0 and -.4 ](A,a)
+ \tkzDrawLines[add=0 and 0 ](B,b)
+ \tkzDrawLines[add=0 and -.4 ](A,a C,c)
\tkzLabelPoints(A,B) \tkzLabelPoints[above](C)
\end{tikzpicture}
\end{tkzexample}
\subsubsection{Another example of of\tkzcname{tkzSetUpCompass}}
-
\begin{tkzexample}[latex=7cm,small]
\begin{tikzpicture}[scale=1,rotate=90]
\tkzDefPoints{0/1/A, 8/3/B, 3/6/C}
@@ -180,18 +174,16 @@ options & default & definition \\
\tkzDrawLines[add=0 and 0,color=red](B,b)
\tkzShowLine[bisector,size=2,gap=3](B,A,C)
\tkzShowLine[bisector,size=1,gap=3](C,B,A)
- \tkzLabelPoints(A,B,C)
+ \tkzLabelPoints(A,B)\tkzLabelPoints[left](C)
\end{tikzpicture}
\end{tkzexample}
\subsection{Own style}
You can set the normal style with |tkzSetUpPoint| and your own style
-\begin{tkzexample}[vbox,small]
+\begin{tkzexample}[latex=2cm,small]
\tkzSetUpPoint[color=blue!50!white, fill=gray!20!red!50!white]
-\tikzset{/tikz/mystyle/.style={
- color=blue!20!black,
- fill=blue!20}}
+\tikzset{/tikz/mystyle/.style={color=blue!20!black,fill=blue!20}}
\begin{tikzpicture}
\tkzDefPoint(0,0){O}
\tkzDefPoint(0,1){A}