From 973884a3fae9230a1d3317c8a2d7725e580fa67b Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 9 Mar 2020 21:12:25 +0000 Subject: tkz-base (9mar20) git-svn-id: svn://tug.org/texlive/trunk@54199 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/tkz-base/tkz-base.cfg | 23 ++-- Master/texmf-dist/tex/latex/tkz-base/tkz-base.sty | 47 ++++++--- .../tex/latex/tkz-base/tkz-lib-marks.tex | 23 ++-- .../texmf-dist/tex/latex/tkz-base/tkz-obj-axes.tex | 23 ++-- .../tex/latex/tkz-base/tkz-obj-grids.tex | 23 ++-- .../tex/latex/tkz-base/tkz-obj-marks.tex | 29 +++-- .../tex/latex/tkz-base/tkz-obj-points.tex | 35 +++--- .../texmf-dist/tex/latex/tkz-base/tkz-obj-rep.tex | 23 ++-- .../texmf-dist/tex/latex/tkz-base/tkz-tools-BB.tex | 23 ++-- .../tex/latex/tkz-base/tkz-tools-arith.tex | 23 ++-- .../tex/latex/tkz-base/tkz-tools-base.tex | 22 ++-- .../tex/latex/tkz-base/tkz-tools-math.tex | 117 --------------------- .../tex/latex/tkz-base/tkz-tools-misc.tex | 23 ++-- .../tex/latex/tkz-base/tkz-tools-modules.tex | 23 ++-- .../tex/latex/tkz-base/tkz-tools-print.tex | 23 ++-- .../tex/latex/tkz-base/tkz-tools-text.tex | 23 ++-- .../tex/latex/tkz-base/tkz-tools-utilities.tex | 23 ++-- 17 files changed, 277 insertions(+), 249 deletions(-) delete mode 100644 Master/texmf-dist/tex/latex/tkz-base/tkz-tools-math.tex (limited to 'Master/texmf-dist/tex/latex/tkz-base') diff --git a/Master/texmf-dist/tex/latex/tkz-base/tkz-base.cfg b/Master/texmf-dist/tex/latex/tkz-base/tkz-base.cfg index b3a5fd95472..2acb32861ee 100644 --- a/Master/texmf-dist/tex/latex/tkz-base/tkz-base.cfg +++ b/Master/texmf-dist/tex/latex/tkz-base/tkz-base.cfg @@ -1,18 +1,25 @@ % tkz-base.cfg -% Copyright 2020 by Alain Matthes +% Copyright 2020 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. +% The latest version of this license is in +% 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 file may be distributed and/or modified -% -% 1. under the LaTeX Project Public License and/or -% 2. under the GNU Public License. +% This work has the LPPL maintenance status “maintained”. +% +% The Current Maintainer of this work is Alain Matthes. % If you modify this original file, YOUR CHANGES WILL BE LOST when it is % updated. Instead, put your changes in the entire copy of tkz-base.cfg % and save the file in a directory part of your TEXINPUTS environment % variable. -\def\fileversion{3.02c} -\def\filedate{2020/02/04} -\typeout{2020/02/04 3.02c tkz-base.cfg} +%utf8 encoding +\def\fileversion{3.05c} +\def\filedate{2020/03/03} +\typeout{2020/03/03 3.05c tkz-base.cfg} %<------ colors ---------------------------------------–> \def\tkz@backgroundcolor{white} \def\tkz@textcolor{black} diff --git a/Master/texmf-dist/tex/latex/tkz-base/tkz-base.sty b/Master/texmf-dist/tex/latex/tkz-base/tkz-base.sty index e52f3076ee1..56d93baed9d 100644 --- a/Master/texmf-dist/tex/latex/tkz-base/tkz-base.sty +++ b/Master/texmf-dist/tex/latex/tkz-base/tkz-base.sty @@ -1,19 +1,41 @@ -% tkz-base.sty % this file -% Copyright 2020\"\" by Alain Matthes +% tkz-base.sty % +% Copyright 2020 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. +% The latest version of this license is in +% 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 file may be distributed and/or modified -% -% 1. under the LaTeX Project Public License and/or -% 2. under the GNU Public License. -% This work consists of the main source file interfaces.dtx -% and the derived files -% tkz-base.sty % this file +% This work has the LPPL maintenance status “maintained”. +% +% The Current Maintainer of this work is Alain Matthes. +% This work consists of the files: +% tkz-base.sty +% tkz-base.cfg +% tkz-lib-marks.tex +% tkz-obj-axes.tex +% tkz-obj-grids.tex +% tkz-obj-marks.tex +% tkz-obj-points.tex +% tkz-obj-rep.tex +% tkz-tools-arith.tex +% tkz-tools-base.tex +% tkz-tools-BB.tex +% tkz-tools-misc.tex +% tkz-tools-modules.tex +% tkz-tools-print.tex +% tkz-tools-text.tex +% tkz-tools-utilities.tex + +% utf8 encoding %<--------------------------------------------------------------------------–> % Objet : Outils pour la création de graphiques géométriques %<--------------------------------------------------------------------------–> -\typeout{2020/01/24 3.02c tkz-base.sty} +\typeout{2020/03/03 3.05c tkz-base.sty} \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{tkz-base}[2020/01/24 3.02c tkz-base] +\ProvidesPackage{tkz-base}[2020/03/03 3.05c tkz-base] \ifx\e@alloc\@undefined \RequirePackage{etex} \fi @@ -37,9 +59,8 @@ quotes, shadows, shapes.misc, - snakes, through - } + }% remove snake library % Pour les les labels sur les axes \@ifpackageloaded{numprint}{} {\RequirePackage[autolanguage]{numprint}} % diff --git a/Master/texmf-dist/tex/latex/tkz-base/tkz-lib-marks.tex b/Master/texmf-dist/tex/latex/tkz-base/tkz-lib-marks.tex index 0c62abe0cf2..5ae1de142ec 100644 --- a/Master/texmf-dist/tex/latex/tkz-base/tkz-lib-marks.tex +++ b/Master/texmf-dist/tex/latex/tkz-base/tkz-lib-marks.tex @@ -1,13 +1,20 @@ % tkz-lib-marks.tex -% Copyright 2020 by Alain Matthes +% Copyright 2020 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. +% The latest version of this license is in +% 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 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.02c} -\def\filedate{2020/01/24} -\typeout{2020/01/24 3.02c tkz-lib-symbols.tex} +% This work has the LPPL maintenance status “maintained”. +% +% The Current Maintainer of this work is Alain Matthes. + +\def\fileversion{3.05c} +\def\filedate{2020/03/03} +\typeout{2020/03/03 3.05c tkz-lib-symbols.tex} \makeatletter %<--------------------------------------------------------------------------–> % Création des symboles diff --git a/Master/texmf-dist/tex/latex/tkz-base/tkz-obj-axes.tex b/Master/texmf-dist/tex/latex/tkz-base/tkz-obj-axes.tex index ebfd985c1f8..ddc800a8013 100644 --- a/Master/texmf-dist/tex/latex/tkz-base/tkz-obj-axes.tex +++ b/Master/texmf-dist/tex/latex/tkz-base/tkz-obj-axes.tex @@ -1,12 +1,21 @@ % tkz-obj-axes.tex -% 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. +% Copyright 2020 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. +% The latest version of this license is in +% 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”. +% +% The Current Maintainer of this work is Alain Matthes. + % utf8 encoding -\def\fileversion{3.02c} -\def\filedate{2020/01/24} -\typeout{2020/01/24 3.02c tkz-obj-axes.tex} +\def\fileversion{3.05c} +\def\filedate{2020/03/03} +\typeout{2020/03/03 3.05c tkz-obj-axes.tex} \newif\ifinteger \makeatletter \def\removedot#1.{#1} diff --git a/Master/texmf-dist/tex/latex/tkz-base/tkz-obj-grids.tex b/Master/texmf-dist/tex/latex/tkz-base/tkz-obj-grids.tex index 46892db8e2d..eb23c857c09 100644 --- a/Master/texmf-dist/tex/latex/tkz-base/tkz-obj-grids.tex +++ b/Master/texmf-dist/tex/latex/tkz-base/tkz-obj-grids.tex @@ -1,12 +1,21 @@ % tkz-obj-grids.tex -% 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. +% Copyright 2020 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. +% The latest version of this license is in +% 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”. +% +% The Current Maintainer of this work is Alain Matthes. + % utf8 encoding -\def\fileversion{3.02c} -\def\filedate{2020/01/24} -\typeout{2020/01/24 3.02c tkz-obj-grids.tex} +\def\fileversion{3.05c} +\def\filedate{2020/03/03} +\typeout{2020/03/03 3.05c tkz-obj-grids.tex} \makeatletter %<--------------------------------------------------------------------------–> % Setup Grid diff --git a/Master/texmf-dist/tex/latex/tkz-base/tkz-obj-marks.tex b/Master/texmf-dist/tex/latex/tkz-base/tkz-obj-marks.tex index 44d97388c0d..78a0785cae6 100644 --- a/Master/texmf-dist/tex/latex/tkz-base/tkz-obj-marks.tex +++ b/Master/texmf-dist/tex/latex/tkz-base/tkz-obj-marks.tex @@ -1,13 +1,22 @@ %tkz-obj-marks.tex -% Copyright 2020 by Alain Matthes +% Copyright 2020 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. +% The latest version of this license is in +% 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 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.02c} -\def\filedate{2020/01/24} -\typeout{2020/01/24 3.02c tkz-obj-marks.tex} +% This work has the LPPL maintenance status “maintained”. +% +% The Current Maintainer of this work is Alain Matthes. + + +% utf8 encoding +\def\fileversion{3.05c} +\def\filedate{2020/03/03} +\typeout{2020/03/03 3.05c tkz-obj-marks.tex} \makeatletter %<-------------------------------------------------------------------------–> % Setup Marks @@ -99,8 +108,8 @@ fill = \tkz@mk@color!50, size = \tkz@mk@size } -\def\tkzSetUpMark{\pgfutil@ifnextchar[{\tkzActivOff\tkz@SetUpMark}{% - \tkzActivOff\tkz@SetUpMark[]}} +\def\tkzSetUpMark{\pgfutil@ifnextchar[{\tkz@SetUpMark}{% + \tkz@SetUpMark[]}} \def\tkz@SetUpMark[#1]{% \pgfqkeys{/setupmk}{#1} 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 5676d60a6b4..8d3ea5b550e 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,21 @@ -% tkz-obj-points.tex -% Copyright 2020 by Alain Matthes + % tkz-obj-points.tex +% Copyright 2020 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. +% The latest version of this license is in +% 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 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.02c} -\def\filedate{2020/01/24} -\typeout{2020/01/24 3.02c tkz-obj-points.tex} +% This work has the LPPL maintenance status “maintained”. +% +% The Current Maintainer of this work is Alain Matthes. + + +\def\fileversion{3.05c} +\def\filedate{2020/03/03} +\typeout{2020/03/03 3.05c tkz-obj-points.tex} %<--------------------------------------------------------------------------–> % init def point %<--------------------------------------------------------------------------–> @@ -106,8 +114,7 @@ % la macro defpoint les coordonnées cartésiennes ou polaires sont traitées % afin de pouvoir être adaptées avec les unités choisies %<--------------------------------------------------------------------------–> -\def\tkzDefPoint{\pgfutil@ifnextchar[{\tkzActivOff\tkz@DefPoint}{% - \tkzActivOff\tkz@DefPoint[]}} +\def\tkzDefPoint{\pgfutil@ifnextchar[{\tkz@DefPoint}{\tkz@DefPoint[]}} \def\tkz@DefPoint[#1](#2)#{% \tkz@parsecoordinate{#2} @@ -231,8 +238,7 @@ \node[label style,#1] at (#2) {#3};}% %<--------------------------------------------------------------------------–> -\def\tkzLabelPoints{\pgfutil@ifnextchar[{\tkz@LabelPoints}{% - \tkz@LabelPoints[]}}% +\def\tkzLabelPoints{\pgfutil@ifnextchar[{\tkz@LabelPoints}{\tkz@LabelPoints[]}}% \def\tkz@LabelPoints[#1](#2){% \foreach \point in {#2}{ \node[label style,#1] at (\point) {$\point$};} @@ -246,8 +252,7 @@ dist = 0.15, /tkzautolab/.search also = {/tikz}, } -\def\tkzAutoLabelPoints{\pgfutil@ifnextchar[{\tkz@AutoLabelPoints}{% - \tkz@AutoLabelPoints[]}}% +\def\tkzAutoLabelPoints{\pgfutil@ifnextchar[{\tkz@AutoLabelPoints}{\tkz@AutoLabelPoints[]}}% \def\tkz@AutoLabelPoints[#1](#2){% \begingroup \pgfqkeys{/tkzautolab}{#1} diff --git a/Master/texmf-dist/tex/latex/tkz-base/tkz-obj-rep.tex b/Master/texmf-dist/tex/latex/tkz-base/tkz-obj-rep.tex index 2406dc791f4..ff1ee65f06b 100644 --- a/Master/texmf-dist/tex/latex/tkz-base/tkz-obj-rep.tex +++ b/Master/texmf-dist/tex/latex/tkz-base/tkz-obj-rep.tex @@ -1,13 +1,20 @@ % tkz-obj-rep.tex -% Copyright 2020 by Alain Matthes +% Copyright 2020 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. +% The latest version of this license is in +% 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 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.02c} -\def\filedate{2020/01/24} -\typeout{2020/01/24 3.02c tkz-obj-rep.tex} +% This work has the LPPL maintenance status “maintained”. +% +% The Current Maintainer of this work is Alain Matthes. +% utf8 encoding +\def\fileversion{3.05c} +\def\filedate{2020/03/03} +\typeout{2020/03/03 3.05c tkz-obj-rep.tex} \makeatletter %<--------------------------------------------------------------------------–> % repère diff --git a/Master/texmf-dist/tex/latex/tkz-base/tkz-tools-BB.tex b/Master/texmf-dist/tex/latex/tkz-base/tkz-tools-BB.tex index f9e58d75f0c..a6829b6835f 100644 --- a/Master/texmf-dist/tex/latex/tkz-base/tkz-tools-BB.tex +++ b/Master/texmf-dist/tex/latex/tkz-base/tkz-tools-BB.tex @@ -1,11 +1,20 @@ % tkz-tools-BB.tex -% 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.02c} -\def\filedate{2020/01/24} -\typeout{2020/01/24 3.02c tkz-obj-BB.tex} +% Copyright 2020 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. +% The latest version of this license is in +% 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”. +% +% The Current Maintainer of this work is Alain Matthes. +% utf8 encoding +\def\fileversion{3.05c} +\def\filedate{2020/03/03} +\typeout{2020/03/03 3.05c tkz-obj-BB.tex} \makeatletter %<--------------------------------------------------------------------------–> \pgfkeys{/tkzClip/.cd, diff --git a/Master/texmf-dist/tex/latex/tkz-base/tkz-tools-arith.tex b/Master/texmf-dist/tex/latex/tkz-base/tkz-tools-arith.tex index 4232b3a6354..c25572c7097 100644 --- a/Master/texmf-dist/tex/latex/tkz-base/tkz-tools-arith.tex +++ b/Master/texmf-dist/tex/latex/tkz-base/tkz-tools-arith.tex @@ -1,11 +1,20 @@ % tkz-tools-arith.tex -% 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.02c} -\def\filedate{2020/01/24} -\typeout{2020/01/24 3.02c tkz-tools-arith.tex} +% Copyright 2020 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. +% The latest version of this license is in +% 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”. +% +% The Current Maintainer of this work is Alain Matthes. +% utf8 encoding +\def\fileversion{3.05c} +\def\filedate{2020/03/03} +\typeout{2020/03/03 3.05c tkz-tools-arith.tex} % 1.161 test if "isfactor" is already defined % now with pgf 3.0 gcd isprime isodd iseven are defined %<--------------------------------------------------------------------------–> diff --git a/Master/texmf-dist/tex/latex/tkz-base/tkz-tools-base.tex b/Master/texmf-dist/tex/latex/tkz-base/tkz-tools-base.tex index fbd631d2eef..825c881e35a 100644 --- a/Master/texmf-dist/tex/latex/tkz-base/tkz-tools-base.tex +++ b/Master/texmf-dist/tex/latex/tkz-base/tkz-tools-base.tex @@ -1,12 +1,20 @@ % tkz-tools-base.tex -% 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. +% Copyright 2020 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. +% The latest version of this license is in +% 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”. +% +% The Current Maintainer of this work is Alain Matthes. % utf8 encoding -\def\fileversion{3.02c} -\def\filedate{2020/01/24} -\typeout{2020/01/24 3.02c tkz-tools-base.tex} +\def\fileversion{3.05c} +\def\filedate{2020/03/03} +\typeout{2020/03/03 3.05c tkz-tools-base.tex} \makeatletter %<--------------------------------------------------------------------------–> \global\let\tkz@tmp@xa\tkz@init@xmin% modif 2016 diff --git a/Master/texmf-dist/tex/latex/tkz-base/tkz-tools-math.tex b/Master/texmf-dist/tex/latex/tkz-base/tkz-tools-math.tex deleted file mode 100644 index f42d57397bc..00000000000 --- a/Master/texmf-dist/tex/latex/tkz-base/tkz-tools-math.tex +++ /dev/null @@ -1,117 +0,0 @@ -% tkz-tools-math.tex -% 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.02c} -\def\filedate{2020/01/24} -\typeout{2020/01/24 3.02c tkz-tools-math.tex} -\makeatletter -%<--------------------------------------------------------------------------> -% \tkzpointnormalised normalise un point A-->A' tq ||v(OA')=1|| -% équivalent de \pgfpointnormalised avec fp -% example -% \tkzpointnormalised{% -% \pgfpointdiff{\pgfpointanchor{A}{center}} -% {\pgfpointanchor{B}{center}}} - -% or -% \pgf@x=1 cm -% \pgf@y=12 cm -% \tkzpointnormalised{} -%<-------------------------------------------------------------------------- -\def\tkzpointnormalised#1{% -\pgf@process{#1}% -\edef\tkz@den{\fpeval{sqrt((\pgf@x)^2+(\pgf@y)^2)}} -\edef\tkz@coordx{\fpeval{\pgf@x/\tkz@den}} -\edef\tkz@coordx{\fpeval{round(\tkz@coordx,5)}} -\edef\tkz@coordy{\fpeval{\pgf@y/\tkz@den}} -\edef\tkz@coordy{\fpeval{round(\tkz@coordy,5)}} -\pgf@x = \tkz@coordx pt -\pgf@y = \tkz@coordy pt -} -%<--------------------------------------------------------------------------> -% restaure and save length -\def\tkz@save@length{% -\global\let\tkz@temp@length\tkzLengthResult}% -\def\tkz@restore@length{% - \global\let\tkzLengthResult\tkz@temp@length }% -%<--------------------------------------------------------------------------> -% \tkzCalcLength Distance entre deux points en pt ou en cm avec xfp -% \veclen mais avec fp -% option cm le résultat est en cm sinon en pt -%<--------------------------------------------------------------------------> -\pgfkeys{tkzcalclen/.cd, - cm/.is if = tkzLengthIncm, - cm/.default = true} - -\def\tkzCalcLength{\pgfutil@ifnextchar[{\tkz@CalcLength}{\tkz@CalcLength[]}} -\def\tkz@CalcLength[#1](#2,#3){% -\pgfkeys{tkzcalclen/.cd, cm = false} -\pgfqkeys{/tkzcalclen}{#1}% -\begingroup -\tkz@@CalcLength(#2,#3){tkzLengthResult} -\iftkzLengthIncm - \pgfmathparse{\tkz@xfpMathLen pt/1cm} - \edef\tkz@xfpMathLen{\fpeval{round(\pgfmathresult,5)}} - \global\let\tkzLengthResult\tkz@xfpMathLen -\fi -\endgroup -}% -\def\tkz@@CalcLength(#1,#2)#3{% -\pgfpointdiff{\pgfpointanchor{#1}{center}}% - {\pgfpointanchor{#2}{center}}% -\edef\tkz@xfpMathLen{\fpeval{sqrt((\pgf@x)^2+(\pgf@y)^2)}} -\edef\tkz@xfpMathLen{\fpeval{round(\tkz@xfpMathLen,5)}} -\global\expandafter\edef\csname #3\endcsname{\tkz@xfpMathLen} -} -%<--------------------------------------------------------------------------> -\def\tkzGetLength#1{% -\global\expandafter\edef\csname #1\endcsname{\tkzLengthResult}} -%<--------------------------------------------------------------------------> -% \tkzpttocm passage de pt   cm div par 28.45274 -%<--------------------------------------------------------------------------> -\def\tkzpttocm(#1)#2{% -\begingroup - \pgfmathparse{#1/1cm} - \edef\tkz@mathresult{\fpeval{round(\pgfmathresult,5)}} - \global\let\tkz@mathresult\tkz@mathresult - \global\expandafter\edef\csname #2\endcsname{\tkz@mathresult}% -\endgroup -}% -%<--------------------------------------------------------------------------> -% \tkzcmtopt passage de cm   pt mul par 28.45274 -%<-------------------------------------------------------------------------- -\def\tkzcmtopt(#1)#2{% -\begingroup - \pgfmathparse{#1/1pt} - \edef\tkz@mathresult{\fpeval{round(\pgfmathresult,5)}} - \global\let\tkz@mathresult\tkz@mathresult - \global\expandafter\edef\csname #2\endcsname{\tkz@mathresult}% -\endgroup -}% -%<--------------------------------------------------------------------------> -% Slope -%<--------------------------------------------------------------------------> -\def\tkzFindSlope{\tkz@FindSlope} -\def\tkz@FindSlope(#1,#2)#3{% -\begingroup - \tkzpointnormalised{\pgfpointdiff{\pgfpointanchor{#1}{center}}% - {\pgfpointanchor{#2}{center}}} - \edef\tkz@Slope{\fpeval{\pgfmath@tonumber{\pgf@y}/\pgfmath@tonumber{\pgf@x}}} - \edef\tkz@Slope{\fpeval{round(\tkz@Slope,5)}} - \global\expandafter\edef\csname #3\endcsname{\tkz@Slope}% -\endgroup -} -% Schrodinger's cat idea 03/01/20 -\tikzset{xfp/.code={% -\pgfmathdeclarefunction*{veclen}{2}{% -\begingroup% - \pgfmath@x##1pt\relax% - \pgfmath@y##2pt\relax% - \edef\tkz@xfpMathLen{\fpeval{sqrt((\pgf@x)^2+(\pgf@y)^2)}} - \pgfmath@returnone\tkz@xfpMathLen pt% -\endgroup% -}}} - \makeatother -\endinput \ No newline at end of file diff --git a/Master/texmf-dist/tex/latex/tkz-base/tkz-tools-misc.tex b/Master/texmf-dist/tex/latex/tkz-base/tkz-tools-misc.tex index 2bd39efc4b6..c5bd7f2f91c 100644 --- a/Master/texmf-dist/tex/latex/tkz-base/tkz-tools-misc.tex +++ b/Master/texmf-dist/tex/latex/tkz-base/tkz-tools-misc.tex @@ -1,11 +1,20 @@ % tkz-tools-misc.tex -% 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.02c} -\def\filedate{2020/01/24} -\typeout{2020/01/24 3.02c tkz-tools-misc.tex} +% Copyright 2020 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. +% The latest version of this license is in +% 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”. +% +% The Current Maintainer of this work is Alain Matthes. +% utf8 encoding +\def\fileversion{3.05c} +\def\filedate{2020/03/03} +\typeout{2020/03/03 3.05c tkz-tools-misc.tex} \makeatletter %<--------------------------------------------------------------------------–> % hline pb avec line diff --git a/Master/texmf-dist/tex/latex/tkz-base/tkz-tools-modules.tex b/Master/texmf-dist/tex/latex/tkz-base/tkz-tools-modules.tex index 81525e824a7..8197dc7a4e2 100644 --- a/Master/texmf-dist/tex/latex/tkz-base/tkz-tools-modules.tex +++ b/Master/texmf-dist/tex/latex/tkz-base/tkz-tools-modules.tex @@ -1,11 +1,20 @@ % tkz-tools-modules -% 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.02c} -\def\filedate{2020/01/24} -\typeout{2020/01/24 3.02c tkz-tools-utilities.tex} +% Copyright 2020 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. +% The latest version of this license is in +% 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”. +% +% The Current Maintainer of this work is Alain Matthes. +% utf8 encoding +\def\fileversion{3.05c} +\def\filedate{2020/03/03} +\typeout{2020/03/03 3.05c tkz-tools-utilities.tex} \makeatletter %<------------- % chargement des modules ----------------------------------> \def\tkz@obj@all{angles,arcs,compass,defcircles,deflines,defpoints,defpointsby,defpointsrnd,defpointswith,polygons,protractor,sectors,show,triangles}% diff --git a/Master/texmf-dist/tex/latex/tkz-base/tkz-tools-print.tex b/Master/texmf-dist/tex/latex/tkz-base/tkz-tools-print.tex index 20e53a8b487..d61b81e39af 100644 --- a/Master/texmf-dist/tex/latex/tkz-base/tkz-tools-print.tex +++ b/Master/texmf-dist/tex/latex/tkz-base/tkz-tools-print.tex @@ -1,11 +1,20 @@ % tkz-tool-print.tex -% 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.02c} -\def\filedate{2020/01/24} -\typeout{2020/01/24 3.02c tkz-tools-print.tex} +% Copyright 2020 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. +% The latest version of this license is in +% 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”. +% +% The Current Maintainer of this work is Alain Matthes. +% utf8 encoding +\def\fileversion{3.05c} +\def\filedate{2020/03/03} +\typeout{2020/03/03 3.05c tkz-tools-print.tex} \makeatletter %<------------- tkzPrintFrac ----------------------------------> \def\tkzPrintFrac#1#2{% diff --git a/Master/texmf-dist/tex/latex/tkz-base/tkz-tools-text.tex b/Master/texmf-dist/tex/latex/tkz-base/tkz-tools-text.tex index b9397961cd4..d8d4d804b39 100644 --- a/Master/texmf-dist/tex/latex/tkz-base/tkz-tools-text.tex +++ b/Master/texmf-dist/tex/latex/tkz-base/tkz-tools-text.tex @@ -1,11 +1,20 @@ % tkz-tools-text.tex -% 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.02c} -\def\filedate{2020/01/24} -\typeout{2020/01/24 3.02c tkz-tools-text.tex} +% Copyright 2020 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. +% The latest version of this license is in +% 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”. +% +% The Current Maintainer of this work is Alain Matthes. +% utf8 encoding +\def\fileversion{3.05c} +\def\filedate{2020/03/03} +\typeout{2020/03/03 3.05c tkz-tools-text.tex} \makeatletter %<--------------------------------------------------------------------------–> % tkzText diff --git a/Master/texmf-dist/tex/latex/tkz-base/tkz-tools-utilities.tex b/Master/texmf-dist/tex/latex/tkz-base/tkz-tools-utilities.tex index 70739d9a4ba..5c02aad0d5f 100644 --- a/Master/texmf-dist/tex/latex/tkz-base/tkz-tools-utilities.tex +++ b/Master/texmf-dist/tex/latex/tkz-base/tkz-tools-utilities.tex @@ -1,11 +1,20 @@ % tkz-tools-utilities -% 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.02c} -\def\filedate{2020/01/24} -\typeout{2020/01/24 3.02c tkz-tools-utilities.tex} +% Copyright 2020 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. +% The latest version of this license is in +% 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”. +% +% The Current Maintainer of this work is Alain Matthes. +% utf8 encoding +\def\fileversion{3.05c} +\def\filedate{2020/03/03} +\typeout{2020/03/03 3.05c tkz-tools-utilities.tex} \makeatletter % for testing results \def\extractxy#1{% -- cgit v1.2.3