summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/tkz/tkz-base/doc
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2022-01-05 03:00:57 +0000
committerNorbert Preining <norbert@preining.info>2022-01-05 03:00:57 +0000
commitc03c0d515f1bfbd111d40e78805db4696e080fb8 (patch)
tree4d72d1df66079b3937776da41a78d71189719dad /macros/latex/contrib/tkz/tkz-base/doc
parent1903b598f8dda613f5c584bb18ccfd2fd8c278bb (diff)
CTAN sync 202201050300
Diffstat (limited to 'macros/latex/contrib/tkz/tkz-base/doc')
-rw-r--r--macros/latex/contrib/tkz/tkz-base/doc/TKZdoc-base.pdfbin357692 -> 0 bytes
-rw-r--r--macros/latex/contrib/tkz/tkz-base/doc/latex/TKZdoc-base-BB.tex289
-rw-r--r--macros/latex/contrib/tkz/tkz-base/doc/latex/TKZdoc-base-axes.tex22
-rw-r--r--macros/latex/contrib/tkz/tkz-base/doc/latex/TKZdoc-base-compilation.tex6
-rw-r--r--macros/latex/contrib/tkz/tkz-base/doc/latex/TKZdoc-base-divers.tex12
-rw-r--r--macros/latex/contrib/tkz/tkz-base/doc/latex/TKZdoc-base-example.tex26
-rw-r--r--macros/latex/contrib/tkz/tkz-base/doc/latex/TKZdoc-base-grid.tex6
-rw-r--r--macros/latex/contrib/tkz/tkz-base/doc/latex/TKZdoc-base-initialisation.tex2
-rw-r--r--macros/latex/contrib/tkz/tkz-base/doc/latex/TKZdoc-base-installation.tex41
-rw-r--r--macros/latex/contrib/tkz/tkz-base/doc/latex/TKZdoc-base-main.tex100
-rw-r--r--macros/latex/contrib/tkz/tkz-base/doc/latex/TKZdoc-base-marks.tex2
-rw-r--r--macros/latex/contrib/tkz/tkz-base/doc/latex/TKZdoc-base-news.tex10
-rw-r--r--macros/latex/contrib/tkz/tkz-base/doc/latex/TKZdoc-base-point.tex8
-rw-r--r--macros/latex/contrib/tkz/tkz-base/doc/tkz-base.pdfbin0 -> 343252 bytes
14 files changed, 203 insertions, 321 deletions
diff --git a/macros/latex/contrib/tkz/tkz-base/doc/TKZdoc-base.pdf b/macros/latex/contrib/tkz/tkz-base/doc/TKZdoc-base.pdf
deleted file mode 100644
index dfaf3b8d39..0000000000
--- a/macros/latex/contrib/tkz/tkz-base/doc/TKZdoc-base.pdf
+++ /dev/null
Binary files differ
diff --git a/macros/latex/contrib/tkz/tkz-base/doc/latex/TKZdoc-base-BB.tex b/macros/latex/contrib/tkz/tkz-base/doc/latex/TKZdoc-base-BB.tex
index 15a00e38c8..22d943726e 100644
--- a/macros/latex/contrib/tkz/tkz-base/doc/latex/TKZdoc-base-BB.tex
+++ b/macros/latex/contrib/tkz/tkz-base/doc/latex/TKZdoc-base-BB.tex
@@ -1,9 +1,99 @@
-\section{Bounding box management}
+\section{Controlling Bounding Box}
+From the \tkzimp{PgfManual} :"When you add the clip option, the current path is used for clipping subsequent drawings. Clipping never enlarges the clipping area. Thus, when you clip against a certain path and then clip again against another path, you clip against the intersection of both.
+The only way to enlarge the clipping path is to end the {pgfscope} in which the clipping was done. At the end of a {pgfscope} the clipping path that was in force at the beginning of the scope is reinstalled."
+
+
+First of all, you don't have to deal with \TIKZ\ the size of the bounding box. Early versions of \tkzNamePack{tkz-euclide} did not control the size of the bounding box, now with \tkzNamePack{\tkznameofpack} 4 the size of the bounding box is limited.
+
The initial bounding box after using the macro \tkzcname{tkzInit} is defined by the rectangle based on the points $(0,0)$ and $(10,10)$. The \tkzcname{tkzInit} macro allows this initial bounding box to be modified using the arguments (\tkzname{xmin}, \tkzname{xmax}, \tkzname{ymin}, and \tkzname{ymax}). Of course any external trace modifies the bounding box. \TIKZ\ maintains that bounding box. It is possible to influence this behavior either directly with commands or options in \TIKZ\ such as a command like \tkzcname{useasboundingbox} or the option \tkzname{use as bounding box}. A possible consequence is to reserve a box for a figure but the figure may overflow the box and spread over the main text.
The following command \tkzcname{pgfresetboundingbox} clears a bounding box and establishes a new one.
-%Enfin Il est parfois utile de contenir une figure dans une b
-%current bounding box or current path bounding box remember picture et overlay
+\subsection{Utility of \tkzcname{tkzInit}}
+ However, it is sometimes necessary to control the size of what will be displayed.
+ To do this, you need to have prepared the bounding box you are going to work in, this is the role of the macro \tkzNameMacro{tkzInit}. For some drawings, it is interesting to fix the extreme values (xmin,xmax,ymin and ymax) and to "clip" the definition rectangle in order to control the size of the figure as well as possible.
+
+The two macros that are useful for controlling the bounding box:
+\begin{itemize}
+ \item \tkzcname{tkzInit}
+ \item \tkzcname{tkzClip}
+\end{itemize}
+\vspace{20pt}
+
+To this, I added macros directly linked to the bounding box. You can now view it, backup it, restore it (see the section Bounding Box).
+
+\subsection{\tkzcname{tkzInit}}
+
+\begin{NewMacroBox}{tkzInit}{\oarg{local options}}\hypertarget{init}{}%
+\begin{tabular}{lll}%
+options & default & definition \\
+\midrule
+\TOline{xmin} {0} {minimum value of the abscissae in cm}
+\TOline{xmax} {10} {maximum value of the abscissae in cm}
+\TOline{xstep}{1} {difference between two graduations in $x$}
+\TOline{ymin} {0} {minimum y-axis value in cm }
+\TOline{ymax} {10} {maximum y-axis value in cm}
+\TOline{ystep}{1} {difference between two graduations in $y$}
+\bottomrule
+\end{tabular}
+
+\medskip
+
+The role of \tkzcname{tkzInit} is to define a \textcolor{red}{orthogonal} coordinates system and a rectangular part of the plane in which you will place your drawings using Cartesian coordinates.
+This macro allows you to define your working environment as with a calculator. With \tkzname{\tkznameofpack} 4 \tkzcname{xstep} and \tkzcname{ystep} are always 1. Logically it is no longer useful to use \tkzcname{tkzInit}, except for an action like "Clipping Out".
+\end{NewMacroBox}
+
+
+\subsection{\tkzcname{tkzClip}}
+
+\subsection{tkzClip}
+\begin{NewMacroBox}{tkzClip}{\oarg{local options}}
+The role of this macro is to make invisible what is outside the rectangle defined by (xmin~;~ymin) and (xmax~;~ymax).
+
+\medskip
+\begin{tabular}{lll}
+\hline
+options & default & definition \\
+\midrule
+\TOline{space} {1} {added value on the right, left, bottom and top of the background}
+\bottomrule
+\end{tabular}
+
+\medskip
+
+The role of the \tkzname{space} option is to enlarge the visible part of the drawing. This part becomes the rectangle defined by (xmin-space~;~ymin-space) and (xmax+space~;~ymax+space). \tkzname{space} can be negative! The unit is cm and should not be specified.
+\end{NewMacroBox}
+
+The role of this macro is to "clip" the initial rectangle so that only the paths contained in this rectangle are drawn.
+
+\begin{tkzexample}[latex=8cm,small]
+\begin{tikzpicture}
+ \tkzInit[xmax=4, ymax=3]
+ \tkzDefPoints{-1/-1/A,5/2/B}
+ \tkzDrawX \tkzDrawY
+ \tkzGrid
+ \tkzClip
+ \tkzDrawSegment(A,B)
+\end{tikzpicture}
+\end{tkzexample}
+
+It is possible to add a bit of space
+\begin{tkzltxexample}[]
+ \tkzClip[space=1]
+\end{tkzltxexample}
+
+\subsection{\tkzcname{tkzClip} and the option \tkzname{space}}
+This option allows you to add some space around the "clipped" rectangle.
+\begin{tkzexample}[latex=8cm,small]
+\begin{tikzpicture}
+ \tkzInit[xmax=4, ymax=3]
+ \tkzDefPoints{-1/-1/A,5/2/B}
+ \tkzDrawX \tkzDrawY
+ \tkzGrid
+ \tkzClip[space=1]
+ \tkzDrawSegment(A,B)
+\end{tikzpicture}
+\end{tkzexample}
+The dimensions of the "clipped" rectangle are \tkzname{xmin-1}, \tkzname{ymin-1}, \tkzname{xmax+1} and \tkzname{ymax+1}.
%<--------------------------------------------------------------------------->
% tkzShowBB
@@ -14,7 +104,6 @@ The simplest macro.
This macro displays the bounding box. A rectangular frame surrounds the bounding box. This macro accepts \TIKZ\ options.
\end{NewMacroBox}
-
\subsubsection{Example with \tkzcname{tkzShowBB}}
\begin{tkzexample}[latex=8cm,small]
\begin{tikzpicture}[scale=.5]
@@ -23,10 +112,10 @@ This macro displays the bounding box. A rectangular frame surrounds the bounding
\tkzDefPoint(3,0){A}
\begin{scope}
\tkzClipBB
- \tkzDrawCircle[R](A,5 cm)
- \tkzShowBB
+ \tkzDrawCircle[R](A,5)
+ \tkzShowBB[line width = 4pt,fill=teal!10,opacity=.4]
\end{scope}
-\tkzDrawCircle[R,red](A,4 cm)
+\tkzDrawCircle[R,red](A,4)
\end{tikzpicture}
\end{tkzexample}
%<--------------------------------------------------------------------------->
@@ -35,7 +124,7 @@ This macro displays the bounding box. A rectangular frame surrounds the bounding
\subsection{tkzClipBB}
\begin{NewMacroBox}{tkzClipBB}{}%
The idea is to limit future constructions to the current bounding box.
-\end{NewMacroBox}
+\end{NewMacroBox}
\subsubsection{Example with \tkzcname{tkzClipBB} and the bisectors}
@@ -46,7 +135,7 @@ The idea is to limit future constructions to the current bounding box.
\tkzDefPoint(1,4){J}
\tkzDefLine[bisector](I,O,J) \tkzGetPoint{i}
\tkzDefLine[bisector out](I,O,J) \tkzGetPoint{j}
- \tkzDrawPoints(O,I,J,i,j)
+ \tkzDrawPoints(O,I,J,i,j)
\tkzClipBB
\tkzDrawLines[add = 1 and 2,color=red](O,I O,J)
\tkzDrawLines[add = 1 and 2,color=blue](O,i O,j)
@@ -54,186 +143,4 @@ The idea is to limit future constructions to the current bounding box.
\end{tikzpicture}
\end{tkzexample}
-
-%<--------------------------------------------------------------------------->
-% tkzSetBB
-%<--------------------------------------------------------------------------->
-\subsection{tkzSetBB}
-\begin{NewMacroBox}{tkzSetBB}{\parg{$x_A~;~y_A$} \parg{$x_B~;~y_B$} or {\parg{$A$} \parg{$B$}}}%
-This macro defines the rectangle with coordinates $(x_A~;~y_A$) and $(x_B~;~y_B)$ as the new bounding box.
-\end{NewMacroBox}
-
-\subsubsection{Example with \tkzcname{tkzShowBB}}
-\begin{tkzexample}[latex=8cm,small]
-above\\
-left
-\begin{tikzpicture}
- \tkzDefPoint(0,0){A}
- \tkzDefPoint(3,3){B}
- \tkzDefPoint(1,1){C}
- \tkzSetBB(A)(2,2)
- \tkzDrawSegment(A,B)
- \tkzDrawPoints(A,C)
- \tkzShowBB
-\end{tikzpicture}right
-\end{tkzexample}
-%<--------------------------------------------------------------------------->
-% tkzSaveBB
-%<--------------------------------------------------------------------------->
-\subsection{tkzSaveBB}{}
-\begin{NewMacroBox}{tkzSaveBB}{}%
-This macro saves the bounding box, i.e. it stores the coordinates of two points that define a rectangle.
-\end{NewMacroBox}
-
-\begin{tkzexample}[latex=7cm,small]
-A figure above the text.
-\begin{tikzpicture}
- \begin{scope}
- \tkzSetBB(0,0)(6,2) \tkzShowBB[fill=blue!20]
- \tkzSaveBB
- \end{scope}
- \tkzDefPoint(3,3){A}\tkzShowBB
- \tkzDrawCircle[R,fill=yellow,opacity=.2](A,2cm)
- \tkzRestoreBB
-\end{tikzpicture}
-\end{tkzexample}
-
-
-
-
-%<--------------------------------------------------------------------------->
-% tkzRestoreBB
-%<--------------------------------------------------------------------------->
-\subsection{tkzRestoreBB}
-\begin{NewMacroBox}{tkzRestoreBB}{}
-This macro retrieves the bounding box backup. As you can see, the figure overflows the box. The bounding box has been reduced.
-\end{NewMacroBox}
-\subsubsection{Example of the use of \tkzcname{tkzRestoreBB}}
-\begin{tkzexample}[latex=8cm,small]
- \vspace{ 2cm}
-Start\\
-\begin{tikzpicture}
- \tkzDefPoint(-2,-2){A}
- \tkzDefPoint(2,1){B}
- \tkzDefPoint(0,0){O}
- \tkzSaveBB
- \tkzShowBB[red,line width=1pt]
- \tkzRestoreBB
- \tkzDrawCircle(O,B)
- \tkzClipBB
- \tkzFillCircle[gray!20](O,B)
-\end{tikzpicture}
-End
-\end{tkzexample}
-
-
-%<--------------------------------------------------------------------------->
-% tkzClip
-%<--------------------------------------------------------------------------->
-\subsection{tkzClip}
-\begin{NewMacroBox}{tkzClip}{\oarg{local options}}
-The role of this macro is to make invisible what is outside the rectangle defined by (xmin~;~ymin) and (xmax~;~ymax).
-
-\medskip
-\begin{tabular}{lll}
-\hline
-options & default & definition \\
-\midrule
-\TOline{space} {1} {added value on the right, left, bottom and top of the background}
-\bottomrule
-\end{tabular}
-
-\medskip
-
-The role of the \tkzname{space} option is to enlarge the visible part of the drawing. This part becomes the rectangle defined by (xmin-space~;~ymin-space) and (xmax+space~;~ymax+space). \tkzname{space} can be negative! The unit is cm and should not be specified.
-\end{NewMacroBox}
-
-\subsubsection{First example with \tkzcname{tkzClip}} \hypertarget{clip}{}
-
-\begin{tkzexample}[latex=8cm,small]
-\begin{tikzpicture}
- \tkzInit[xmax=3, ymax=3]
- \tkzGrid
- \tkzAxeXY
- \draw[red] (-1,-1)--(5,5);
-\end{tikzpicture}
-\end{tkzexample}
-
-\subsubsection{Second example with \tkzcname{tkzClip}}
-\begin{tkzexample}[latex=8cm,small]
-\begin{tikzpicture}
- \tkzInit[xmax=3, ymax=3]
- \tkzGrid
- \tkzAxeXY
- \tkzClip
- \draw[red] (-1,-1)--(5,5);
-\end{tikzpicture}
-\end{tkzexample}
-%<--------------------------------------------------------------------------->
-It is possible to add a bit of space \tkzcname{tkzClip[space]}.
-
-\subsubsection{\tkzcname{tkzClip} and l'option \tkzname{space}}
-The dimensions to define the clipped rectangle are \tkzname{xmin-1}, \tkzname{ymin-1}, \tkzname{xmax+1} and \tkzname{ymax+1}.
-
-\begin{tkzexample}[latex=8cm,small]
-\begin{tikzpicture}
- \tkzInit[xmax=3, ymax=3]
- \tkzGrid \tkzAxeXY
- \tkzClip[space=-0.5]
- \draw[red] (-0.5,-0.5)--(3.5,3.5);
-\end{tikzpicture}
-\end{tkzexample}
-
-\subsection{Reverse clip: tkzreverseclip}
-The next example uses
-
-\begin{tkzltxexample}[]
- \def\tkzClipOutPolygon(#1,#2){\clip[tkzreserveclip] (#1)
- \foreach \pt in {#2}{--(\pt)}--cycle;
- }
- \tikzset{tkzreverseclip/.style={insert path={%
- (\tkz@xa,\tkz@ya) rectangle (\tkz@xb,\tkz@yb)}}}
- \end{tkzltxexample}
-
-\subsubsection{Example with \tkzcname{tkzClipOutPolygon}}
-\begin{tkzexample}[latex=7cm,small]
-\begin{tikzpicture}[scale=.5]
- \tkzInit[xmin=-5,xmax=5,ymin=-5,ymax=5]
- \pgfinterruptboundingbox
- \tkzDefPoints{-.5/0/P1,.5/0/P2}
- \foreach \i [count=\j from 3] in {2,...,7}{%
- \tkzDefShiftPoint[P\i]({45*(\i-1)}:1 cm){P\j}
- }
- \endpgfinterruptboundingbox
- \tkzClipOutPolygon(P1,P2,P3,P4,P5,P6,P7,P8)
- \tkzCalcLength[cm](P1,P5)\tkzGetLength{r}
- \begin{scope}[blend group=screen]
- \foreach \i in {1,...,8}{%
- \pgfmathparse{100-5*\i}
- \tkzFillCircle[R,color=blue!%
- \pgfmathresult](P\i,\r)
- }
- \end{scope}
-\end{tikzpicture}
-\end{tkzexample}
-
-
-\subsection{Options from \TIKZ: trim left or right}
-See the \tkzimp{pgfmanual}
-
-\subsection{\TIKZ\ Controls \tkzcname{pgfinterruptboundingbox} and \tkzcname{endpgfinterruptboundingbox}}
-This command temporarily interrupts the calculation of the box and configures a new box.
-
-\begin{tkzexample}[latex=8cm,small]
-\begin{tikzpicture}
-\tkzDefPoint(0,5){A}\tkzDefPoint(5,4){B}
-\tkzDefPoint(0,0){C}\tkzDefPoint(5,1){D}
-\pgfinterruptboundingbox
- \tkzInterLL(A,B)(C,D)\tkzGetPoint{I}
-\endpgfinterruptboundingbox
-\tkzClipBB
- \tkzDrawCircle(I,B)
-\tkzDrawSegments(A,B C,D A,C)
-\end{tikzpicture}
-\end{tkzexample}
\endinput \ No newline at end of file
diff --git a/macros/latex/contrib/tkz/tkz-base/doc/latex/TKZdoc-base-axes.tex b/macros/latex/contrib/tkz/tkz-base/doc/latex/TKZdoc-base-axes.tex
index 57ff5132d7..f7e9dd1363 100644
--- a/macros/latex/contrib/tkz/tkz-base/doc/latex/TKZdoc-base-axes.tex
+++ b/macros/latex/contrib/tkz/tkz-base/doc/latex/TKZdoc-base-axes.tex
@@ -5,7 +5,7 @@ Fractions can be used for graduations.
%<--------------------------------------------------------------------->
% tkzDrawX
%<--------------------------------------------------------------------->
-\subsection{\tkzcname{tkzDrawX}} \hypertarget{dx}{}
+\subsection{\tkzcname{tkzDrawX}}
\begin{NewMacroBox}{tkzDrawX}{\oarg{local options}}%
This macro allows you to draw the abscissa axis with default ticks.
The options are those of \TIKZ\ plus the following ones:
@@ -82,7 +82,7 @@ It adds a little space after the last tick.
\end{tikzpicture}
\end{tkzexample}
- \subsubsection{Trigonometric axis with the option \tkzname{trig=$n$}}\hypertarget{newm}{}
+ \subsubsection{Trigonometric axis with the option \tkzname{trig=n}}
If $number=0$ then the axis is graduated from cm to cm, otherwise the axis is graduated using multiples of $\frac{\pi}{number}$.
\begin{tkzexample}[latex=6cm,small]
@@ -103,7 +103,7 @@ If $number=0$ then the axis is graduated from cm to cm, otherwise the axis is gr
%<--------------------------------------------------------------------->
% tkzLabelX
%<--------------------------------------------------------------------->
-\subsection{\tkzcname{tkzLabelX}}\hypertarget{lx}{}
+\subsection{\tkzcname{tkzLabelX}}
\begin{NewMacroBox}{tkzLabelX}{\oarg{local options}}%
This macro allows you to place graduations. The option \tkzname{orig} can be used again, but its behavior is reversed. By default, the original value is placed.
The options are those of \TIKZ, plus the following ones:
@@ -279,7 +279,7 @@ This prevents display problems.
%<--------------------------------------------------------------------->
% tkzAxeX
%<--------------------------------------------------------------------->
-\subsection{\tkzcname{tkzAxeX}}\hypertarget{ax}{}
+\subsection{\tkzcname{tkzAxeX}}
\begin{NewMacroBox}{tkzAxeX}{\oarg{local options}}%
This macro allows you to draw the abscissa axis with default ticks as well as the graduations. It combines the two macros \tkzcname{tkzDrawX} and \tkzcname{tkzLabelX}. It should only be used in simple cases.
@@ -333,7 +333,7 @@ In this example, we position the $t$ label as well as the graduations. \tkzcnam
%<--------------------------------------------------------------------->
% tkzDrawY
%<--------------------------------------------------------------------->
-\subsection{\tkzcname{tkzDrawY}} \hypertarget{dy}{}
+\subsection{\tkzcname{tkzDrawY}}
\begin{NewMacroBox}{tkzDrawY}{\oarg{local options}}%
This macro allows you to draw the ordinate axis with default ticks.
The options are those of \TIKZ\ plus the following ones:
@@ -355,7 +355,7 @@ options & default & definition \\
\end{tabular}
\end{NewMacroBox}
-\subsection{\tkzcname{tkzLabelY}} \hypertarget{ly}{}
+\subsection{\tkzcname{tkzLabelY}}
\begin{NewMacroBox}{tkzLabelY}{\oarg{local options}}%
This macro allows you to draw the abscissa axis with default ticks.
The options are those of \TIKZ\ plus the following ones:
@@ -378,7 +378,7 @@ options & default & definition \\
%<--------------------------------------------------------------------->
% tkzAxeY
%<--------------------------------------------------------------------->
-\subsection{\tkzcname{tkzAxeY}}\hypertarget{ay}{}
+\subsection{\tkzcname{tkzAxeY}}
\begin{NewMacroBox}{tkzAxeY}{\oarg{local options}}%
This macro combines the two macros:
\tkzcname{tkzDrawY} \tkzcname{tkzLabelY}
@@ -387,7 +387,7 @@ See \tkzcname{tkzAxeX} for options.
%<--------------------------------------------------------------------->
% tkzAxeXY
%<--------------------------------------------------------------------->
-\subsection{\tkzcname{tkzAxeXY}} \hypertarget{axy}{}
+\subsection{\tkzcname{tkzAxeXY}}
\begin{NewMacroBox}{tkzAxeXY}{\oarg{local options}}%
This macro combines the four macros:
\tkzcname{tkzDrawX}\tkzcname{tkzDrawY} \tkzcname{tkzLabelX}\tkzcname{tkzLabelY}
@@ -423,7 +423,7 @@ It is necessary to use common options as in the example below, but this means th
%<--------------------------------------------------------------------->
% tkzDrawXY
%<--------------------------------------------------------------------->
-\subsection{\tkzcname{tkzDrawXY}} \hypertarget{dxy}{}
+\subsection{\tkzcname{tkzDrawXY}}
\begin{NewMacroBox}{tkzDrawXY}{\oarg{local options}}%
This macro combines the two macros: \tkzcname{tkzDrawX}\tkzcname{tkzDrawY}.
It is necessary to use common options as in the example below.
@@ -447,7 +447,7 @@ It is necessary to use common options as in the example below.
%<--------------------------------------------------------------------->
% tkzLabelXY
%<--------------------------------------------------------------------->
-\subsection{\tkzcname{tkzLabelXY}} \hypertarget{lxy}{}
+\subsection{\tkzcname{tkzLabelXY}}
\begin{NewMacroBox}{tkzLabelXY}{\oarg{local options}}%
This macro combines the two macros:
@@ -468,7 +468,7 @@ It is necessary to use common options as in the example below.
%<--------------------------------------------------------------------->
% tkzSetUpAxis
%<--------------------------------------------------------------------->
-\subsection{Changing values by axis default} \hypertarget{axis}{}
+\subsection{Changing values by axis default}
\begin{NewMacroBox}{tkzSetUpAxis}{\oarg{local options}}%
\begin{tabular}{lll}%
diff --git a/macros/latex/contrib/tkz/tkz-base/doc/latex/TKZdoc-base-compilation.tex b/macros/latex/contrib/tkz/tkz-base/doc/latex/TKZdoc-base-compilation.tex
index b4fa699660..a9f6a9697a 100644
--- a/macros/latex/contrib/tkz/tkz-base/doc/latex/TKZdoc-base-compilation.tex
+++ b/macros/latex/contrib/tkz/tkz-base/doc/latex/TKZdoc-base-compilation.tex
@@ -30,17 +30,13 @@ The code below allows you to test your installation of \tkzname{tkz-base}. Pleas
\begin{enumerate}
\item The compilation of this document and examples is obtained with \tkzimp{lua\LATEX}.
-\item In principle, \tkzNamePack{tkz-base} is not loaded by the user, it will be loaded by another package like \tkzNamePack{tkz-euclide} or \tkzNamePack{tkz-fct}. \tkzNamePack{tkz-base} loads \tkzNamePack{numprint} with the option \tkzNamePack{autolanguage}, \tkzNamePack{xfp} and of course {\TIKZ}.
+\item \tkzNamePack{tkz-base} loads \tkzNamePack{numprint} with the option \tkzNamePack{autolanguage}, \tkzNamePack{xfp} and of course {\TIKZ}.
\item \TIKZ\ seems that version 3 of pgf has fixed those problems. In case of difficulty, it is recommended to load the \NameLib{babel} library with \tkzcname{usetikzlabry\{babel\}}. Another possibility is to compile with Lua\LATEX.
\end{enumerate}
-
\subsection {\tkzNamePack{xfp} and \tkzNamePack{numprint}}
-
\tkzNamePack{xfp} now replaces \tkzNamePack{fp} in this package. One of the advantages for the user is a simplified syntax. It allows to manage calculations on large or very small numbers with precision. This slows down the compilation a bit, so it is better not to overuse it. \tkzNamePack{xfp} is used above all, to obtain correct graduations.
-
\tkzNamePack{numprint} was present when I started to write this series of packages, since \tkzNamePack{siunitx} has grown and I can understand that some people prefer it. In a future version, I plan to leave the choice of the package for displaying numbers.
-
\endinput
diff --git a/macros/latex/contrib/tkz/tkz-base/doc/latex/TKZdoc-base-divers.tex b/macros/latex/contrib/tkz/tkz-base/doc/latex/TKZdoc-base-divers.tex
index 7d2922647b..ed0eba66b4 100644
--- a/macros/latex/contrib/tkz/tkz-base/doc/latex/TKZdoc-base-divers.tex
+++ b/macros/latex/contrib/tkz/tkz-base/doc/latex/TKZdoc-base-divers.tex
@@ -1,6 +1,6 @@
\section{Lines parallel to the axes}
-\subsection{ Draw a horizontal line with \tkzcname{tkzHLine}} \hypertarget{thl}{}
+\subsection{ Draw a horizontal line with \tkzcname{tkzHLine}}
\tkzHandBomb The syntax is that of \tkzname{xfp}!
\begin{NewMacroBox}{tkzHLine}{\oarg{local options}\marg{decimal number}}%
\begin{tabular}{lll}%
@@ -72,7 +72,7 @@ arguments & example & definition \\
\end{tkzexample}
-\subsection{ Draw a vertical line with \tkzcname{tkzVLine}} \hypertarget{tvl}{}
+\subsection{ Draw a vertical line with \tkzcname{tkzVLine}}
\tkzHandBomb The syntax is that of \tkzname{xfp}!
\begin{NewMacroBox}{tkzVLine}{\oarg{local options}\marg{decimal number}}%
\begin{tabular}{lll}%
@@ -146,7 +146,7 @@ arguments & example & definition \\
\section{Ticks on the axes}
%<–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––>
-\subsection{ Drawing one tick on the abscissa axis \tkzcname{tkzHTick}} \hypertarget{tht}{}
+\subsection{ Drawing one tick on the abscissa axis \tkzcname{tkzHTick}}
\begin{NewMacroBox}{tkzHTick}{\oarg{local options}\marg{decimal number}}%
\begin{tabular}{lll}%
arguments & example & definition \\
@@ -180,7 +180,7 @@ See options for \TIKZ.
\end{tikzpicture}
\end{tkzexample}
-\subsection{ Drawing ticks on the abscissa axis \tkzcname{tkzHTicks}} \hypertarget{thts}{}
+\subsection{ Drawing ticks on the abscissa axis \tkzcname{tkzHTicks}}
\begin{NewMacroBox}{tkzHTicks}{\oarg{local options}\marg{list of numbers}}%
\begin{tabular}{lll}
arguments & example & definition \\
@@ -192,7 +192,7 @@ arguments & example & definition \\
See options for \TIKZ.
\end{NewMacroBox}
-\subsection{ Drawing one tick on the ordinate axis \tkzcname{tkzVTick}} \hypertarget{tvt}{}
+\subsection{ Drawing one tick on the ordinate axis \tkzcname{tkzVTick}}
\begin{NewMacroBox}{tkzVTick}{\oarg{local options}\marg{decimal number}}%
\begin{tabular}{lll}%
arguments & example & definition \\
@@ -204,7 +204,7 @@ arguments & example & definition \\
See options for \TIKZ.
\end{NewMacroBox}
-\subsection{ Drawing ticks on the ordinate axis \tkzcname{tkzVTicks}} \hypertarget{tvts}{}
+\subsection{ Drawing ticks on the ordinate axis \tkzcname{tkzVTicks}}
\begin{NewMacroBox}{tkzVTicks}{\oarg{local options}\marg{decimal number}}%
\begin{tabular}{lll}
arguments & example & definition \\
diff --git a/macros/latex/contrib/tkz/tkz-base/doc/latex/TKZdoc-base-example.tex b/macros/latex/contrib/tkz/tkz-base/doc/latex/TKZdoc-base-example.tex
new file mode 100644
index 0000000000..a9faf42a9c
--- /dev/null
+++ b/macros/latex/contrib/tkz/tkz-base/doc/latex/TKZdoc-base-example.tex
@@ -0,0 +1,26 @@
+\section{Here are a few examples}
+
+Here is a very simple example that shows you that once the reference is defined, it is easy to work with the tools of my module. It is however possible to use the Tikz tools, but in this case you have to go back to the original coordinate system.
+
+\subsection{Recipe by month}
+
+\begin{tkzexample}[vbox,small]
+\begin{tikzpicture}
+ \tkzInit[xmax=12,ymin=1000,ymax=11000,ystep=1000]
+ \tkzClip[space=2]
+ \tkzAxeX[label=month,below=10pt]
+ \tkzAxeY[label=Recipe]
+ \tkzDefPoint(1,2000){A}
+ \tkzDefPoint(2,3000){B}
+ \tkzDefPoint(4,2500){C}
+ \tkzDefPoint(5,4200){D}
+ \tkzDrawSegments[color=brown!50](A,B B,C C,D)
+ \tkzDrawMarks[mark=ball](A,B,C,D)
+ \tkzText[draw,color = red,fill = red!10,text width=3cm](5,6000)%
+ {\begin{center}\color{blue}%
+ Recipe by month\end{center}%
+ }
+\end{tikzpicture}
+\end{tkzexample}
+
+\endinput
diff --git a/macros/latex/contrib/tkz/tkz-base/doc/latex/TKZdoc-base-grid.tex b/macros/latex/contrib/tkz/tkz-base/doc/latex/TKZdoc-base-grid.tex
index 7440e24474..018e7a19fe 100644
--- a/macros/latex/contrib/tkz/tkz-base/doc/latex/TKZdoc-base-grid.tex
+++ b/macros/latex/contrib/tkz/tkz-base/doc/latex/TKZdoc-base-grid.tex
@@ -21,7 +21,9 @@ options & default & definition \\
\end{tabular}
\medskip
-Default values can be changed in the configuration file or by macros. The color of the second grid is the same as the main grid, but less intense (by default |gray!50|). Same behavior for the line thickness (by default |0.75 of line width|). See the examples to change this behavior.
+Default values can be changed in the configuration file or by macros. The color of the second grid is the same as the main grid, but less intense (by default |gray!50|).
+
+Same behavior for the line thickness (by default |0.75 of line width|). See the examples to change this behavior.
\end{NewMacroBox}
\subsubsection{\tkzcname{tkzGrid} and the option \tkzname{sub}}
@@ -149,7 +151,7 @@ The grid can be any size.
\subsubsection{Use of a repetition grid}
\begin{tkzexample}[latex=8cm,small]
\begin{tikzpicture}[scale=.5]
- \tikzset{xaxe style/.style ={-}}
+ % \tikzset{xaxe style/.style ={-}}
\tkzInit[xmax=15,ymax=15]
\tkzClip
\tkzGrid[sub,color=orange]
diff --git a/macros/latex/contrib/tkz/tkz-base/doc/latex/TKZdoc-base-initialisation.tex b/macros/latex/contrib/tkz/tkz-base/doc/latex/TKZdoc-base-initialisation.tex
index 6973481795..ea850c27a4 100644
--- a/macros/latex/contrib/tkz/tkz-base/doc/latex/TKZdoc-base-initialisation.tex
+++ b/macros/latex/contrib/tkz/tkz-base/doc/latex/TKZdoc-base-initialisation.tex
@@ -48,7 +48,7 @@ The following code gives an error not because \numprint{6000000} is too large, b
With \tkzname{tkz-base}, it will be possible to work with any coordinates, but it will be necessary to use the macros of the package.
-\tkzNamePack{tkz-base} simplifies the use of different value ranges. This package is used by several of my packages such as \tkzname{tkz-tukey}, a package for drawing graphical representations in elementary statistics, \tkzNamePack{tkz-fct} which allows to draw graphical representations of functions using \tkzname{gnuplot}, as well as with \tkzname{tkz-euclide} for Euclidean geometry.
+\tkzNamePack{tkz-base} simplifies the use of different value ranges. This package is used by \tkzNamePack{tkz-fct} which allows to draw graphical representations of functions using \tkzname{gnuplot}.
First of all, you should know that it is not necessary to deal with \TIKZ\ with the size of the support (bounding box); however it is sometimes necessary, either to draw a grid, or to draw axes, or to work with a different unit than the centimeter, or finally to control the size of what will be displayed.
To do this, you must have prepared the frame in which you are going to work, this is the role of \tkzNamePack{tkz-base} and its main macro \tkzNameMacro{tkzInit}. For example, if you want to work on a 10 cm square, but such that the unit is the dm then you will have to use.
diff --git a/macros/latex/contrib/tkz/tkz-base/doc/latex/TKZdoc-base-installation.tex b/macros/latex/contrib/tkz/tkz-base/doc/latex/TKZdoc-base-installation.tex
index 9a773413ff..8954cd5e71 100644
--- a/macros/latex/contrib/tkz/tkz-base/doc/latex/TKZdoc-base-installation.tex
+++ b/macros/latex/contrib/tkz/tkz-base/doc/latex/TKZdoc-base-installation.tex
@@ -1,41 +1,12 @@
\section{Installation}
-\NamePack{tkz-base} is now on the server of the \tkzname{CTAN}\footnote{\NamePack{tkz-base} is part of \NameDist{TeXLive} and \tkzname{tlmgr} allows to install it, it is also part of \NameDist{MikTeX} under \NameSys{Windows}.}. If you want to test a beta version, just put the following files in a texmf folder that your system will be able to find.
+\tkzname{\tkznameofpack} is now on the server of the \tkzname{CTAN}\footnote{\tkzname{\tkznameofpack} is part of \NameDist{TeXLive} and \tkzname{tlmgr} allows you to install them. This package is also part of \NameDist{MiKTeX} under \NameSys{Windows}.}. If you want to test a beta version, just put the following files in a texmf folder that your system can find.
+You will have to check several points:
-\subsection{Files present}
-%–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––>
-Before testing the installation, you can verify that the \tkzname{tkzbase} folder contains the following files:
-
-\begin{itemize}
-\item \tkzname{tkz-base.cfg}
-\item \tkzname{tkz-base.sty}
-\item \tkzname{tkz-lib-marks.tex}
-\item \tkzname{tkz-obj-axes.tex}
-\item \tkzname{tkz-obj-grids.tex}
-\item \tkzname{tkz-obj-marks.tex}
-\item \tkzname{tkz-obj-points.tex}
-\item \tkzname{tkz-obj-rep.tex}
-\item \tkzname{tkz-tools-arith.tex}
-\item \tkzname{tkz-tools-base.tex}
-\item \tkzname{tkz-tools-BB.tex}
-\item \tkzname{tkz-tools-math.tex}
-\item \tkzname{tkz-tools-misc.tex}
-\item \tkzname{tkz-tools-modules.tex}
-\item \tkzname{tkz-tools-print.tex}
-\item \tkzname{tkz-tools-text.tex}
-\item \tkzname{tkz-tools-utilities.tex}
+\begin{itemize}\setlength{\itemsep}{5pt}
+\item The \tkzname{\tkznameofpack} folder must be located on a path recognized by \tkzname{latex}.
+\item The \tkzname{\tkznameofpack} uses \tkzNamePack{xfp}.
+\item This documentation and all examples were obtained with \tkzname{lualatex} but \tkzname{pdflatex} or \tkzname{xelatex} should be suitable.
\end{itemize}
-The one with the main macros is \tkzname{tkz-tools-base.tex},
-it's called \tkzname{tkz-base} which handles all the files.
-The various tools are in files beginning with \tkzname{tkz-tools}, the mathematical objects created are in files whose name has for prefix \tkzname{tkz-obj}. Finally \tkzname{tkz-base.cfg} whose presence is not mandatory allows to modify many default values.
-
-Moreover, \TIKZ\ is loaded with the following libraries:
-
-\begin{tkzltxexample}[]
-\usetikzlibrary{angles, arrows, arrows.meta, babel, calc, decorations, decorations.markings,decoration.shapes, decorations.text, decorations.pathmorphing,
-decorations.pathreplacing, intersections, patterns, plotmarks, positioning, quotes,
-shapes.misc, through}
-\end{tkzltxexample}
-
\endinput
diff --git a/macros/latex/contrib/tkz/tkz-base/doc/latex/TKZdoc-base-main.tex b/macros/latex/contrib/tkz/tkz-base/doc/latex/TKZdoc-base-main.tex
index 5de59c95e3..6fa8be9e82 100644
--- a/macros/latex/contrib/tkz/tkz-base/doc/latex/TKZdoc-base-main.tex
+++ b/macros/latex/contrib/tkz/tkz-base/doc/latex/TKZdoc-base-main.tex
@@ -1,7 +1,7 @@
%!TEX TS-program = lualatex
-% encoding: utf8
-% documentation of tkz-base.sty
-% Copyright 2020 Alain Matthes
+% encoding: utf8
+% documentation of tkz-base.sty
+% Copyright 2022 Alain Matthes
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either version 1.3
% of this license or (at your option) any later version.
@@ -9,53 +9,33 @@
% http://www.latex-project.org/lppl.txt
% and version 1.3 or later is part of all distributions of LaTeX
% version 2005/12/01 or later.
-%
-% This work has the LPPL maintenance status “maintained”.
-%
+% This work has the LPPL maintenance status “maintained”.
% The Current Maintainer of this work is Alain Matthes.
-% This work consists of the files:
-% TKZdoc-base-axes.tex
-% TKZdoc-base-BB.tex
-% TKZdoc-base-compilation.tex
-% TKZdoc-base-divers.tex
-% TKZdoc-base-example.tex
-% TKZdoc-base-faq.tex
-% TKZdoc-base-grid.tex
-% TKZdoc-base-initialisation.tex
-% TKZdoc-base-installation.tex
-% TKZdoc-base-main.tex
-% TKZdoc-base-marks.tex
-% TKZdoc-base-news.tex
-% TKZdoc-base-obj.tex
-% TKZdoc-base-point.tex
-% TKZdoc-base-rep.tex
-% TKZdoc-base-style.tex
-% TKZdoc-base-texte.tex
-% TKZdoc-base-tools.tex
+
\documentclass[DIV = 14,
fontsize = 10,
- headinclude = false,
index = totoc,
- footinclude = false,
twoside,
headings = small,
- cadre]{tkz-doc}
-\usepackage{etoc}
+ cadre
+ ]{tkz-doc}
+%\usepackage{etoc}
\gdef\tkznameofpack{tkz-base}
-\gdef\tkzversionofpack{3.06c}
-\gdef\tkzdateofpack{2020/03/20}
+\gdef\tkzversionofpack{4.00 b}
+\gdef\tkzdateofpack{2022/01/04}
\gdef\tkznameofdoc{doc-tkz-base}
-\gdef\tkzversionofdoc{3.06c}
-\gdef\tkzdateofdoc{2020/03/20}
+\gdef\tkzversionofdoc{4.00 b}
+\gdef\tkzdateofdoc{2022/01/04}
\gdef\tkzauthorofpack{Alain Matthes}
\gdef\tkzadressofauthor{}
\gdef\tkznamecollection{AlterMundus}
\gdef\tkzurlauthor{}
\gdef\tkzengine{lualatex}
\gdef\tkzurlauthorcom{http://altermundus.fr}
-% -- Packages ---------------------------------------------------
+% -- Packages ---------------------------------------------------
\usepackage{calc}
-\usepackage{tkz-euclide}
+\usepackage{tkz-base}
+\usepackage{tkz-euclide}
\usepackage[colorlinks]{hyperref}
\hypersetup{
linkcolor=Gray,
@@ -93,33 +73,33 @@
\usepackage{unicode-math}
\usepackage{fourier-otf}
\makeatletter
-\newfontfamily\zorna{ORNA4___.TTF}%\if@tkzcadre \usepackage{zorna} \fi
+\if@tkzcadre \usepackage{zorna} \fi
\makeatother
\usepackage{datetime,multicol,lscape}
\usepackage[english]{babel}
\usepackage[autolanguage]{numprint}
\usepackage[normalem]{ulem}
-\usepackage{microtype}
+%\usepackage{microtype}
\usepackage{array,multirow,multido,booktabs}
-\usepackage{shortvrb,fancyvrb}
+\usepackage{shortvrb,fancyvrb}
\renewcommand{\labelitemi}{--}
\AtBeginDocument{\MakeShortVerb{\|}} % link to shortvrb
-\pdfcompresslevel=9
+\pdfcompresslevel=9
\setlength\parindent{0pt}
-\RequirePackage{imakeidx}
+\RequirePackage{makeidx}
%\@twocolumnfalse
-\makeindex
+\makeindex
% \def\tkzref{\arabic{section}-\arabic{subsection}-\arabic{subsubsection}}
% \renewenvironment{tkzexample}[1][]{%
% \tkz@killienc \VerbatimOut{tkzbase-\tkzref.tex}%
% }{%
% \endVerbatimOut
% }
-%<--------------------------------------------------------------------------->
+%<--------------------------------------------------------------------------->
\begin{document}
\parindent=0pt
-\author{\tkzauthorofpack}
+\author{\tkzauthorofpack}
\title{\tkznameofpack}
\date{\today}
\clearpage
@@ -132,9 +112,9 @@
\setlength\unitlength{1mm}
\put(70,120){%
\begin{tikzpicture}
- \node at (30pt,30pt){\fontsize{60}{60}\selectfont \zorna{c}};
+ \node at (30pt,30pt){\fontsize{60}{60}\selectfont \zorna{c}};
\node at (270pt,30pt){\fontsize{60}{60}\selectfont \zorna{d}};
- \node at (30pt,210pt){\fontsize{60}{60}\selectfont \zorna{a}};
+ \node at (30pt,210pt){\fontsize{60}{60}\selectfont \zorna{a}};
\node at (270pt,210pt){\fontsize{60}{60}\selectfont \zorna{b}};
\draw[line width=2pt,double,color=MidnightBlue,
fill=myblue!10,opacity=.5] (0,0) rectangle (300pt,240pt);
@@ -142,48 +122,46 @@
\begin{center}
\color{MidnightBlue}
\fontsize{24}{48}
- \selectfont tkz-euclide\\
- tool for \\
- Euclidean Geometry
+ \selectfont tkz-base
\end{center}};
-\end{tikzpicture}}
-}
+\end{tikzpicture}}
+}
\else
\fi
\makeatother
\clearpage
-\tkzSetUpColors[background=white,text=darkgray]
+\tkzSetUpColors[background=white,text=darkgray]
\let\rmfamily\ttfamily
-\nameoffile{\tkznameofpack}
-\defoffile{\tkzname{\tkznameofpack} is a package based on \TIKZ\ to make graphics as simple as possible. It is the basis on which a series of packages will be built, having as a common point, the creation of drawings useful in the teaching of mathematics. The main function of Basic is to provide an orthogonal coordinate system, and to let the user choose the graphical units. This package requires version 3 or higher of \TIKZ.}
+\nameoffile{\tkznameofpack}
+\defoffile{\tkzname{\tkznameofpack} is a package based on \TIKZ\ to make graphics as simple as possible. It is the basis on which a series of packages will be built, having as a common point, the creation of drawings useful in the teaching of mathematics. The main function of \tkzname{\tkznameofpack} is to provide an orthogonal coordinate system, and to let the user choose the graphical units. This package requires version 3 or higher of \TIKZ.}
\presentation
-\vspace*{1cm}
+\vspace*{1cm}
\noindent\space I'd like to thank \textbf{Till~Tantau} for creating the wonderful tool \href{http://sourceforge.net/projects/pgf/}{\TIKZ}.
-\vspace*{12pt}
+\vspace*{12pt}
\noindent\space I thank \textbf{Yves~Combe} for sharing his work on the protractor and the compass constructions. I would also like to thank, \tkzimp{David~Arnold} who corrected a lot of errors and tested many examples, \tkzimp{Wolfgang~Büchel} who also corrected errors and built great scripts to get the example files, \tkzimp{John~Kitzmiller} and \tkzimp{Dimitri~Kapetas} for their examples, \tkzimp{Gaétan~Marris} for his remarks and corrections, and finally \tkzimp{Laurent Van Deik} for all his corrections, remarks and questions.
\vspace*{12pt}
-\noindent\space You will find many examples on my site:
+\noindent\space You will find many examples on my site:
\href{http://altermundus.fr}{altermundus.fr}.
\vfill
You can send your remarks, and reports on errors you find, to the following address: \href{mailto:al.ma@mac.com}{\textcolor{pdfurlcolor}{\tkzauthorofpack}}.
-
-This file can be redistributed and/or modified under the terms of the \LATEX\
+
+This file can be redistributed and/or modified under the terms of the \LATEX\
Project Public License Distributed from \href{http://www.ctan.org/}{CTAN}\ archives.
\clearpage
\tableofcontents
-\clearpage
+\clearpage
\newpage
-\setlength{\parskip}{1ex plus 0.5ex minus 0.2ex}
+\setlength{\parskip}{1ex plus 0.5ex minus 0.2ex}
%<------------- includes -----------------------------------------------
\include{TKZdoc-base-news}
\include{TKZdoc-base-installation}
@@ -201,7 +179,7 @@ Project Public License Distributed from \href{http://www.ctan.org/}{CTAN}\ arch
\include{TKZdoc-base-texte}
\include{TKZdoc-base-faq}
%<------------------------------------------------------------------------
-\clearpage\newpage
+\clearpage\newpage
\makeatletter
\begin{multicols}{2}
diff --git a/macros/latex/contrib/tkz/tkz-base/doc/latex/TKZdoc-base-marks.tex b/macros/latex/contrib/tkz/tkz-base/doc/latex/TKZdoc-base-marks.tex
index b54b04c69b..627401e5ac 100644
--- a/macros/latex/contrib/tkz/tkz-base/doc/latex/TKZdoc-base-marks.tex
+++ b/macros/latex/contrib/tkz/tkz-base/doc/latex/TKZdoc-base-marks.tex
@@ -159,7 +159,7 @@ options & default & definition \\
\end{NewMacroBox}
\subsubsection{Mark and plot; use of \tkzcname{tkzDrawMarks}}
-\begin{tkzexample}[latex=7cm,small]
+\begin{tkzexample}[latex=8cm,small]
\begin{tikzpicture}
\tkzInit[xmax=6,ymin=1000,
ymax=5000,ystep=1000]
diff --git a/macros/latex/contrib/tkz/tkz-base/doc/latex/TKZdoc-base-news.tex b/macros/latex/contrib/tkz/tkz-base/doc/latex/TKZdoc-base-news.tex
index 361d8198bf..2132c3914c 100644
--- a/macros/latex/contrib/tkz/tkz-base/doc/latex/TKZdoc-base-news.tex
+++ b/macros/latex/contrib/tkz/tkz-base/doc/latex/TKZdoc-base-news.tex
@@ -1,18 +1,20 @@
\section{News and presentation}
-This package is the foundation of the \tkzNamePack{tkz-euclide} and \tkzNamePack{tkz-fct} in particular. It provides a Cartesian system that will be defined by the macro \tkzcname{tkzInit}. The package has been modified and object transfers between \tkzimp{tkz-base} and \tkzimp{tkz-euclide} have been performed.
-In the future, the definition macros will be isolated.
+This package was the foundation of the \tkzNamePack{tkz-euclide} and \tkzNamePack{tkz-fct} in particular. Now \tkzNamePack{tkz-euclide} is independent of \tkzname{\tkznameofpack}. \tkzimp{tkz-euclide} should be used only for Euclidean geometry. The package has been modified and object transfers between
+\tkzimp{tkz-base} and \tkzimp{tkz-euclide} have been performed.
+
+\tkzimp{tkz-base} provides a Cartesian system that will be defined by the macro \tkzcname{tkzInit}. The big difference now between \tkzname{tkznameofpack} and \tkzNamePack{tkz-euclide} is the role of the units. The unit in \tkzNamePack{tkz-euclide} is the cm and is fixed. Ce n'est pas le cas \tkzimp{tkz-base}
The main novelty is the recent replacement of the \tkzNamePack{fp} package by \tkzNamePack{xfp}. The appearance of this one is a step towards version 3 of \LATEX.
The next step will be the creation of a new package.
-Here are some of the changes. The |tkz-euclide| package brings more new features.
+Here are some of the changes. The \tkzimp{tkz-euclide} package brings more new features. \tkzimp{tkz-euclide} is used for some examples in this documentation.
+
\vspace{2cm}
\begin{itemize}\setlength{\itemsep}{10pt}
\item Code Improvement;
\item Bug correction;
\item The bounding box is now controlled in each macro (hopefully) to avoid the use of \tkzcname{tkzInit} followed by \tkzcname{tkzClip};
-\item Addition of macros for the "bounding box": \tkzcname{tkzSaveBB} \tkzcname{tkzClipBB};
\item Logically most macros accept \TIKZ\ options. So I removed the "duplicate" options;
\item Removing the option "label options";
\item Random points are now in \tkzimp{tkz-euclide} and the macro \tkzcname{tkzGetRandPointOn} is replaced by \tkzcname{tkzDefRandPointOn}. For homogeneity reasons, the points must be retrieved with \tkzcname{tkzGetPoint};
diff --git a/macros/latex/contrib/tkz/tkz-base/doc/latex/TKZdoc-base-point.tex b/macros/latex/contrib/tkz/tkz-base/doc/latex/TKZdoc-base-point.tex
index b0fa58e01f..0798b4036e 100644
--- a/macros/latex/contrib/tkz/tkz-base/doc/latex/TKZdoc-base-point.tex
+++ b/macros/latex/contrib/tkz/tkz-base/doc/latex/TKZdoc-base-point.tex
@@ -230,7 +230,7 @@ Let's see how to obtain an isosceles triangle with a principal angle of 30 degre
\end{tkzexample}
%<--------------------------------------------------------------------------->
-\subsection{Drawing a point \tkzcname{tkzDrawPoint}} \hypertarget{tdrp}{}
+\subsection{Drawing a point \tkzcname{tkzDrawPoint}}
\begin{NewMacroBox}{tkzDrawPoint}{\oarg{local options}\parg{point}}%
\begin{tabular}{lll}%
arguments & default & definition \\
@@ -344,7 +344,7 @@ Warning at the final "s", an oversight leads to cascading errors if you attempt
\tkzDefPoint(30:5){C}
\end{scope}
\tkzCalcLength[cm](A,B)\tkzGetLength{rAB}
- \tkzDrawCircle[R](A,\rAB cm)
+ \tkzDrawCircle[R](A,\rAB)
\tkzDrawSegment(A,B)
\tkzDrawPoints(A,B,C)
\tkzLabelPoints(B,C)
@@ -451,7 +451,7 @@ Here the points are positioned relative to the center of gravity of $A,B,C \ \te
\begin{tkzexample}[latex=5cm,small]
\begin{tikzpicture}[scale=1.25]
\tkzDefPoint(2,1){O}
- \tkzDefRandPointOn[circle=center O radius 1.5cm]
+ \tkzDefRandPointOn[circle=center O radius 1.5]
\tkzGetPoint{A}
\tkzDrawCircle(O,A)
\tkzDefPointBy[rotation=center O angle 100](A)
@@ -472,7 +472,7 @@ This time the reference is $O$ and the distance is by default $0.15$.
\begin{tkzexample}[latex=5cm,small]
\begin{tikzpicture}[scale=1.25]
\tkzDefPoint(2,1){O}
- \tkzDefRandPointOn[circle=center O radius 1.5cm]
+ \tkzDefRandPointOn[circle=center O radius 1.5]
\tkzGetPoint{A}
\tkzDrawCircle(O,A)
\tkzDefPointBy[rotation=center O angle 100](A)
diff --git a/macros/latex/contrib/tkz/tkz-base/doc/tkz-base.pdf b/macros/latex/contrib/tkz/tkz-base/doc/tkz-base.pdf
new file mode 100644
index 0000000000..d041bff87b
--- /dev/null
+++ b/macros/latex/contrib/tkz/tkz-base/doc/tkz-base.pdf
Binary files differ