summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/tkz/tkz-euclide/latex/tkz-obj-eu-circles.tex
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2020-02-07 03:01:03 +0000
committerNorbert Preining <norbert@preining.info>2020-02-07 03:01:03 +0000
commit9c4a09ca6a4130e71ba545412319aaee3c618460 (patch)
tree52b4c3ee8dc02613fc8ce4faffe5292e10e5d10a /macros/latex/contrib/tkz/tkz-euclide/latex/tkz-obj-eu-circles.tex
parente684f0597e24a1d09af301d82b340b2df7cf2080 (diff)
CTAN sync 202002070301
Diffstat (limited to 'macros/latex/contrib/tkz/tkz-euclide/latex/tkz-obj-eu-circles.tex')
-rw-r--r--macros/latex/contrib/tkz/tkz-euclide/latex/tkz-obj-eu-circles.tex41
1 files changed, 20 insertions, 21 deletions
diff --git a/macros/latex/contrib/tkz/tkz-euclide/latex/tkz-obj-eu-circles.tex b/macros/latex/contrib/tkz/tkz-euclide/latex/tkz-obj-eu-circles.tex
index aa1b259d8a..9a3a726658 100644
--- a/macros/latex/contrib/tkz/tkz-euclide/latex/tkz-obj-eu-circles.tex
+++ b/macros/latex/contrib/tkz/tkz-euclide/latex/tkz-obj-eu-circles.tex
@@ -1,12 +1,12 @@
% tkz-obj-eu-circles.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-eu-circles.tex}
+\def\fileversion{3.02c}
+\def\filedate{2020/01/24}
+\typeout{2020/01/24 3.02c tkz-obj-eu-circles.tex}
\makeatletter
%<--------------------------------------------------------------------------–>
% tkzCircle center and one point
@@ -16,30 +16,30 @@
% no need to define a circle with R tikz uses this method.
% through instead of radius
\def\tkz@numc{0}
-\pgfkeys{/tkzDefCircle/.cd,
+\pgfkeys{/tkzcircle/.cd,
through/.code = \def\tkz@numc{0},
radius/.code = \def\tkz@numc{0},
diameter/.code = \def\tkz@numc{1},
circum/.code = \def\tkz@numc{2},
in/.code = \def\tkz@numc{3},
- ex/.code = \def\tkz@numc{4},% new
+ ex/.code = \def\tkz@numc{4},
euler/.code = \def\tkz@numc{5},
nine/.code = \def\tkz@numc{5},
apollonius/.code = \def\tkz@numc{6},
- orthogonal from/.code args = {#1}{\def\tkz@ptfrom{#1},
+ orthogonal from/.code args = {#1}{\def\tkz@ptfrom{#1}
\def\tkz@numc{7}},
orthogonal through/.code args = {#1 and #2}{\def\tkz@ptone{#1}
\def\tkz@pttwo{#2}
\def\tkz@numc{8}},
spieker/.code = \def\tkz@numc{9},
- K/.code = \def\tkz@koeff{#1},% apollonius
+ K/.code = \def\tkz@koeff{#1},
K = 1,
through
}
\def\tkzDefCircle{\pgfutil@ifnextchar[{\tkz@DefCircle}{\tkz@DefCircle[]}}
\def\tkz@DefCircle[#1](#2){%
\begingroup
-\pgfqkeys{/tkzDefCircle}{#1}
+\pgfqkeys{/tkzcircle}{#1}
\ifcase\tkz@numc%
\tkzDefCircleThrough(#2)%
\or% 1
@@ -63,7 +63,6 @@
\fi
\endgroup
}
-
%<--------------------------------------------------------------------------–>
% Circum Circle
%<--------------------------------------------------------------------------–>
@@ -150,7 +149,7 @@
%<--------------------------------------------------------------------------–>
% Apollonius radius
%<--------------------------------------------------------------------------–>
-\pgfkeys{/tkzApolloniusR/.cd,
+\pgfkeys{/tkzapor/.cd,
K/.code = \def\tkz@koeff{#1},% apollonius
K = 1
}
@@ -158,7 +157,7 @@
\tkz@DefApolloniusRadius}{\tkz@DefApolloniusRadius[]}}
\def\tkz@DefApolloniusRadius[#1](#2,#3){%
\begingroup
- \pgfqkeys{/tkzApolloniusR}{#1}
+ \pgfqkeys{/tkzapor}{#1}
\tkz@VecK[\tkz@koeff/(1+\tkz@koeff)](#2,#3)
\pgfnodealias{apo@pta}{tkzPointResult}
\tkz@VecK[\tkz@koeff/(\tkz@koeff-1)](#2,#3)
@@ -171,28 +170,28 @@
% Apollonius point
%<--------------------------------------------------------------------------–>
-\pgfkeys{/tkzApolloniusP/.cd,
- K/.code = \def\tkz@koeff{#1},% apollonius
- K = 1
+\pgfkeys{/tkzapop/.cd,
+ K/.code = \def\tkz@koeff{#1},% apollonius
+ K = 1
}
\def\tkzDefApolloniusPoint{\pgfutil@ifnextchar[{\tkz@DefApolloniusPoint}{\tkz@DefApolloniusPoint[]}}
\def\tkz@DefApolloniusPoint[#1](#2,#3){%
\begingroup
- \pgfqkeys{/tkzApolloniusP}{#1}
+ \pgfqkeys{/tkzapop}{#1}
\tkzDefBarycentricPoint(#2=1,#3=\tkz@koeff)
\endgroup
}
%<--------------------------------------------------------------------------–>
% Apollonius center
%<--------------------------------------------------------------------------–>
-\pgfkeys{/tkzApolloniusC/.cd,
- K/.code = \def\tkz@koeff{#1},% apollonius
- K = 1
+\pgfkeys{/tkzapoc/.cd,
+ K/.code = \def\tkz@koeff{#1},% apollonius
+ K = 1
}
\def\tkzApolloniusCenter{\pgfutil@ifnextchar[{\tkz@ApolloniusCenter}{\tkz@ApolloniusCenter[]}}
\def\tkz@ApolloniusCenter[#1](#2,#3){%
\begingroup
- \pgfqkeys{/tkzApolloniusC}{#1}
+ \pgfqkeys{/tkzapoc}{#1}
\tkz@VecK[\tkz@koeff/(1+\tkz@koeff)](#2,#3)
\pgfnodealias{tkzFirstPointResult}{tkzPointResult}
\tkz@VecK[\tkz@koeff/(\tkz@koeff-1)](#2,#3)
@@ -227,7 +226,7 @@
\pgfnodealias{tkz@spka}{tkzPointResult}
\tkzDefMidPoint(#1,#2)
\tkzUProjection(#1,#2)(tkzPointResult)
- \tkzCalcLength(tkz@spka,tkzPointResult)
+ \tkzCalcLength(tkz@spka,tkzPointResult)
\endgroup
}
%<--------------------------------------------------------------------------–>