diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/tkz-euclide/latex/TKZdoc-euclide-circles.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex/tkz-euclide/latex/TKZdoc-euclide-circles.tex | 321 |
1 files changed, 125 insertions, 196 deletions
diff --git a/Master/texmf-dist/doc/latex/tkz-euclide/latex/TKZdoc-euclide-circles.tex b/Master/texmf-dist/doc/latex/tkz-euclide/latex/TKZdoc-euclide-circles.tex index 66bbea6c769..7b58f6dffd8 100644 --- a/Master/texmf-dist/doc/latex/tkz-euclide/latex/TKZdoc-euclide-circles.tex +++ b/Master/texmf-dist/doc/latex/tkz-euclide/latex/TKZdoc-euclide-circles.tex @@ -3,39 +3,38 @@ Among the following macros, one will allow you to draw a circle, which is not a real feat. To do this, you will need to know the center of the circle and either the radius of the circle or a point on the circumference. It seemed to me that the most frequent use was to draw a circle with a given centre passing through a given point. This will be the default method, otherwise you will have to use the \tkzname{R} option. There are a large number of special circles, for example the circle circumscribed by a triangle. \begin{itemize} - \item I have created a first macro \tkzcname{tkzDefCircle} which allows, according to a particular circle, to retrieve its center and the measurement of the radius in cm. This recovery is done with the macros \tkzcname{tkzGetPoint} and \tkzcname{tkzGetLength}, + \item I have created a first macro \tkzcname{tkzDefCircle} which allows, according to a particular circle, to retrieve its center and the measurement of the radius in cm. This recovery is done with the macros \tkzcname{tkzGetPoint} and \tkzcname{tkzGetLength}; - \item then a macro \tkzcname{tkzDrawCircle} + \item then a macro \tkzcname{tkzDrawCircle}; - \item then a macro that allows you to color in a disc, but without drawing the circle \tkzcname{tkzFillCircle} + \item then a macro that allows you to color in a disc, but without drawing the circle \tkzcname{tkzFillCircle}; - \item sometimes, it is necessary for a drawing to be contained in a disk this is the role assigned to \tkzcname{tkzClipCircle}, + \item sometimes, it is necessary for a drawing to be contained in a disk, this is the role assigned to \tkzcname{tkzClipCircle}; - \item It finally remains to be able to give a label to designate a circle and if several possibilities are offered, we will see here \tkzcname{tkzLabelCircle}. -\end{itemize} - + \item it finally remains to be able to give a label to designate a circle and if several possibilities are offered, we will see here \tkzcname{tkzLabelCircle}. +\end{itemize} -\subsection{Characteristics of a circle : \tkzcname{tkzDefCircle}} +\subsection{Characteristics of a circle: \tkzcname{tkzDefCircle}} This macro allows you to retrieve the characteristics (center and radius) of certain circles. -\begin{NewMacroBox}{tkzDefCircle}{\oarg{local options}\parg{A,B} ou \parg{A,B,C}} +\begin{NewMacroBox}{tkzDefCircle}{\oarg{local options}\parg{A,B} or \parg{A,B,C}}% \tkzHandBomb\ Attention the arguments are lists of two or three points. This macro is either used in partnership with \tkzcname{tkzGetPoint} and/or \tkzcname{tkzGetLength} to obtain the center and the radius of the circle, or by using \tkzname{tkzPointResult} and \tkzname{tkzLengthResult} if it is not necessary to keep the results. \medskip -\begin{tabular}{lll} +\begin{tabular}{lll}% \toprule -arguments & exemple & explication \\ +arguments & example & explication \\ \midrule \TAline{\parg{pt1,pt2} or \parg{pt1,pt2,pt3}}{\parg{A,B}} {$[AB]$ is radius $A$ is the center} \bottomrule \end{tabular} \medskip -\begin{tabular}{lll} +\begin{tabular}{lll}% \toprule -options & derror & definition \\ +options & default & definition \\ \midrule \TOline{through} {through}{circle characterized by two points defining a radius} \TOline{diameter} {through}{circle characterized by two points defining a diameter} @@ -54,7 +53,7 @@ options & derror & definition \\ {In the following examples, I draw the circles with a macro not yet presented, but this is not necessary. In some cases you may only need the center or the radius.} \end{NewMacroBox} - \subsubsection{Example with a random point and the option \tkzimp{through}} + \subsubsection{Example with a random point and option \tkzname{through}} \begin{tkzexample}[latex=7 cm,small] \begin{tikzpicture}[scale=1] @@ -72,13 +71,13 @@ options & derror & definition \\ \tkzLabelCircle[draw,fill=orange, text width=3cm,text centered, font=\scriptsize](A,C)(-90)% - {La mesure du rayon est : - \rACpt pt soit \rACcm cm} + {The radius measurement is: + \rACpt pt i.e. \rACcm cm} \end{tikzpicture} \end{tkzexample} - \subsubsection{Example with the option \tkzimp{diameter}} - It is simpler here to search directly for the middle of AB + \subsubsection{Example with option \tkzname{diameter}} + It is simpler here to search directly for the middle of $[AB]$. \begin{tkzexample}[latex=7cm,small] \begin{tikzpicture}[scale=1] \tkzDefPoint(0,0){A} @@ -93,7 +92,7 @@ options & derror & definition \\ \end{tkzexample} \subsubsection{Circles inscribed and circumscribed for a given triangle} - You can also obtain the center of the inscribed circle and its projection on one side of the triangle with \tkzcname{tkzGetFirstPoint{I}} et \tkzcname{tkzGetSecondPoint{Ib}}. + You can also obtain the center of the inscribed circle and its projection on one side of the triangle with \tkzcname{tkzGetFirstPoint{I}} and \tkzcname{tkzGetSecondPoint{Ib}}. \begin{tkzexample}[latex=7cm,small] @@ -114,21 +113,21 @@ options & derror & definition \\ \end{tikzpicture} \end{tkzexample} - \subsubsection{Example with the option \tkzimp{ex}} -We want to define an excircle of a triangle relativement au point C + \subsubsection{Example with option \tkzname{ex}} +We want to define an excircle of a triangle relatively to point $C$ \begin{tkzexample}[latex=8cm,small] \begin{tikzpicture}[scale=.75] \tkzDefPoints{ 0/0/A,4/0/B,0.8/4/C} \tkzDefCircle[ex](B,C,A) - \tkzGetPoint{Jc} \tkzGetLength{rc} - \tkzDefPointBy[projection=onto A--C ](Jc) - \tkzGetPoint{Xc} - \tkzDefPointBy[projection=onto A--B ](Jc) - \tkzGetPoint{Yc} + \tkzGetPoint{J_c} \tkzGetLength{rc} + \tkzDefPointBy[projection=onto A--C ](J_c) + \tkzGetPoint{X_c} + \tkzDefPointBy[projection=onto A--B ](J_c) + \tkzGetPoint{Y_c} \tkzGetPoint{I} \tkzDrawPolygon[color=blue](A,B,C) - \tkzDrawCircle[R,color=lightgray](Jc,\rc pt) + \tkzDrawCircle[R,color=lightgray](J_c,\rc pt) % possible \tkzDrawCircle[ex](A,B,C) \tkzDrawCircle[in,color=red](A,B,C) \tkzGetPoint{I} \tkzDefPointBy[projection=onto A--C ](I) @@ -136,16 +135,16 @@ We want to define an excircle of a triangle relativement au point C \tkzDefPointBy[projection=onto A--B ](I) \tkzGetPoint{D} \tkzDrawLines[add=0 and 2.2,dashed](C,A C,B) - \tkzDrawSegments[dashed](Jc,Xc I,D I,F Jc,Yc) - \tkzMarkRightAngles(A,F,I B,D,I Jc,Xc,A Jc,Yc,B) - \tkzDrawPoints(B,C,A,I,D,F,Xc,Jc,Yc) - \tkzLabelPoints(B,A,Jc,I,D,Xc,Yc) + \tkzDrawSegments[dashed](J_c,X_c I,D I,F J_c,Y_c) + \tkzMarkRightAngles(A,F,I B,D,I J_c,X_c,A J_c,Y_c,B) + \tkzDrawPoints(B,C,A,I,D,F,X_c,J_c,Y_c) + \tkzLabelPoints(B,A,J_c,I,D,X_c,Y_c) \tkzLabelPoints[above left](C) \tkzLabelPoints[left](F) \end{tikzpicture} \end{tkzexample} - \subsubsection{Euler's circle for a given triangle} + \subsubsection{Euler's circle for a given triangle with option \tkzname{euler}} We verify that this circle passes through the middle of each side. \begin{tkzexample}[latex=8cm,small] @@ -154,8 +153,8 @@ We verify that this circle passes through the middle of each side. \tkzDefPoint(0,0){B} \tkzDefPoint(7,0){C} \tkzDefCircle[euler](A,B,C) \tkzGetPoint{E} \tkzGetLength{rEuler} - \tkzDefSpcTriangle[medial](A,B,C){Ma,Mb,Mc} - \tkzDrawPoints(A,B,C,E,Ma,Mb,Mc) + \tkzDefSpcTriangle[medial](A,B,C){M_a,M_b,M_c} + \tkzDrawPoints(A,B,C,E,M_a,M_b,M_c) \tkzDrawCircle[R,blue](E,\rEuler pt) \tkzDrawPolygon(A,B,C) \tkzLabelPoints[below](B,C) @@ -163,7 +162,7 @@ We verify that this circle passes through the middle of each side. \end{tikzpicture} \end{tkzexample} - \subsubsection{Coloured Apollonius circles for a given segment} + \subsubsection{Apollonius circles for a given segment option \tkzname{apollonius}} \begin{tkzexample}[latex=9cm,small] \begin{tikzpicture}[scale=0.75] @@ -184,7 +183,7 @@ We verify that this circle passes through the middle of each side. \end{tikzpicture} \end{tkzexample} - \subsubsection{Circles exinscribed to a given triangle} + \subsubsection{Circles exinscribed to a given triangle option \tkzname{ex}} You can also get the center and the projection of it on one side of the triangle. with \tkzcname{tkzGetFirstPoint\{Jb\}} and \tkzcname{tkzGetSecondPoint\{Tb\}}. @@ -214,28 +213,28 @@ We verify that this circle passes through the middle of each side. \end{tikzpicture} \end{tkzexample} - \subsubsection{Spieker circle} -The incircle of the medial triangle $M_AM_BM_C$ is the Spieker circle + \subsubsection{Spieker circle with option \tkzname{spieker}} +The incircle of the medial triangle $M_aM_bM_c$ is the Spieker circle: \begin{tkzexample}[latex=8cm, small] \begin{tikzpicture}[scale=1] \tkzDefPoints{ 0/0/A,4/0/B,0.8/4/C} - \tkzDefSpcTriangle[medial](A,B,C){Ma,Mb,Mc} + \tkzDefSpcTriangle[medial](A,B,C){M_a,M_b,M_c} \tkzDefTriangleCenter[spieker](A,B,C) - \tkzGetPoint{Sp} + \tkzGetPoint{S_p} \tkzDrawPolygon[blue](A,B,C) - \tkzDrawPolygon[red](Ma,Mb,Mc) + \tkzDrawPolygon[red](M_a,M_b,M_c) \tkzDrawPoints[blue](B,C,A) - \tkzDrawPoints[red](Ma,Mb,Mc,Sp) - \tkzDrawCircle[in,red](Ma,Mb,Mc) - \tkzAutoLabelPoints[center=Sp,dist=.3](Ma,Mb,Mc) - \tkzLabelPoints[blue,right](Sp) - \tkzAutoLabelPoints[center=Sp](A,B,C) + \tkzDrawPoints[red](M_a,M_b,M_c,S_p) + \tkzDrawCircle[in,red](M_a,M_b,M_c) + \tkzAutoLabelPoints[center=S_p,dist=.3](M_a,M_b,M_c) + \tkzLabelPoints[blue,right](S_p) + \tkzAutoLabelPoints[center=S_p](A,B,C) \end{tikzpicture} \end{tkzexample} - \subsubsection{Orthogonal circle passing through two given points} + \subsubsection{Orthogonal circle passing through two given points, option \tkzname{orthogonal through}} \begin{tkzexample}[latex=8cm,small] \begin{tikzpicture}[scale=1] @@ -272,121 +271,35 @@ The incircle of the medial triangle $M_AM_BM_C$ is the Spieker circle \end{tikzpicture} \end{tkzexample} - %<----------------------------------------------------------------------------> -% Tangente -%<----------------------------------------------------------------------------> -\subsection{Tangent to a circle} -Two constructions are proposed. The first one is the construction of a tangent to a circle at a given point of this circle and the second one is the construction of a tangent to a circle passing through a given point outside a disc. - -\begin{NewMacroBox}{tkzDefTangent}{\oarg{local options}\parg{pt1,pt2} ou \parg{pt1,dim}} -The parameter in brackets is the center of the circle or the center of the circle and a point on the circle or the center and the radius. - -\medskip -\begin{tabular}{lll} -\toprule -arguments & exemple & explication \\ -\midrule -\TAline{\parg{pt1,pt2 or \parg{pt1,dim}} }{\parg{A,B} or \parg{A,2cm}} {$[AB]$ is radius $A$ is the center} -\bottomrule -\end{tabular} - -\medskip -\begin{tabular}{lll} -\toprule -options & default & definition \\ -\midrule -\TOline{at=pt}{at}{tangent to a point on the circle} -\TOline{from=pt} {at}{tangent to a circle passing through a point} -\TOline{from with R=pt} {at}{idem, but the circle is defined by center = radius} -\bottomrule -\end{tabular} - -The tangent is not drawn. A second point of the tangent is given by \tkzname{tkzPointResult}. -\end{NewMacroBox} - - \subsubsection{Example of a tangent passing through a point on the circle } -\begin{tkzexample}[latex=7cm,small] -\begin{tikzpicture}[scale=.5] - \tkzDefPoint(0,0){O} - \tkzDefPoint(6,6){E} - \tkzDefRandPointOn[circle=center O radius 4cm] - \tkzGetPoint{A} - \tkzDrawSegment(O,A) - \tkzDrawCircle(O,A) - \tkzDefTangent[at=A](O) - \tkzGetPoint{h} - \tkzDrawLine[add = 4 and 3](A,h) - \tkzMarkRightAngle[fill=red!30](O,A,h) -\end{tikzpicture} -\end{tkzexample} - - \subsubsection{Example of tangents passing through an external point } - -\begin{tkzexample}[latex=6cm,small] -\begin{tikzpicture}[scale=0.75] - \tkzDefPoint(3,3){c} - \tkzDefPoint(6,3){a0} - \tkzRadius=1 cm - \tkzDrawCircle[R](c,\tkzRadius) - \foreach \an in {0,10,...,350}{ - \tkzDefPointBy[rotation=center c angle \an](a0) - \tkzGetPoint{a} - \tkzDefTangent[from with R = a](c,\tkzRadius) - \tkzGetPoints{e}{f} - \tkzDrawLines[color=magenta](a,f a,e) - \tkzDrawSegments(c,e c,f) - }% -\end{tikzpicture} -\end{tkzexample} - - \subsubsection{Example of Andrew Mertz } - -\begin{tkzexample}[latex=6cm,small] - \begin{tikzpicture}[scale=.5] - \tkzDefPoint(100:8){A}\tkzDefPoint(50:8){B} - \tkzDefPoint(0,0){C} \tkzDefPoint(0,4){R} - \tkzDrawCircle(C,R) - \tkzDefTangent[from = A](C,R) \tkzGetPoints{D}{E} - \tkzDefTangent[from = B](C,R) \tkzGetPoints{F}{G} - \tkzDrawSector[fill=blue!80!black,opacity=0.5](A,D)(E) - \tkzFillSector[color=red!80!black,opacity=0.5](B,F)(G) - \tkzInterCC(A,D)(B,F) \tkzGetSecondPoint{I} - \tkzDrawPoint[color=black](I) - \end{tikzpicture} -\end{tkzexample} -\url{http://www.texample.net/tikz/examples/} - -\section{Draw, Label The Circles} - -Among the following macros, one will allow you to draw a circle, which is not a real feat. To do this, you will need to know the center of the circle and either the radius of the circle or a point on the circumference. It seemed to me that the most frequent use was to draw a circle with a given centre passing through a given point. This will be the default method, otherwise you will have to use the \tkzname{R} option. +\section{Draw, Label the Circles} \begin{itemize} \item I created a first macro \tkzcname{tkzDrawCircle}, \item then a macro that allows you to color a disc, but without drawing the circle. \tkzcname{tkzFillCircle}, - \item sometimes, it is necessary for a drawing to be contained in a disc is the role assigned to \tkzcname{tkzClipCircle}, + \item sometimes, it is necessary for a drawing to be contained in a disc,this is the role assigned to \tkzcname{tkzClipCircle}, \item It finally remains to be able to give a label to designate a circle and if several possibilities are offered, we will see here \tkzcname{tkzLabelCircle}. \end{itemize} \subsection{Draw a circle} -\begin{NewMacroBox}{tkzDrawCircle}{\oarg{local options}\parg{A,B}} -\tkzHandBomb\ Attention the arguments are lists of two points. The circles that can be drawn are the same as in the previous macro. An additional option \tkzname{R} to give directly a measure. +\begin{NewMacroBox}{tkzDrawCircle}{\oarg{local options}\parg{A,B}}% +\tkzHandBomb\ Attention you need only two points to define a radius or a diameter. An additional option \tkzname{R} is available to give a measure directly. \medskip -\begin{tabular}{lll} +\begin{tabular}{lll}% \toprule -arguments & exemple & explication \\ +arguments & example & explication \\ \midrule -\TAline{\parg{pt1,pt2 pt3,pt4 ...}}{\parg{A,B C,D}} {List of two points} +\TAline{\parg{pt1,pt2}}{\parg{A,B}} {two points to define a radius or a diameter} \bottomrule \end{tabular} \medskip -\begin{tabular}{lll} +\begin{tabular}{lll}% \toprule options & default & definition \\ \midrule @@ -397,7 +310,7 @@ options & default & definition \\ \end{tabular} \medskip -Of course, you have to add all the styles of \TIKZ for the tracings... +Of course, you have to add all the styles of \TIKZ\ for the tracings... \end{NewMacroBox} \subsubsection{Circles and styles, draw a circle and color the disc} @@ -407,33 +320,33 @@ Of course, you have to add all the styles of \TIKZ for the tracings... \begin{tikzpicture} \tkzDefPoint(0,0){O} \tkzDefPoint(3,0){A} - % cercle de centre O et passant par A - \tkzDrawCircle[color=blue,style=dashed](O,A) - % cercle de diamètre $[OA]$ + % circle with centre O and passing through A + \tkzDrawCircle[color=blue](O,A) + % diameter circle $[OA]$ \tkzDrawCircle[diameter,color=red,% line width=2pt,fill=red!40,% opacity=.5](O,A) - % cercle de centre O et de rayon = exp(1) cm - \edef\rayon{\fpeval{exp(1)}} + % circle with centre O and radius = exp(1) cm + \edef\rayon{\fpeval{0.25*exp(1)}} \tkzDrawCircle[R,color=orange](O,\rayon cm) \end{tikzpicture} \end{tkzexample} \subsection{Drawing circles} -\begin{NewMacroBox}{tkzDrawCircles}{\oarg{local options}\parg{A,B C,D}} -\tkzHandBomb\ Attention, the arguments are lists of two points. The circles that can be drawn are the same as in the previous macro. An additional option \tkzname{R} to give directly a measure. +\begin{NewMacroBox}{tkzDrawCircles}{\oarg{local options}\parg{A,B C,D}}% +\tkzHandBomb\ Attention, the arguments are lists of two points. The circles that can be drawn are the same as in the previous macro. An additional option \tkzname{R} is available to give a measure directly. \medskip -\begin{tabular}{lll} +\begin{tabular}{lll}% \toprule -arguments & exemple & explication \\ +arguments & example & explication \\ \midrule \TAline{\parg{pt1,pt2 pt3,pt4 ...}}{\parg{A,B C,D}} {List of two points} \bottomrule \end{tabular} \medskip -\begin{tabular}{lll} +\begin{tabular}{lll}% \toprule options & default & definition \\ \midrule @@ -444,7 +357,7 @@ options & default & definition \\ \end{tabular} \medskip -Of course, you have to add all the styles of \TIKZ for the tracings... +Of course, you have to add all the styles of \TIKZ\ for the tracings... \end{NewMacroBox} \subsubsection{Circles defined by a triangle.} @@ -479,56 +392,80 @@ Of course, you have to add all the styles of \TIKZ for the tracings... \tkzDefPoints{0/0/A,4/0/B,1/2.5/C} \tkzDrawPolygon(A,B,C) \tkzDefCircle[ex](B,C,A) -\tkzGetPoint{Jc} \tkzGetSecondPoint{Tc} +\tkzGetPoint{J_c} \tkzGetSecondPoint{T_c} \tkzGetLength{rJc} -\tkzDrawCircle[R](Jc,{\rJc pt}) +\tkzDrawCircle[R](J_c,{\rJc pt}) \tkzDrawLines[add=0 and 1](C,A C,B) -\tkzDrawSegment(Jc,Tc) -\tkzMarkRightAngle(Jc,Tc,B) -\tkzDrawPoints(A,B,C,Jc,Tc) +\tkzDrawSegment(J_c,T_c) +\tkzMarkRightAngle(J_c,T_c,B) +\tkzDrawPoints(A,B,C,J_c,T_c) \end{tikzpicture} \end{tkzexample} - \subsubsection{Cardioid} - Based on an idea by O. Reboux made with pst-eucl (Pstricks module) by D. Rodriguez. +\subsubsection{Cardioid} +Based on an idea by O. Reboux made with pst-eucl (Pstricks module) by D. Rodriguez. - Its name comes from the Greek kardia (heart), in reference to its shape, and was given to it by Johan Castillon. Wikipedia + Its name comes from the Greek \textit{kardia (heart)}, in reference to its shape, and was given to it by Johan Castillon (Wikipedia). - \begin{tkzexample}[latex=7cm,small] - \begin{tikzpicture}[scale=.5] - \tkzDefPoint(0,0){O} - \tkzDefPoint(2,0){A} - \foreach \ang in {5,10,...,360}{% - \tkzDefPoint(\ang:2){M} - \tkzDrawCircle(M,A) - } - \end{tikzpicture} - \end{tkzexample} +\begin{tkzexample}[latex=7cm,small] +\begin{tikzpicture}[scale=.5] + \tkzDefPoint(0,0){O} + \tkzDefPoint(2,0){A} + \foreach \ang in {5,10,...,360}{% + \tkzDefPoint(\ang:2){M} + \tkzDrawCircle(M,A) + } +\end{tikzpicture} +\end{tkzexample} \subsection{Draw a semicircle} -\begin{NewMacroBox}{tkzDrawSemiCircle}{\oarg{local options}\parg{A,B} ou \parg{A,B,C}} -\tkzHandBomb\ Attention the arguments are lists of two or three points. This macro is either used in partnership with \tkzcname{tkzGetPoint} and/or \tkzcname{tkzGetLength} to obtain the center and the radius of the circle, or by using \\ \tkzname{tkzPointResult} and \tkzname{tkzLengthResult} if it is not necessary to keep the results. - +\begin{NewMacroBox}{tkzDrawSemiCircle}{\oarg{local options}\parg{A,B}}% \medskip -\begin{tabular}{lll} +\begin{tabular}{lll}% +\toprule +arguments & example & explication \\ +\midrule +\TAline{\parg{pt1,pt2}}{\parg{O,A} or\parg{A,B}} {radius or diameter} +\bottomrule +\end{tabular} + +\medskip +\begin{tabular}{lll}% \toprule options & default & definition \\ \midrule \TOline{through} {through}{circle characterized by two points defining a radius} \TOline{diameter} {through}{circle characterized by two points defining a diameter} - \bottomrule \end{tabular} +\end{NewMacroBox} +\subsubsection{Use of \tkzcname{tkzDrawSemiCircle}} + +\begin{tkzexample}[latex=6cm,small] + \begin{tikzpicture} + \tkzDefPoint(0,0){A} \tkzDefPoint(6,0){B} + \tkzDefSquare(A,B) \tkzGetPoints{C}{D} + \tkzDrawPolygon(B,C,D,A) + \tkzDefPoint(3,6){F} + \tkzDefTriangle[equilateral](C,D) \tkzGetPoint{I} + \tkzDefPointBy[projection=onto B--C](I) \tkzGetPoint{J} + \tkzInterLL(D,B)(I,J) \tkzGetPoint{K} + \tkzDefPointBy[symmetry=center K](B) \tkzGetPoint{M} + \tkzDrawCircle(M,I) + \tkzCalcLength(M,I) \tkzGetLength{dMI} + \tkzFillPolygon[color = red!50](A,B,C,D) + \tkzFillCircle[R,color = yellow](M,\dMI pt) + \tkzDrawSemiCircle[fill = blue!50!black](F,D)% + \end{tikzpicture} +\end{tkzexample} -\end{NewMacroBox} - \subsection{Colouring a disc} This was possible with the previous macro, but disk tracing was mandatory, this is no longer the case. -\begin{NewMacroBox}{tkzFillCircle}{\oarg{local options}\parg{A,B}} -\begin{tabular}{lll} +\begin{NewMacroBox}{tkzFillCircle}{\oarg{local options}\parg{A,B}}% +\begin{tabular}{lll}% options & default & definition \\ \midrule \TOline{radius} {radius}{two points define a radius} @@ -537,7 +474,7 @@ options & default & definition \\ \end{tabular} \medskip -You don't need to put \tkzname{radius} because that's the default option. Of course, you have to add all the styles of \TIKZ for the plots. +You don't need to put \tkzname{radius} because that's the default option. Of course, you have to add all the styles of \TIKZ\ for the plots. \end{NewMacroBox} \subsubsection{Example from a sangaku} @@ -564,25 +501,19 @@ You don't need to put \tkzname{radius} because that's the default option. Of cou \end{tikzpicture} \end{tkzexample} - - -\newpage \subsection{Clipping a disc} -\begin{NewMacroBox}{tkzClipCircle}{\oarg{local options}\parg{A,B} or \parg{A,r}} - - -\medskip -\begin{tabular}{lll} +\begin{NewMacroBox}{tkzClipCircle}{\oarg{local options}\parg{A,B} or \parg{A,r}}% +\begin{tabular}{lll}% \toprule -arguments & exemple & explication \\ +arguments & example & explication \\ \midrule \TAline{\parg{A,B} or \parg{A,r}}{\parg{A,B} or \parg{A,2cm}} {AB radius or diameter } \bottomrule \end{tabular} \medskip -\begin{tabular}{lll} +\begin{tabular}{lll}% options & default & definition \\ \midrule \TOline{radius} {radius}{circle characterized by two points defining a radius} @@ -614,10 +545,8 @@ It is not necessary to put \tkzname{radius} because that is the default option. \subsection{Giving a label to a circle} -\begin{NewMacroBox}{tkzLabelCircle}{\oarg{local options}\parg{A,B}\parg{angle}\marg{label}} -\begin{tabular}{lll} -\toprule - +\begin{NewMacroBox}{tkzLabelCircle}{\oarg{local options}\parg{A,B}\parg{angle}\marg{label}}% +\begin{tabular}{lll}% options & default & definition \\ \midrule \TOline{radius} {radius}{circle characterized by two points defining a radius} @@ -644,7 +573,7 @@ You don't need to put \tkzname{radius} because that's the default option. We can \tkzFillCircle[color=blue!20,opacity=.4](O,M) \tkzLabelCircle[R,draw,fill=orange,% text width=2cm,text centered](O,3 cm)(-60)% - {Le cercle\\ $\mathcal{C}$} + {The circle\\ $\mathcal{C}$} \tkzDrawPoints(M,P)\tkzLabelPoints[right](M,P) \end{tikzpicture} \end{tkzexample} |