diff options
Diffstat (limited to 'macros/latex/contrib/tkz/tkz-euclide/README.md')
-rw-r--r-- | macros/latex/contrib/tkz/tkz-euclide/README.md | 96 |
1 files changed, 90 insertions, 6 deletions
diff --git a/macros/latex/contrib/tkz/tkz-euclide/README.md b/macros/latex/contrib/tkz/tkz-euclide/README.md index 0f6e6b8380..89c6ffc1e7 100644 --- a/macros/latex/contrib/tkz/tkz-euclide/README.md +++ b/macros/latex/contrib/tkz/tkz-euclide/README.md @@ -1,6 +1,6 @@ # tkz-euclide — for euclidean geometry -Release 4.051 b 2022/02/25 +Release 4.2c 2022/07/14 ## Description @@ -67,14 +67,98 @@ files, ready for compilation. Other examples, in French, are on my site. -## Compatibility - -The new version of `tkz-euclide` is *not* fully compatible with the version -3.06 but the differences are minor. ## History -- 4.051b Fixed a problem when tkz-base is loaded. +- 4.2c + Now \tkzDefCircle gives two points as results: the center of the circle and a point of the circle. When a point of the circle is known, it is enough to use \tkzGetPoint or \tkzGetFirstPoint + to get the center, otherwise \tkzGetPoints will give you the center and a point of the circle. You can always get the length of the radius with \tkzGetLength . I wanted to favor working with nodes and banish the appearance of numbers in the code. + + In order to isolate the definitions, I deleted or modified certain macros which are: \tkzDrawLine , \tkzDrawTriangle , \tkzDrawCircle , \tkzDrawSemiCircle and \tkzDrawRectangle ; + + Thus \tkzDrawSquare(A,B) becomes \tkzDefSquare(A,B) \tkzGetPoints{C}{D} then + + \tkzDrawPolygon(A,B,C,D) ; + + + + If you want to draw a circle, you can't do so \tkzDrawCircle[R](A,1) . First you have to define the point through which the circle passes, so you have to do + \tkzDefCircle[R](A,1) \tkzGetPoint{a} and finally \tkzDrawCircle(A,a) . Another possibilty is to define a point on the circle \tkzDefShiftPoint[A](1,O){a} ; + + + The following macros tkzDefCircleBy[orthogonal through] and \tkzDefCircleBy[orthogonal from] become tkzDefCircle[orthogonal through] and \tkzDefCircle[orthogonal from] ; + + + \tkzDefLine[euler](A,B,C) is a macro that allows you to obtain the line of \tkzname{Euler} when possible. \tkzDefLine[altitude](A,B,C) is possible again, as well as \tkzDefLine[tangent at=A](O) and \tkzDefLine[tangent from=P](O,A) which did not works; + + + \tkzDefTangent is replaced by \tkzDelLine[tangent from = ...] or \tkzDelLine[tangent at = ...] + + + I added the macro \tkzPicAngle[tikz options](A,B,C) for those who prefer to use \TIKZ\ . + + + The order of the arguments of the macro \tkzcname{tkzDefPointOnCircle} has changed: now it is center, angle and point or radius. + I have added two options for working with radians which are \tkzname{through in rad} and \tkzname{R in rad}. + + + I added the option \tkzname{reverse} to the arcs paths. This allows to reverse the path and to reverse if necessary the arrows that would be present. + + + I have unified the styles for the labels. There is now only \tkzname{label style} left which is valid for points, segments, lines, circles and angles. I have deleted \tkzname{label seg style} \tkzname{label line style} and \tkzname{label angle style} + + I added the macro tkzFillAngles to use several angles. + + Correction option \tkzname{return} witk \tkzcname{tkzProtractor} + + As a reminder, the following changes have been made previously: + + \tkzDrawMedian , \tkzDrawBisector , \tkzDrawAltitude , \tkzDrawMedians , \tkzDrawBisectors et \tkzDrawAltitudes do not exist anymore. The creation and drawing separation is not respected so it is preferable to first create the coordinates of these points with \tkzDefSpcTriangle[median] and then to choose the ones you are going to draw with \tkzDrawSegments or \tkzDrawLines ; + + \tkzDrawTriangle has been deleted. \tkzDrawTriangle[equilateral] was handy but it is better to get the third point with \tkzDefTriangle[equilateral] and then draw with \tkzDrawPolygon ; idem for \tkzDrawSquare and \tkzDrawGoldRectangle ; + + + The circle inversion was badly defined so I rewrote the macro. The input arguments are always the center and a point of the circle, the output arguments are the center of the image circle and a point of the image circle or two points of the image line if the antecedent circle passes through the pole of the inversion. If the circle passes the inversion center, the image is a straight line, the validity of the procedure depends on the choice of the point on the antecedent circle; + + Correct allocation for gold sublime and euclide triangles; + + + I added the option " next to" for the intersections LC and CC; + + + Correction option isoceles right; + + + \tkzDefMidArc(O,A,B) gives the middle of the arc center $O$ from $A$ to $B$; + + Good news : Some useful tools have been added. They are present on an experimental basis and will undoubtedly need to be improved; + + + The options "orthogonal from and through" depend now of \tkzcname{tkzDefCircleBy} + + + \tkzDotProduct(A,B,C) computes the scalar product in an orthogonal reference system of the vectors $\overrightarrow{A,B}$ and $\overrightarrow{A,C}$. + + \tkzDotProduct(A,B,C)=aa'+bb' if vec{AB} =(a,b) and vec{AC} =(a',b') + + + \tkzPowerCircle(A)(B,C) power of point $A$ with respect to the circle of center $B$ passing through $C$; + + + \tkzDefRadicalAxis(A,B)(C,D) Radical axis of two circles of center $A$ and $C$; + + + Some tests : \tkzIsOrtho(A,B,C) and \tkzIsLinear(A,B,C) The first indicates whether the lines $(A,B)$ and $(A,C)$ are orthogonal. The second indicates whether the points $A$, $B$ and $C$ are aligned; + + \tkzIsLinear(A,B,C) if $A$,$B$,$C$ are aligned then \tkzLineartrue + you can use \iftkzLinear (idem for \tkzIsOrtho ); + + A style for vectors has been added that you can of course modify + tikzset{vector style/.style={>=Latex,->}} ; + + + Now it's possible to add an arrow on a line or a circle with the option tkz arrow . + - 4.05b \tkzInterLC new option near new method to choice the points |