summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/tkz-base/tkz-obj-points.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/tkz-base/tkz-obj-points.tex')
-rw-r--r--Master/texmf-dist/tex/latex/tkz-base/tkz-obj-points.tex74
1 files changed, 37 insertions, 37 deletions
diff --git a/Master/texmf-dist/tex/latex/tkz-base/tkz-obj-points.tex b/Master/texmf-dist/tex/latex/tkz-base/tkz-obj-points.tex
index 39f2c391cc6..5676d60a6b4 100644
--- a/Master/texmf-dist/tex/latex/tkz-base/tkz-obj-points.tex
+++ b/Master/texmf-dist/tex/latex/tkz-base/tkz-obj-points.tex
@@ -1,13 +1,13 @@
% tkz-obj-points.tex
-% Copyright 2011 by Alain Matthes
+% Copyright 2020 by Alain Matthes
%
% This file may be distributed and/or modified
%
% 1. under the LaTeX Project Public License and/or
% 2. under the GNU Public License.
-\def\fileversion{3.01c}
-\def\filedate{2020/01/23}
-\typeout{2020/01/23 3.01c tkz-obj-points.tex}
+\def\fileversion{3.02c}
+\def\filedate{2020/01/24}
+\typeout{2020/01/24 3.02c tkz-obj-points.tex}
%<--------------------------------------------------------------------------–>
% init def point
%<--------------------------------------------------------------------------–>
@@ -80,7 +80,7 @@
%<--------------------------------------------------------------------------–>
% options pour point definition
%<--------------------------------------------------------------------------–>
-\pgfkeys{/@tkzpt/.cd,
+\pgfkeys{/tkzPt/.cd,
polar/.is if = tkz@pt@polar,
polar/.default = true,
polar = false
@@ -89,8 +89,8 @@
% tkz@ptStar
%<--------------------------------------------------------------------------–>
\def\tkz@ptStar[#1](#2,#3)#{%
-\pgfkeys{/@tkzpt/.cd, polar = false}
-\pgfqkeys{/@tkzpt}{#1}
+\pgfkeys{/tkzPt/.cd, polar = false}
+\pgfqkeys{/tkzPt}{#1}
\iftkz@pt@polar%
\edef\tkz@x{\fpeval{#3*cosd(#2)}}
\edef\tkz@y{\fpeval{#3*sind(#2)}}
@@ -146,21 +146,21 @@
%<--------------------------------------------------------------------------–>
% tkzSetUpPoint définit la forme d'un point
%<--------------------------------------------------------------------------–>
-\pgfkeys{/@setuppt/.cd,
- size/.store in = \tkz@pt@size,
- color/.store in = \tkz@pt@color,
- fill/.store in = \tkz@pt@fill,
- shape/.store in = \tkz@pt@shape,
- size = \tkz@euc@pointsize,
- color = \tkz@euc@pointcolor,
- fill = \tkz@euc@pointcolor,
- shape = \tkz@euc@pointshape,
- /@setuppt/.search also = {/tikz},
- }
-\def\tkzSetUpPoint{\pgfutil@ifnextchar[{\tkzActivOff\tkz@SetUpPoint}{%
- \tkzActivOff\tkz@SetUpPoint[]}}
+\pgfkeys{/tkzsetuppt/.cd,
+ size/.store in = \tkz@pt@size,
+ color/.store in = \tkz@pt@color,
+ fill/.store in = \tkz@pt@fill,
+ shape/.store in = \tkz@pt@shape,
+ size = \tkz@euc@pointsize,
+ color = \tkz@euc@pointcolor,
+ fill = \tkz@euc@pointcolor,
+ shape = \tkz@euc@pointshape,
+ /tkzsetuppt/.search also = {/tikz},
+ }
+\def\tkzSetUpPoint{\pgfutil@ifnextchar[{\tkz@SetUpPoint}{%
+ \tkz@SetUpPoint[]}}
\def\tkz@SetUpPoint[#1]{%
-\pgfqkeys{/@setuppt}{#1}
+\pgfqkeys{/tkzsetuppt}{#1}
% redefine point style with new values
\tikzset{point style/.style={draw = \tkz@pt@color,
inner sep = 0pt,
@@ -173,17 +173,17 @@
%<--------------------------------------------------------------------------–>
% Draw Point
%<--------------------------------------------------------------------------–>
-\pgfkeys{/@drawpoint/.cd,
+\pgfkeys{/tkzdrawpt/.cd,
size/.code = {\tikzset{point style/.append style={minimum size = #1}}},
size = \tkz@euc@pointsize,
- /@drawpoint/.search also = {/tikz},
+ /tkzdrawpt/.search also = {/tikz},
}
%<--------------------------------------------------------------------------
\def\tkzDrawPoint{\pgfutil@ifnextchar[{\tkz@DrawPoint}{\tkz@DrawPoint[]}}
\def\tkz@DrawPoint[#1](#2){%
\begingroup
- \pgfqkeys{/@drawpoint}{#1}
- \node[point style,/@drawpoint/.cd,#1] at (#2) {};%2016
+ \pgfqkeys{/tkzdrawpt}{#1}
+ \node[point style,/tkzdrawpt/.cd,#1] at (#2) {};%2016
\endgroup
}
%<--------------------------------------------------------------------------–>
@@ -191,8 +191,8 @@
%<--------------------------------------------------------------------------–>
\def\tkz@drawpts[#1](#2){%
\begingroup
- \pgfqkeys{/@drawpoint}{#1}
- \foreach \point in {#2}{\node[point style,/@drawpoint/.cd,#1] at (\point) {};} %2016
+ \pgfqkeys{/tkzdrawpt}{#1}
+ \foreach \point in {#2}{\node[point style,/tkzdrawpt/.cd,#1] at (\point) {};} %2016
\endgroup
}
%<--------------------------------------------------------------------------–>
@@ -240,25 +240,25 @@
%<--------------------------------------------------------------------------–>
%<--------------------------------------------------------------------------–>
-\pgfkeys{/@tkzautolab/.cd,
+\pgfkeys{/tkzautolab/.cd,
center/.store in = \tkz@center,
dist/.store in = \tkz@dist,
dist = 0.15,
- /@tkzautolab/.search also = {/tikz},
+ /tkzautolab/.search also = {/tikz},
}
\def\tkzAutoLabelPoints{\pgfutil@ifnextchar[{\tkz@AutoLabelPoints}{%
\tkz@AutoLabelPoints[]}}%
\def\tkz@AutoLabelPoints[#1](#2){%
\begingroup
-\pgfqkeys{/@tkzautolab}{#1}
+\pgfqkeys{/tkzautolab}{#1}
\foreach \point in {#2}{
- \path (\tkz@center) -- ($ (\point) + \tkz@dist*($(\point)-(\tkz@center)$) $) node[/@tkzautolab/.cd,#1]{$\point$};}
+ \path (\tkz@center) -- ($ (\point) + \tkz@dist*($(\point)-(\tkz@center)$) $) node[/tkzautolab/.cd,#1]{$\point$};}
\endgroup
}%
%<--------------------------------------------------------------------------–>
% PointShowCoord
%<--------------------------------------------------------------------------–>
-\pgfkeys{/@tkzprcoord/.cd,
+\pgfkeys{/tkzprcoord/.cd,
xlabel/.store in = \tkz@xlabel,
ylabel/.store in = \tkz@ylabel,
xstyle/.code = {\tikzset{xcoord style/.append style={#1}}},
@@ -273,19 +273,19 @@
ystyle = {},
noxdraw = false,
noydraw = false,
- /@tkzprcoord/.search also = {/tikz},
+ /tkzprcoord/.search also = {/tikz},
}
\def\tkzPointShowCoord{\pgfutil@ifnextchar[{\tkz@PointShowCoord}{\tkz@PointShowCoord[]}}
\def\tkz@PointShowCoord[#1](#2){%
\begingroup
-\pgfqkeys{/@tkzprcoord}{#1}
+\pgfqkeys{/tkzprcoord}{#1}
% 2019 for showcoord
\iftkznodedefined{tkz@xline}{}{%
\path (0,0) --(1,0) node(tkz@xline){};
\path (0,0) --(0,1) node(tkz@yline){};
}
-\iftkz@coord@noxdraw\else\draw[arrow coord style,/@tkzprcoord/.cd,#1] (#2)--(#2 |- tkz@xline);\fi
-\iftkz@coord@noydraw\else\draw[arrow coord style,/@tkzprcoord/.cd,#1] (#2)--(#2 -| tkz@yline);\fi
+\iftkz@coord@noxdraw\else\draw[arrow coord style,/tkzprcoord/.cd,#1] (#2)--(#2 |- tkz@xline);\fi
+\iftkz@coord@noydraw\else\draw[arrow coord style,/tkzprcoord/.cd,#1] (#2)--(#2 -| tkz@yline);\fi
\ifx\tkzutil@empty\tkz@xlabel
\else
\path (#2)--(#2 |- tkz@xline)
@@ -298,6 +298,7 @@
\fi
\endgroup
}
+\let\tkzShowPointCoord\tkzPointShowCoord
%<--------------------------------------------------------------------------–>
% Coordonnées d'un point
% result in #2x et #2y #1 est le point et on récupère ses coordonnées
@@ -322,6 +323,5 @@
\pgfextracty{\pgf@y}{\pgfpointanchor{#1}{center}}
}
\let\tkzGetPointxy\tkzGetPointCoord
-%<--------------------------------------------------------------------------–>
\makeatother
\endinput