texlive[53530] Master/texmf-dist: tkz-base (24jan20)
commits+karl at tug.org
commits+karl at tug.org
Fri Jan 24 22:42:10 CET 2020
Revision: 53530
http://tug.org/svn/texlive?view=revision&revision=53530
Author: karl
Date: 2020-01-24 22:42:09 +0100 (Fri, 24 Jan 2020)
Log Message:
-----------
tkz-base (24jan20)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/latex/tkz-base/README
trunk/Master/texmf-dist/tex/latex/tkz-base/tkz-base.cfg
trunk/Master/texmf-dist/tex/latex/tkz-base/tkz-base.sty
trunk/Master/texmf-dist/tex/latex/tkz-base/tkz-obj-marks.tex
trunk/Master/texmf-dist/tex/latex/tkz-base/tkz-obj-points.tex
trunk/Master/texmf-dist/tex/latex/tkz-base/tkz-tools-arith.tex
trunk/Master/texmf-dist/tex/latex/tkz-base/tkz-tools-base.tex
trunk/Master/texmf-dist/tex/latex/tkz-base/tkz-tools-math.tex
trunk/Master/texmf-dist/tex/latex/tkz-base/tkz-tools-misc.tex
trunk/Master/texmf-dist/tex/latex/tkz-base/tkz-tools-utilities.tex
Added Paths:
-----------
trunk/Master/texmf-dist/doc/latex/tkz-base/TKZdoc-base.pdf
trunk/Master/texmf-dist/doc/latex/tkz-base/examples/how_to_compile.txt
trunk/Master/texmf-dist/doc/latex/tkz-base/examples/main.tex
trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-10-2-0.tex
trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-11-1-1.tex
trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-11-2-1.tex
trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-11-3-1.tex
trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-11-4-0.tex
trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-11-5-1.tex
trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-11-6-1.tex
trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-11-6-2.tex
trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-11-7-0.tex
trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-11-9-0.tex
trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-12-1-0.tex
trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-12-1-1.tex
trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-12-10-1.tex
trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-12-10-2.tex
trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-12-10-3.tex
trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-12-2-0.tex
trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-12-3-1.tex
trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-12-5-0.tex
trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-12-7-0.tex
trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-12-8-1.tex
trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-13-2-0.tex
trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-14-1-2.tex
trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-15-1-1.tex
trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-15-1-2.tex
trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-15-2-1.tex
trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-15-3-1.tex
trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-15-3-2.tex
trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-15-4-1.tex
trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-16-1-1.tex
trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-17-1-1.tex
trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-17-2-1.tex
trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-17-2-2.tex
trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-17-3-1.tex
trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-17-4-0.tex
trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-17-5-1.tex
trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-18-1-1.tex
trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-18-1-2.tex
trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-18-1-3.tex
trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-18-1-4.tex
trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-18-2-1.tex
trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-6-1-1.tex
trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-6-1-2.tex
trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-6-2-0.tex
trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-6-2-1.tex
trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-6-2-2.tex
trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-6-2-3.tex
trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-7-1-1.tex
trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-7-1-2.tex
trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-7-1-3.tex
trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-7-1-4.tex
trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-7-1-5.tex
trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-7-1-6.tex
trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-7-10-1.tex
trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-7-2-1.tex
trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-7-2-10.tex
trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-7-2-11.tex
trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-7-2-2.tex
trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-7-2-3.tex
trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-7-2-4.tex
trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-7-2-5.tex
trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-7-2-6.tex
trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-7-2-7.tex
trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-7-2-8.tex
trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-7-2-9.tex
trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-7-3-1.tex
trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-7-3-2.tex
trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-7-3-3.tex
trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-7-7-1.tex
trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-7-7-2.tex
trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-7-7-3.tex
trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-7-8-1.tex
trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-7-8-2.tex
trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-7-9-1.tex
trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-8-0-1.tex
trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-8-0-10.tex
trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-8-0-11.tex
trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-8-0-2.tex
trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-8-0-3.tex
trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-8-0-4.tex
trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-8-0-5.tex
trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-8-0-6.tex
trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-8-0-7.tex
trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-8-0-8.tex
trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-8-0-9.tex
trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-9-1-1.tex
trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-9-1-2.tex
trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-9-1-3.tex
trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-9-1-4.tex
trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-9-1-5.tex
trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-9-10-1.tex
trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-9-10-2.tex
trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-9-10-3.tex
trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-9-11-2.tex
trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-9-11-3.tex
trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-9-12-1.tex
trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-9-2-0.tex
trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-9-3-1.tex
trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-9-4-1.tex
trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-9-4-2.tex
trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-9-5-1.tex
trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-9-5-2.tex
trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-9-5-3.tex
trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-9-6-1.tex
trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-9-6-2.tex
trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-9-7-1.tex
trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-9-7-2.tex
trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-9-8-1.tex
trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-9-9-1.tex
trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-9-9-2.tex
trunk/Master/texmf-dist/tex/latex/tkz-base/tkz-lib-marks.tex
trunk/Master/texmf-dist/tex/latex/tkz-base/tkz-obj-axes.tex
trunk/Master/texmf-dist/tex/latex/tkz-base/tkz-obj-grids.tex
trunk/Master/texmf-dist/tex/latex/tkz-base/tkz-obj-rep.tex
trunk/Master/texmf-dist/tex/latex/tkz-base/tkz-tools-BB.tex
trunk/Master/texmf-dist/tex/latex/tkz-base/tkz-tools-modules.tex
trunk/Master/texmf-dist/tex/latex/tkz-base/tkz-tools-print.tex
trunk/Master/texmf-dist/tex/latex/tkz-base/tkz-tools-text.tex
Removed Paths:
-------------
trunk/Master/texmf-dist/doc/latex/tkz-base/examples/Makefile
trunk/Master/texmf-dist/doc/latex/tkz-base/examples/info_base_tex.txt
trunk/Master/texmf-dist/doc/latex/tkz-base/examples/latex/
trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbasepreamble.ltx
trunk/Master/texmf-dist/doc/latex/tkz-base/latex/
trunk/Master/texmf-dist/doc/latex/tkz-base/tkz-base-screen.pdf
trunk/Master/texmf-dist/tex/latex/tkz-base/tkz-obj-segments.tex
trunk/Master/texmf-dist/tex/latex/tkz-base/tkz-tools-obsolete.tex
Modified: trunk/Master/texmf-dist/doc/latex/tkz-base/README
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tkz-base/README 2020-01-24 10:00:38 UTC (rev 53529)
+++ trunk/Master/texmf-dist/doc/latex/tkz-base/README 2020-01-24 21:42:09 UTC (rev 53530)
@@ -1,24 +1,77 @@
-% encodage utf8
+% encodage utf8
-How to compile the sources
---------------------------
+readme-tkz-base.txt V3.01 c 2020/01/24
-All these files are in utf8.
+The package tkz-base provides some tools like a Cartesian (rectangular) coordinate system to other packages like tkz-euclide or tkz-fct.
+With this package, you can draw coordinate axis, grids, draw points, the
+principle is to specify the position of any point in two-dimensional space by an unique couple of coordinates.
-You only need to run
+Licence
+-------
-$ pdflatex TKZdoc-base-main.tex
+This program can be redistributed and/or modified under the terms
+of the LaTeX Project Public License Distributed from CTAN
+archives in directory macros/latex/base/lppl.txt.
-If you want the same index of my documentation
-$ cd path-to-the-sources
-$ pdflatex TKZdoc-base-main.tex
-$ makeindex -s base.ist TKZdoc-base-main.idx
-$ pdflatex TKZdoc-base-main.tex
-The end
+Features
+--------
+ -- needs xfp.sty, numprint;
+ -- requires and automatically loads PGF/TikZ > 3.0;
+ -- compiles with utf8, pdflatex, lualatex;
+
+Installation
+------------
+
+You can experiment with the tkz-base package by placing all of the
+distribution files in the directory containing your current tex file.
+
+You can also placing all of the distribution files in the directory :
+/texmf/tex/latex/tkz.
+
+How to use it
+-------------
+
+To use the package tkz-base, place the following lines in the preamble of
+ your LaTeX document.
+
+\usepackage{tkz-base}
+
+\usepackage{tkz-base} loads TikZ.
+\usetkzobj{all} loads all objects used by tkz-euclide.
+With \usepackage{tkz-euclide} you don't need to use \usetkzobj
+
+To avoid package conflicts, you need to load xcolor before TikZ or tkz-base or tkz-euclide
+
+Documentation
+-------------
+
+Documentations for tkz-base and tkz-euclide are available on CTAN and your distribution.
+
+
+Examples
+--------
+
+All examples given in documentation will be stored on CTAN as standalone
+ files, ready for compilation. You can use the main.tex file to load and compile an example.
+
+Other examples can be found on my site http://altermundus.fr (en français)
+
+Compatibility
+-------------
+
+The new package tkz-base 3.01c is *not* fully compatible with the version 1.16 but the differences are minor
+
+History
+-------
+
+-- 3.01c this version
+-- 1.16 correction of bugs
+-- 1.13 first version
+
Alain Matthes
5 rue de Valence
Paris 75005
- al (dot) ma (at) mac (dot) com
\ No newline at end of file
+ al (dot) ma (at) mac (dot) com
\ No newline at end of file
Added: trunk/Master/texmf-dist/doc/latex/tkz-base/TKZdoc-base.pdf
===================================================================
(Binary files differ)
Index: trunk/Master/texmf-dist/doc/latex/tkz-base/TKZdoc-base.pdf
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tkz-base/TKZdoc-base.pdf 2020-01-24 10:00:38 UTC (rev 53529)
+++ trunk/Master/texmf-dist/doc/latex/tkz-base/TKZdoc-base.pdf 2020-01-24 21:42:09 UTC (rev 53530)
Property changes on: trunk/Master/texmf-dist/doc/latex/tkz-base/TKZdoc-base.pdf
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/pdf
\ No newline at end of property
Deleted: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/Makefile
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tkz-base/examples/Makefile 2020-01-24 10:00:38 UTC (rev 53529)
+++ trunk/Master/texmf-dist/doc/latex/tkz-base/examples/Makefile 2020-01-24 21:42:09 UTC (rev 53530)
@@ -1,7 +0,0 @@
-all: doc
-
-doc:
- for datei in $$(ls *tex | cut -d \. -f 1) ; do make $$datei.pdf ; done
-
-%.pdf: %.tex
- pdflatex --shell-escape $*.tex
\ No newline at end of file
Added: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/how_to_compile.txt
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tkz-base/examples/how_to_compile.txt (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/tkz-base/examples/how_to_compile.txt 2020-01-24 21:42:09 UTC (rev 53530)
@@ -0,0 +1,2 @@
+If you want to compile the file tkzbase-6-1-1.tex.
+You add \input{tkzbase-6-1-1} inside the environment "document"
\ No newline at end of file
Property changes on: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/how_to_compile.txt
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Deleted: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/info_base_tex.txt
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tkz-base/examples/info_base_tex.txt 2020-01-24 10:00:38 UTC (rev 53529)
+++ trunk/Master/texmf-dist/doc/latex/tkz-base/examples/info_base_tex.txt 2020-01-24 21:42:09 UTC (rev 53530)
@@ -1,15 +0,0 @@
-2018/09/19
-
-This archive contains all the examples of the documentation about tkz-base.
-
-You need to compile a file with pdflatex to have in the same directory the file tkzbasepreamble.ltx. This file is present in the archive.
-
-You can also find Makefile in the archive. The way to use the Makefile is :
-
-$ cd <path of the archive>
-$ make
-
-Best regards
-
-Alain Matthes
-
Added: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/main.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tkz-base/examples/main.tex (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/tkz-base/examples/main.tex 2020-01-24 21:42:09 UTC (rev 53530)
@@ -0,0 +1,11 @@
+% !TEX TS-program = pdflatex
+% Created by Alain Matthes on 2020-01-23.
+% Copyright (c) 2020 __ AlterMundus __.
+
+\documentclass{standalone}
+%\usepackage{xcolor}
+\usepackage{tkz-euclide} %you can add tkz-fct etc.
+
+\begin{document}
+\input{tkzeuclide-5-0-0}
+\end{document}
\ No newline at end of file
Property changes on: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/main.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-10-2-0.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-10-2-0.tex (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-10-2-0.tex 2020-01-24 21:42:09 UTC (rev 53530)
@@ -0,0 +1,7 @@
+\tikzset{xaxe style/.style = {<->}}
+\tikzset{xlabel style/.style={below=6pt}}
+\begin{tikzpicture}
+ \tkzInit[xmin=-0.5,xmax=5]
+ \tkzDrawX
+ \tkzLabelX
+\end{tikzpicture}
Property changes on: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-10-2-0.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-11-1-1.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-11-1-1.tex (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-11-1-1.tex 2020-01-24 21:42:09 UTC (rev 53530)
@@ -0,0 +1,11 @@
+\begin{tikzpicture}[scale=.5]
+ \tkzInit[ymax=5,xmax=8]
+ \tkzGrid
+ \tkzDefPoint(3,0){A}
+ \begin{scope}
+ \tkzClipBB
+ \tkzDrawCircle[R](A,5 cm)
+ \tkzShowBB
+ \end{scope}
+\tkzDrawCircle[R,red](A,4 cm)
+\end{tikzpicture}
Property changes on: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-11-1-1.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-11-2-1.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-11-2-1.tex (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-11-2-1.tex 2020-01-24 21:42:09 UTC (rev 53530)
@@ -0,0 +1,12 @@
+ \begin{tikzpicture}
+ \tkzInit[xmin=-3,xmax=6, ymin=-1,ymax=6]
+ \tkzDefPoint(0,0){O}\tkzDefPoint(3,1){I}
+ \tkzDefPoint(1,4){J}
+ \tkzDefLine[bisector](I,O,J) \tkzGetPoint{i}
+ \tkzDefLine[bisector out](I,O,J) \tkzGetPoint{j}
+ \tkzDrawPoints(O,I,J,i,j)
+ \tkzClipBB
+ \tkzDrawLines[add = 1 and 2,color=red](O,I O,J)
+ \tkzDrawLines[add = 1 and 2,color=blue](O,i O,j)
+ \tkzShowBB
+ \end{tikzpicture}
Property changes on: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-11-2-1.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-11-3-1.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-11-3-1.tex (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-11-3-1.tex 2020-01-24 21:42:09 UTC (rev 53530)
@@ -0,0 +1,11 @@
+above\\
+left
+\begin{tikzpicture}
+ \tkzDefPoint(0,0){A}
+ \tkzDefPoint(3,3){B}
+ \tkzDefPoint(1,1){C}
+ \tkzSetBB(A)(2,2)
+ \tkzDrawSegment(A,B)
+ \tkzDrawPoints(A,C)
+ \tkzShowBB
+\end{tikzpicture}right
Property changes on: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-11-3-1.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-11-4-0.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-11-4-0.tex (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-11-4-0.tex 2020-01-24 21:42:09 UTC (rev 53530)
@@ -0,0 +1,10 @@
+Une figure au-dessus du texte\\
+\begin{tikzpicture}
+ \begin{scope}
+ \tkzSetBB(0,0)(6,2) \tkzShowBB[fill=blue!20]
+ \tkzSaveBB
+ \end{scope}
+ \tkzDefPoint(3,3){A}\tkzShowBB
+ \tkzDrawCircle[R,fill=yellow,opacity=.2](A,2cm)
+ \tkzRestoreBB
+\end{tikzpicture}
Property changes on: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-11-4-0.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-11-5-1.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-11-5-1.tex (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-11-5-1.tex 2020-01-24 21:42:09 UTC (rev 53530)
@@ -0,0 +1,14 @@
+ \vspace{ 2cm}
+Start\\
+\begin{tikzpicture}
+ \tkzDefPoint(-2,-2){A}
+ \tkzDefPoint(2,1){B}
+ \tkzDefPoint(0,0){O}
+ \tkzSaveBB
+ \tkzShowBB[red,line width=1pt]
+ \tkzRestoreBB
+ \tkzDrawCircle(O,B)
+ \tkzClipBB
+ \tkzFillCircle[gray!20](O,B)
+\end{tikzpicture}
+End
Property changes on: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-11-5-1.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-11-6-1.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-11-6-1.tex (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-11-6-1.tex 2020-01-24 21:42:09 UTC (rev 53530)
@@ -0,0 +1,7 @@
+\begin{tikzpicture}
+ \tkzInit[xmax=3, ymax=3]
+ \tkzGrid
+ \tkzAxeXY
+ \tkzClip
+ \draw[red] (-1,-1)--(5,5);
+\end{tikzpicture}
Property changes on: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-11-6-1.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-11-6-2.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-11-6-2.tex (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-11-6-2.tex 2020-01-24 21:42:09 UTC (rev 53530)
@@ -0,0 +1,6 @@
+\begin{tikzpicture}
+ \tkzInit[xmax=3, ymax=3]
+ \tkzGrid \tkzAxeXY
+ \tkzClip[space=-0.5]
+ \draw[red] (-0.5,-0.5)--(3.5,3.5);
+\end{tikzpicture}
Property changes on: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-11-6-2.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-11-7-0.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-11-7-0.tex (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-11-7-0.tex 2020-01-24 21:42:09 UTC (rev 53530)
@@ -0,0 +1,18 @@
+\begin{tikzpicture}[scale=.5]
+ \tkzInit[xmin=-5,xmax=5,ymin=-5,ymax=5]
+ \pgfinterruptboundingbox
+ \tkzDefPoints{-.5/0/P1,.5/0/P2}
+ \foreach \i [count=\j from 3] in {2,...,7}{%
+ \tkzDefShiftPoint[P\i]({45*(\i-1)}:1 cm){P\j}
+ }
+ \endpgfinterruptboundingbox
+ \tkzClipOutPolygon(P1,P2,P3,P4,P5,P6,P7,P8)
+ \tkzCalcLength[cm](P1,P5)\tkzGetLength{r}
+ \begin{scope}[blend group=screen]
+ \foreach \i in {1,...,8}{%
+ \pgfmathparse{100-5*\i}
+ \tkzFillCircle[R,color=MidnightBlue!%
+ \pgfmathresult](P\i,\r)
+ }
+ \end{scope}
+\end{tikzpicture}
Property changes on: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-11-7-0.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-11-9-0.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-11-9-0.tex (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-11-9-0.tex 2020-01-24 21:42:09 UTC (rev 53530)
@@ -0,0 +1,10 @@
+\begin{tikzpicture}
+\tkzDefPoint(0,5){A}\tkzDefPoint(5,4){B}
+\tkzDefPoint(0,0){C}\tkzDefPoint(5,1){D}
+\pgfinterruptboundingbox
+ \tkzInterLL(A,B)(C,D)\tkzGetPoint{I}
+\endpgfinterruptboundingbox
+\tkzClipBB
+ \tkzDrawCircle(I,B)
+\tkzDrawSegments(A,B C,D A,C)
+\end{tikzpicture}
Property changes on: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-11-9-0.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-12-1-0.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-12-1-0.tex (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-12-1-0.tex 2020-01-24 21:42:09 UTC (rev 53530)
@@ -0,0 +1,10 @@
+ \begin{tikzpicture}
+ \tkzDefPoint(0,0){A}
+ \tkzDefPoint(2,-3){B}
+ \tkzDefPoint(2,5){C}
+ \tkzDrawSegments[red](A,B A,C)
+ \tkzDuplicateSegment(A,B)(A,C) \tkzGetPoint{D}
+ \tkzDrawSegment[green](A,D)
+ \tkzDrawPoints[color=red](A,B,C,D)
+ \tkzLabelPoints[above right=3pt](A,B,C,D)
+ \end{tikzpicture}
Property changes on: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-12-1-0.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-12-1-1.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-12-1-1.tex (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-12-1-1.tex 2020-01-24 21:42:09 UTC (rev 53530)
@@ -0,0 +1,18 @@
+\begin{tikzpicture}[rotate=-90,scale=.75]
+ \tkzInit[xmax=10,ymax=10]
+ \tkzClip[space=1]
+ \tkzDefPoint(0,0){A}
+ \tkzDefPoint(10,0){B}
+ \tkzDefMidPoint(A,B) \tkzGetPoint{I}
+ \tkzDefPointWith[orthogonal,K=-.75](B,A)
+ \tkzGetPoint{C}
+ \tkzInterLC(B,C)(B,I) \tkzGetSecondPoint{D}
+ \tkzDuplicateSegment(B,D)(D,A) \tkzGetPoint{E}
+ \tkzInterLC(A,B)(A,E) \tkzGetPoints{N}{M}
+ \tkzDrawArc[delta=10](D,E)(B)
+ \tkzDrawArc[delta=10](A,M)(E)
+ \tkzDrawLines(A,B B,C A,D)
+ \tkzDrawArc[delta=10](B,D)(I)
+ \tkzDrawPoints(A,B,D,C,M,I,N)
+ \tkzLabelPoints(A,B,D,C,M,I,N)
+\end{tikzpicture}
Property changes on: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-12-1-1.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-12-10-1.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-12-10-1.tex (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-12-10-1.tex 2020-01-24 21:42:09 UTC (rev 53530)
@@ -0,0 +1,13 @@
+\begin{tikzpicture}[scale=.5]
+ \tkzDefPoint(0,0){A}
+ \tkzDefPoint(3,-4){B}
+ \tkzDefCircle[through](A,B)
+ \tkzGetLength{rABpt}
+ \tkzpttocm(\rABpt){rABcm}
+ \tkzDrawCircle(A,B)
+ \tkzDrawPoints(A,B)
+ \tkzLabelPoints(A,B)
+ \tkzDrawSegment[dashed](A,B)
+ \tkzLabelSegment(A,B){%
+ $\pgfmathprintnumber{\rABcm}$}
+\end{tikzpicture}
Property changes on: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-12-10-1.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-12-10-2.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-12-10-2.tex (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-12-10-2.tex 2020-01-24 21:42:09 UTC (rev 53530)
@@ -0,0 +1,12 @@
+\begin{tikzpicture}
+ \tkzInit[xmax=5,ymax=3]
+ \tkzGrid[sub,orange]
+ \tkzAxeXY
+ \tkzDefPoint(1,0){A}
+ \tkzDefPoint(4,2){B}
+ \tkzGetPointCoord(A){a}
+ \tkzGetPointCoord(B){b}
+ \tkzDefPoint(\ax,\ay){C}
+ \tkzDefPoint(\bx,\by){D}
+ \tkzDrawPoints[color=red](C,D)
+\end{tikzpicture}
Property changes on: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-12-10-2.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-12-10-3.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-12-10-3.tex (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-12-10-3.tex 2020-01-24 21:42:09 UTC (rev 53530)
@@ -0,0 +1,11 @@
+\begin{tikzpicture}[>=latex]
+ \tkzDefPoint(1,4){a}
+ \tkzDefPoint(3,2){b}
+ \tkzDefPoint(1,1){c}
+ \tkzDrawSegment[->,red](a,b)
+ \tkzGetPointCoord(c){c}
+ \draw[color=blue,->](a) -- ([shift=(b)]\cx,\cy) ;
+ \draw[color=purple,->](b) -- ([shift=(b)]\cx,\cy) ;
+ \tkzDrawSegment[->,blue](a,c)
+ \tkzDrawSegment[->,purple](b,c)
+\end{tikzpicture}
Property changes on: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-12-10-3.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-12-2-0.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-12-2-0.tex (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-12-2-0.tex 2020-01-24 21:42:09 UTC (rev 53530)
@@ -0,0 +1,17 @@
+\begin{tikzpicture}[scale=1.5]
+ \tkzInit[xmax=4,ymax=5]\tkzGrid[sub]
+ \tkzDefPoint(1,2){A} \tkzDefPoint(3,4){B}
+ \tkzDefPoint(3,2){C} \tkzDefPoint(3,1){D}
+ \tkzDrawSegments(A,B A,C A,D)
+ \tkzDrawPoints[color=red](A,B,C,D)
+ \tkzLabelPoints(A,B,C,D)
+ \tkzFindSlope(A,B){SAB} \tkzFindSlope(A,C){SAC}
+ \tkzFindSlope(A,D){SAD}
+ \pgfkeys{/pgf/number format/.cd,fixed,precision=2}
+ \tkzText[fill=Gold!50,draw=brown](1,4)%
+ {La pente de (AB) est : $\pgfmathprintnumber{\SAB}$}
+ \tkzText[fill=Gold!50,draw=brown](1,3.5)%
+ {La pente de (AC) est : $\pgfmathprintnumber{\SAC}$}
+ \tkzText[fill=Gold!50,draw=brown](1,3)%
+ {La pente de (AD) est : $\pgfmathprintnumber{\SAD}$}
+\end{tikzpicture}
Property changes on: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-12-2-0.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-12-3-1.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-12-3-1.tex (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-12-3-1.tex 2020-01-24 21:42:09 UTC (rev 53530)
@@ -0,0 +1,15 @@
+\begin{tikzpicture}
+ \tkzInit
+ \tkzDefPoint(0,0){A} \tkzDefPoint(3,2){B}
+ \tkzDefLine[mediator](A,B) \tkzGetPoints{I}{J}
+ \tkzCalcLength[cm](A,B) \tkzGetLength{dAB}
+ \tkzFindSlopeAngle(A,B) \tkzGetAngle{tkzangle}
+ \begin{scope}[rotate=\tkzangle]
+ \tikzset{arc/.style={color=gray,delta=10}}
+ \tkzDrawArc[R,arc](B,3/4*\dAB)(120,240)
+ \tkzDrawArc[R,arc](A,3/4*\dAB)(-45,60)
+ \tkzDrawLine(I,J) \tkzDrawSegment(A,B)
+ \end{scope}
+ \tkzDrawPoints(A,B,I,J) \tkzLabelPoints(A,B)
+ \tkzLabelPoints[right](I,J)
+\end{tikzpicture}
Property changes on: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-12-3-1.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-12-5-0.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-12-5-0.tex (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-12-5-0.tex 2020-01-24 21:42:09 UTC (rev 53530)
@@ -0,0 +1,16 @@
+\begin{tikzpicture}
+ \tkzInit
+ \tkzDefPoint(1,5){A} \tkzDefPoint(5,2){B}
+ \tkzDrawSegment(A,B)
+ \tkzFindSlopeAngle(A,B)\tkzGetAngle{tkzang}
+ \tkzDefPointBy[rotation= center A angle \tkzang ](B)
+ \tkzGetPoint{C}
+ \tkzDefPointBy[rotation= center A angle -\tkzang ](B)
+ \tkzGetPoint{D}
+ \tkzCompass[length=1,dashed,color=red](A,C)
+ \tkzCompass[delta=10,Maroon](B,C)
+ \tkzDrawPoints(A,B,C,D)
+ \tkzLabelPoints(B,C,D)
+ \tkzLabelPoints[above left](A)
+ \tkzDrawSegments[style=dashed,color=bistre](A,C A,D)
+\end{tikzpicture}
Property changes on: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-12-5-0.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-12-7-0.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-12-7-0.tex (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-12-7-0.tex 2020-01-24 21:42:09 UTC (rev 53530)
@@ -0,0 +1,20 @@
+\begin{tikzpicture}
+ \tkzInit[xmin=-1,ymin=-1,xmax=7,ymax=7]
+ \tkzClip
+ \tkzDefPoint (0,0){O} \tkzDefPoint (6,0){A}
+ \tkzDefPoint (5,5){B} \tkzDefPoint (3,4){M}
+ \tkzFindAngle (A,O,M) \tkzGetAngle{an}
+ \tkzDefPointBy[rotation=center O angle \an](A)
+ \tkzGetPoint{C}
+ \tkzDrawSector[fill = blue!50,opacity=.5](O,A)(C)
+ \tkzFindAngle(M,B,A) \tkzGetAngle{am}
+ \tkzDefPointBy[rotation = center O angle \am](A)
+ \tkzGetPoint{D}
+ \tkzDrawSector[fill = red!50,opacity = .5](O,A)(D)
+ \tkzDrawPoints(O,A,B,M,C,D)
+ \tkzLabelPoints(O,A,B,M,C,D)
+ \edef\an{\fpeval{round(\an,2)}}\edef\am{\fpeval{round(\am,2)}}
+ \tkzDrawSegments(M,B B,A)
+ \tkzText(4,2){$\widehat{AOC}=\widehat{AOM}=\an^{\circ}$}
+ \tkzText(1,4){$\widehat{AOD}=\widehat{MBA}=\am^{\circ}$}
+\end{tikzpicture}
Property changes on: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-12-7-0.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-12-8-1.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-12-8-1.tex (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-12-8-1.tex 2020-01-24 21:42:09 UTC (rev 53530)
@@ -0,0 +1,15 @@
+\begin{tikzpicture}[scale=1]
+ \tkzDefPoint(0,0){A} \tkzDefPoint(4,0){B}
+ \tkzDrawLine[add= .6 and .2](A,B)
+ \tkzCalcLength[cm](A,B)\tkzGetLength{dAB}
+ \tkzDefLine[perpendicular=through A](A,B)
+ \tkzDrawLine(A,tkzPointResult) \tkzGetPoint{D}
+ \tkzShowLine[orthogonal=through A,gap=2](A,B)
+ \tkzMarkRightAngle(B,A,D)
+ \tkzVecKOrth[-1](B,A)\tkzGetPoint{C}
+ \tkzCompasss(A,D D,C)
+ \tkzDrawArc[R](B,\dAB)(80,110)
+ \tkzDrawPoints(A,B,C,D)
+ \tkzDrawSegments[color=gray,style=dashed](B,C C,D)
+ \tkzLabelPoints(A,B,C,D)
+\end{tikzpicture}
Property changes on: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-12-8-1.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-13-2-0.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-13-2-0.tex (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-13-2-0.tex 2020-01-24 21:42:09 UTC (rev 53530)
@@ -0,0 +1,11 @@
+\begin{tikzpicture}[scale=0.75]
+ \tkzDefPoint(0,0){A}
+ \tkzDefPoint(4,0){B}
+ \tkzDefPoint(3,3){C}
+ \tkzDefCircle[in](A,B,C)
+ \tkzGetPoint{I}\tkzGetLength{rI}
+ \tkzDrawCircle[R](I,\rI)
+ \tkzDrawPolygon(A,B,C)
+ \tkzDrawPoints(A,B,C,I)
+ \tkzLabelPoints(A,B,C,I)
+\end{tikzpicture}
Property changes on: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-13-2-0.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-14-1-2.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-14-1-2.tex (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-14-1-2.tex 2020-01-24 21:42:09 UTC (rev 53530)
@@ -0,0 +1,9 @@
+\begin{tikzpicture}
+ \tikzset{xaxe style/.style={-}}
+ \tikzset{yaxe style/.style={-}}
+ \tkzInit[xmax=4,ymax=4]
+ \tkzGrid
+ \tkzDrawX
+ \tkzDrawY
+ \tkzRep[color=red,ynorm=2]
+\end{tikzpicture}
Property changes on: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-14-1-2.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-15-1-1.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-15-1-1.tex (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-15-1-1.tex 2020-01-24 21:42:09 UTC (rev 53530)
@@ -0,0 +1,7 @@
+\begin{tikzpicture}[scale=2]
+ \tkzInit[xmax=3,ymax=1.5]
+ \tkzAxeXY
+ \tkzHLine[color = blue,
+ style = dashed,
+ line width = 2pt]{1}
+\end{tikzpicture}
Property changes on: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-15-1-1.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-15-1-2.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-15-1-2.tex (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-15-1-2.tex 2020-01-24 21:42:09 UTC (rev 53530)
@@ -0,0 +1,8 @@
+\begin{tikzpicture}
+ \tkzInit[xmin=-3,xmax=3,ymin=-2,ymax=1.5]
+ \foreach\v in {-1,1}
+ {\tkzHLine[color=red]{\v*pi/2}}
+ \tkzDrawY
+ \tkzAxeX[trig=2]
+ \tkzLabelY
+\end{tikzpicture}
Property changes on: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-15-1-2.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-15-2-1.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-15-2-1.tex (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-15-2-1.tex 2020-01-24 21:42:09 UTC (rev 53530)
@@ -0,0 +1,5 @@
+\begin{tikzpicture}
+ \tkzInit[xmax=5,ymax=4]
+ \tkzAxeXY
+ \tkzHLines[color = magenta]{1,...,3}
+\end{tikzpicture}
Property changes on: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-15-2-1.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-15-3-1.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-15-3-1.tex (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-15-3-1.tex 2020-01-24 21:42:09 UTC (rev 53530)
@@ -0,0 +1,7 @@
+\begin{tikzpicture}[scale=2]
+ \tkzInit[xmax=3,ymax=1]
+ \tkzAxeXY
+ \tkzVLine[color = blue,
+ style = dashed,
+ line width = 2pt]{1/3}
+\end{tikzpicture}
Property changes on: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-15-3-1.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-15-3-2.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-15-3-2.tex (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-15-3-2.tex 2020-01-24 21:42:09 UTC (rev 53530)
@@ -0,0 +1,8 @@
+\begin{tikzpicture}
+ \tkzInit[xmax=7,ymin=-1,ymax=1]
+ \foreach\v in {1,2}
+ {\tkzVLine[color=red]{\v*pi}}
+ \tkzDrawY
+ \tkzAxeX[trig=2]
+ \tkzLabelY
+\end{tikzpicture}
Property changes on: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-15-3-2.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-15-4-1.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-15-4-1.tex (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-15-4-1.tex 2020-01-24 21:42:09 UTC (rev 53530)
@@ -0,0 +1,5 @@
+\begin{tikzpicture}
+ \tkzInit[xmax=5,ymax=2]
+ \tkzAxeXY
+ \tkzVLines[color = green]{1,2,...,4}
+\end{tikzpicture}
Property changes on: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-15-4-1.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-16-1-1.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-16-1-1.tex (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-16-1-1.tex 2020-01-24 21:42:09 UTC (rev 53530)
@@ -0,0 +1,7 @@
+\begin{tikzpicture}
+ \tkzInit[xmax=6]
+ \tkzDrawX
+ \tkzHTick[mark=ball,mark size=3pt]{pi/2}
+ \tkzHTick[mark=*,
+ mark options={color=purple}]{2*exp(1)}
+\end{tikzpicture}
Property changes on: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-16-1-1.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-17-1-1.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-17-1-1.tex (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-17-1-1.tex 2020-01-24 21:42:09 UTC (rev 53530)
@@ -0,0 +1,9 @@
+\begin{tikzpicture}[scale=0.75]
+\tkzInit[xmax=6,ymin=1000,ymax=5000,ystep=1000]
+\tkzDrawX[label=$m$,below=10pt]
+\tkzDrawY[label=$R(m)$,above=10pt]
+\tkzLabelX[font=\scriptsize]
+\tkzLabelY[font=\scriptsize]
+\tkzDefSetOfPoints[show]{1/2000,2/3000,4/2500,5/4200}
+\tkzDrawSetOfPoints[mark=ball,mark size=3pt]
+\end{tikzpicture}
Property changes on: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-17-1-1.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-17-2-1.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-17-2-1.tex (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-17-2-1.tex 2020-01-24 21:42:09 UTC (rev 53530)
@@ -0,0 +1,16 @@
+\begin{tikzpicture}[scale=1]
+\tkzInit[xmax=5,
+ ymin=1000,ymax=6000,ystep=1000]
+\tkzDrawX[label=$m$,below=13pt]
+\tkzDrawY[label=$R(m)$]
+\tkzLabelX[font=\scriptsize]
+\tkzLabelY[font=\scriptsize]
+\tkzDefSetOfPoints{%
+ 1/2000,2/3000,4/2500,5/4200}
+\tkzJoinSetOfPoints[%
+ thick,
+ color=Maroon]
+\tkzDrawSetOfPoints[%
+ mark=ball
+ ,mark size=3pt]
+\end{tikzpicture}
Property changes on: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-17-2-1.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-17-2-2.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-17-2-2.tex (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-17-2-2.tex 2020-01-24 21:42:09 UTC (rev 53530)
@@ -0,0 +1,14 @@
+\begin{tikzpicture}[scale=.5]
+\tkzInit[xmax=5,ymin=1000,
+ ymax=6000,ystep=1000]
+\tkzGrid[color=orange!30]
+\tkzDrawX[label=$m$,below=13pt]
+\tkzDrawY[label=$R(m)$]
+\tkzLabelX[font=\scriptsize]
+\tkzLabelY[font=\scriptsize]
+\tkzDefSetOfPoints[prefix=P]{%
+ 1/2000,2/3000,3/2000,4/2500,5/4200}
+\tkzDrawPolySeg[%
+ color=Maroon!50,
+ line width=2pt](P1,P2,P3,P4,P5)
+\end{tikzpicture}
Property changes on: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-17-2-2.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-17-3-1.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-17-3-1.tex (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-17-3-1.tex 2020-01-24 21:42:09 UTC (rev 53530)
@@ -0,0 +1,24 @@
+\begin{tikzpicture}
+\tkzInit[xmax=5.5,ymin=1000,%
+ ymax=6000,ystep=2000]
+\tkzGrid[color=orange!30]
+\tkzDrawX[label=$m$,below=13pt]
+\tkzDrawY[above left,label=$R(m)$]
+\tkzLabelX[below right,font=\scriptsize]
+\tkzLabelY[font=\scriptsize]
+\tkzDefSetOfPoints{1/2000,2/3000,3/2000,
+ 4/2500,5/4200}
+\tkzDefSetOfPoints[prefix=P]{1/3200,2/4100,
+ 3/3300,4/3300,5/5000}
+\tkzSetUpMark[mark=heart,color=black,
+ fill=red!30,size=4pt]
+\tkzJoinSetOfPoints[thick,color=blue,double]
+\tkzDrawSetOfPoints
+\tkzJoinSetOfPoints[prefix=P,thick,color=orange]
+\tkzDrawSetOfPoints[prefix=P,mark=square*,
+ mark size=4pt,
+ mark options={color=blue,fill=blue!40}]
+\tkzText[draw,color = red,
+ fill = orange!20](3,5800)%
+ {Recette en fonction du mois}
+ \end{tikzpicture}
Property changes on: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-17-3-1.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-17-4-0.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-17-4-0.tex (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-17-4-0.tex 2020-01-24 21:42:09 UTC (rev 53530)
@@ -0,0 +1,5 @@
+ \begin{tikzpicture}
+ \tkzInit[xmax=3,ymax=1]
+ \tkzAxeXY
+ \tkzDrawMark[mark=ball](1,.5)
+ \end{tikzpicture}
Property changes on: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-17-4-0.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-17-5-1.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-17-5-1.tex (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-17-5-1.tex 2020-01-24 21:42:09 UTC (rev 53530)
@@ -0,0 +1,13 @@
+ \begin{tikzpicture}
+ \tkzInit[xmax=6,ymin=1000,
+ ymax=5000,ystep=1000]
+ \tkzAxeXY
+ \tkzDefSetOfPoints[prefix=P]{%
+ 1/2000,
+ 2/3000,
+ 4/2500,
+ 5/4200}
+ \tkzDrawSegments[color=Maroon!50]%
+(P1,P2 P2,P3 P3,P4)
+ \tkzDrawMarks[mark=ball](P1,P2,P3,P4)
+ \end{tikzpicture}
Property changes on: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-17-5-1.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-18-1-1.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-18-1-1.tex (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-18-1-1.tex 2020-01-24 21:42:09 UTC (rev 53530)
@@ -0,0 +1,10 @@
+\begin{tikzpicture}
+ \tkzInit[xmax = 6, ymin = 1000,%
+ ymax = 4000,ystep = 1000]
+ \tkzAxeXY
+ \tkzText[draw,
+ line width = 1pt,%
+ color = red,%
+ fill = orange!20](3,4000)%
+ {Recette en fonction du mois}
+\end{tikzpicture}
Property changes on: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-18-1-1.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-18-1-2.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-18-1-2.tex (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-18-1-2.tex 2020-01-24 21:42:09 UTC (rev 53530)
@@ -0,0 +1,11 @@
+\begin{tikzpicture}
+ \tkzInit[xmax = 6, ymin = 1000,%
+ ymax = 4000,ystep = 1000]
+ \tkzGrid \tkzAxeXY
+ \tkzText[draw,opacity=.2,
+ rotate=45,inner sep=.6 cm,
+ line width = 1pt,
+ color = black,
+ fill = purple!20](3,2500)
+ {\Huge DRAFT}
+\end{tikzpicture}
Property changes on: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-18-1-2.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-18-1-3.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-18-1-3.tex (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-18-1-3.tex 2020-01-24 21:42:09 UTC (rev 53530)
@@ -0,0 +1,11 @@
+\begin{tikzpicture}
+ \tkzInit[ymax=5,xmax=6]
+ \tkzAxeXY
+ \tkzDefPoint(3,3){A}
+ \tkzText[draw,opacity=.6,
+ inner sep=.6 cm,
+ line width = 1pt,
+ color = black,
+ fill = purple!20](A)
+ {Mon texte}
+\end{tikzpicture}
Property changes on: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-18-1-3.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-18-1-4.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-18-1-4.tex (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-18-1-4.tex 2020-01-24 21:42:09 UTC (rev 53530)
@@ -0,0 +1,11 @@
+\begin{tikzpicture}
+ \tkzInit[ymax=5,xmax=6]
+ \tkzAxeXY
+ \tkzText[draw,opacity=.6,
+ inner sep=.6 cm,
+ line width = 1pt,
+ color = black,
+ fill = purple!20,
+ text width=3cm](3,3)
+ {Mon texte\\ Référence}
+\end{tikzpicture}
Property changes on: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-18-1-4.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-18-2-1.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-18-2-1.tex (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-18-2-1.tex 2020-01-24 21:42:09 UTC (rev 53530)
@@ -0,0 +1,21 @@
+ \begin{tikzpicture}
+\tkzInit[xmax=12,ymin=1000,ymax=11000,ystep=2000]
+\tkzGrid[color=orange!30]
+\tkzDrawX[below right,label=Mois]
+\tkzDrawY[above left,label=Recette]
+\tkzLabelX
+\tkzLabelY
+\tkzDefSetOfPoints{1/2000,2/3000,3/2000,4/2500,5/4200,6/4800,7/4600,
+ 8/5200,9/6200,10/7000,11/7400,12/10000}
+\tkzDefSetOfPoints[prefix=P]{1/3200,2/4100,3/3300,4/3300,5/5000,6/5500,7/5200,8/4000,
+ 9/3000,10/6000,11/8400,12/9000}
+\tkzSetUpMark[mark=heart,color=black,fill=red!30,size=4pt]
+\tkzJoinSetOfPoints[thick,color=Maroon,double]
+\tkzDrawSetOfPoints
+\tkzJoinSetOfPoints[prefix=P,thick,color=orange,double]
+\tkzDrawSetOfPoints[prefix=P,mark=square*,mark size=4pt,
+ mark options={color=blue,fill=blue!40}]
+\tkzLegend[draw,rounded corners,fill=fondpaille,text=Maroon,
+ line width=2pt](5,10000){heart/1ex/red!30/Recette produit A,%
+ square*/0.75ex/blue!40/Recette produit B}
+\end{tikzpicture}
Property changes on: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-18-2-1.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-6-1-1.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-6-1-1.tex (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-6-1-1.tex 2020-01-24 21:42:09 UTC (rev 53530)
@@ -0,0 +1,6 @@
+\begin{tikzpicture}
+ \tkzInit[xmax=8,ymax=6]
+ \tkzGrid
+ \tkzAxeXY
+ \draw[blue](-1,0)--(6,7);
+\end{tikzpicture}
Property changes on: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-6-1-1.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-6-1-2.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-6-1-2.tex (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-6-1-2.tex 2020-01-24 21:42:09 UTC (rev 53530)
@@ -0,0 +1,6 @@
+\begin{tikzpicture}
+ \tkzInit[xmax=10,xstep=2,ymax=800,ystep=400]
+ \tkzGrid
+ \tkzAxeXY
+
+\end{tikzpicture}
Property changes on: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-6-1-2.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-6-2-0.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-6-2-0.tex (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-6-2-0.tex 2020-01-24 21:42:09 UTC (rev 53530)
@@ -0,0 +1,5 @@
+\begin{tikzpicture}
+ \tkzInit[xmax=5,xstep=1,ymax=2,ystep=.5]
+ \tkzGrid
+ \tkzAxeXY
+\end{tikzpicture}
Property changes on: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-6-2-0.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-6-2-1.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-6-2-1.tex (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-6-2-1.tex 2020-01-24 21:42:09 UTC (rev 53530)
@@ -0,0 +1,11 @@
+\begin{tikzpicture}
+ \tkzInit[xmin=20,
+ xmax=50,
+ xstep=10,
+ ymin=5000,
+ ymax=5150,
+ ystep=50]
+ \tkzAxeXY
+ \tkzDefPoint(30,5100){A}
+ \tkzDrawPoint(A)
+\end{tikzpicture}
Property changes on: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-6-2-1.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-6-2-2.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-6-2-2.tex (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-6-2-2.tex 2020-01-24 21:42:09 UTC (rev 53530)
@@ -0,0 +1,8 @@
+\begin{tikzpicture}
+ \tkzInit[xmin=0.00, xmax=0.05,
+ ymin=1.2200,ymax=1.2215,
+ xstep=0.01, ystep=0.0005]
+ \tkzAxeXY
+ \tkzDefPoint(.04,1.22025){I}
+ \tkzDrawPoint(I)
+\end{tikzpicture}
Property changes on: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-6-2-2.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-6-2-3.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-6-2-3.tex (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-6-2-3.tex 2020-01-24 21:42:09 UTC (rev 53530)
@@ -0,0 +1,9 @@
+\begin{tikzpicture}
+ \tkzInit[xmin = -40,
+ xmax = 60,
+ ymin = -40,
+ ymax = 60,
+ xstep = 20,
+ ystep = 20]
+ \tkzAxeXY
+\end{tikzpicture}
Property changes on: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-6-2-3.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-7-1-1.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-7-1-1.tex (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-7-1-1.tex 2020-01-24 21:42:09 UTC (rev 53530)
@@ -0,0 +1,4 @@
+\begin{tikzpicture}
+ \tkzInit[xmax=5]
+ \tkzDrawX[label={},noticks]
+\end{tikzpicture}
Property changes on: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-7-1-1.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-7-1-2.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-7-1-2.tex (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-7-1-2.tex 2020-01-24 21:42:09 UTC (rev 53530)
@@ -0,0 +1,5 @@
+\begin{tikzpicture}
+ \tkzInit[xmax=5]
+ \tkzDrawX[label = quantité,
+ above left = 8pt]
+\end{tikzpicture}
Property changes on: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-7-1-2.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-7-1-3.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-7-1-3.tex (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-7-1-3.tex 2020-01-24 21:42:09 UTC (rev 53530)
@@ -0,0 +1,5 @@
+\begin{tikzpicture}
+ \tkzInit[xmax=5]
+ \tkzDrawX[text=blue,color=red,
+ right=12pt]
+\end{tikzpicture}
Property changes on: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-7-1-3.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-7-1-4.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-7-1-4.tex (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-7-1-4.tex 2020-01-24 21:42:09 UTC (rev 53530)
@@ -0,0 +1,5 @@
+\begin{tikzpicture}
+\tkzInit[xmax=0.4,xstep=0.1]
+\tkzDrawX[text=blue,color=red,
+ right=12pt,right space=1]
+\end{tikzpicture}
Property changes on: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-7-1-4.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-7-1-5.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-7-1-5.tex (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-7-1-5.tex 2020-01-24 21:42:09 UTC (rev 53530)
@@ -0,0 +1,4 @@
+\begin{tikzpicture}
+ \tkzInit[xmin=0,xmax=4,ymin=-1,ymax=1]
+ \tkzDrawX[trig=1]
+\end{tikzpicture}
Property changes on: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-7-1-5.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-7-1-6.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-7-1-6.tex (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-7-1-6.tex 2020-01-24 21:42:09 UTC (rev 53530)
@@ -0,0 +1,4 @@
+\begin{tikzpicture}
+ \tkzInit[xmin=0,xmax=4,ymin=-1,ymax=1]
+ \tkzDrawX[trig=2]
+\end{tikzpicture}
Property changes on: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-7-1-6.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-7-10-1.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-7-10-1.tex (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-7-10-1.tex 2020-01-24 21:42:09 UTC (rev 53530)
@@ -0,0 +1,6 @@
+ \begin{tikzpicture}[scale=1]
+ \tkzInit[ymax=2,xmax=4]
+ \tkzSetUpAxis[line width=1pt,tickwd=1pt,
+ ticka=3pt, tickb=0pt]
+ \tkzAxeXY
+ \end{tikzpicture}
Property changes on: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-7-10-1.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-7-2-1.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-7-2-1.tex (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-7-2-1.tex 2020-01-24 21:42:09 UTC (rev 53530)
@@ -0,0 +1,5 @@
+\begin{tikzpicture}
+\tkzInit[xmax=.5,xstep=0.1]
+\tkzDrawX[label=$t$,text=blue,color=red]
+\tkzLabelX[text=blue,below = 3pt]
+\end{tikzpicture}
Property changes on: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-7-2-1.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-7-2-10.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-7-2-10.tex (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-7-2-10.tex 2020-01-24 21:42:09 UTC (rev 53530)
@@ -0,0 +1,5 @@
+\begin{tikzpicture}
+ \tkzInit[xmin=2,ymin=2,xmax=4,ymax=4]
+ \tkzLabelX \tkzLabelY
+ \tkzDrawXY
+\end{tikzpicture}
Property changes on: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-7-2-10.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-7-2-11.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-7-2-11.tex (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-7-2-11.tex 2020-01-24 21:42:09 UTC (rev 53530)
@@ -0,0 +1,5 @@
+\begin{tikzpicture}
+ \tkzInit[xmin=2,ymin=2,xmax=4,ymax=4]
+ \tkzLabelX[orig] \tkzLabelY[orig]
+ \tkzDrawXY
+\end{tikzpicture}
Property changes on: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-7-2-11.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-7-2-2.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-7-2-2.tex (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-7-2-2.tex 2020-01-24 21:42:09 UTC (rev 53530)
@@ -0,0 +1,6 @@
+\begin{tikzpicture}
+ \tkzInit[xmin=1000,xmax=4000,xstep=1000]
+ \tkzDrawX
+ \tikzset{xlabel style/.append style={rotate=-30}}
+ \tkzLabelX[below right=3 pt,inner sep = 1pt]
+\end{tikzpicture}
Property changes on: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-7-2-2.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-7-2-3.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-7-2-3.tex (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-7-2-3.tex 2020-01-24 21:42:09 UTC (rev 53530)
@@ -0,0 +1,6 @@
+\begin{tikzpicture}
+ \tkzInit[xmin=2000,xmax=2004]
+ \tkzDrawX
+ \tikzset{xlabel style/.append style={rotate=-30}}
+ \tkzLabelX[np off,below right=3 pt,inner sep =1pt]
+\end{tikzpicture}
Property changes on: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-7-2-3.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-7-2-4.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-7-2-4.tex (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-7-2-4.tex 2020-01-24 21:42:09 UTC (rev 53530)
@@ -0,0 +1,5 @@
+\begin{tikzpicture}
+\tkzInit[xmax=1.75,xstep=0.33333]
+\tkzDrawX[label=$t$,text=blue,color=red]
+\tkzLabelX[frac=3,text=blue,below = 6pt]
+\end{tikzpicture}
Property changes on: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-7-2-4.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-7-2-5.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-7-2-5.tex (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-7-2-5.tex 2020-01-24 21:42:09 UTC (rev 53530)
@@ -0,0 +1,5 @@
+\begin{tikzpicture}
+ \tkzInit[xmin=0,xmax=5,ymin=-1,ymax=1]
+ \tkzDrawX[trig=2]
+ \tkzLabelX[trig=2,text=blue,below = 8pt]
+\end{tikzpicture}
Property changes on: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-7-2-5.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-7-2-6.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-7-2-6.tex (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-7-2-6.tex 2020-01-24 21:42:09 UTC (rev 53530)
@@ -0,0 +1,6 @@
+\begin{tikzpicture}
+ \tkzInit[xmin=0,xmax=5,ymin=-1,ymax=1]
+ \tkzDrawX[trig=2]
+ \tkzLabelX[trig=2,text=blue,
+ below = 8pt,node font=\scriptsize]
+\end{tikzpicture}
Property changes on: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-7-2-6.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-7-2-7.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-7-2-7.tex (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-7-2-7.tex 2020-01-24 21:42:09 UTC (rev 53530)
@@ -0,0 +1,8 @@
+\begin{tikzpicture}
+ \tkzInit[xmin = -2,xmax = 3,
+ ymin = -2,ymax = 2]
+ \tkzDrawX[color = red,
+ label = $\displaystyle\frac{1}{t}$,
+ below = 6pt]
+ \tkzLabelX[text=blue]
+\end{tikzpicture}
Property changes on: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-7-2-7.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-7-2-8.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-7-2-8.tex (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-7-2-8.tex 2020-01-24 21:42:09 UTC (rev 53530)
@@ -0,0 +1,5 @@
+\begin{tikzpicture}
+\tkzInit[xmin = -1,xmax = 4,
+ ymin = -1,ymax = 1]
+\tkzDrawXY \tkzLabelX \tkzLabelY
+\end{tikzpicture}
Property changes on: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-7-2-8.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-7-2-9.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-7-2-9.tex (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-7-2-9.tex 2020-01-24 21:42:09 UTC (rev 53530)
@@ -0,0 +1,7 @@
+\begin{tikzpicture}
+ \tkzInit[xmin = -1,xmax = 4,
+ ymin = -1,ymax = 1]
+ \tkzLabelX[orig=false]
+ \tkzLabelY[orig=false]
+ \tkzDrawXY
+\end{tikzpicture}
Property changes on: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-7-2-9.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-7-3-1.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-7-3-1.tex (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-7-3-1.tex 2020-01-24 21:42:09 UTC (rev 53530)
@@ -0,0 +1,5 @@
+\begin{tikzpicture}
+ \tkzInit[xmax=0.5,xstep=0.1,ymax=1]
+ \tkzGrid
+ \tkzAxeX[text=blue]
+\end{tikzpicture}
Property changes on: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-7-3-1.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-7-3-2.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-7-3-2.tex (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-7-3-2.tex 2020-01-24 21:42:09 UTC (rev 53530)
@@ -0,0 +1,7 @@
+\begin{tikzpicture}
+ \tkzInit[xmax=4,ymax=3.5]
+ \let\tkzmathstyle\displaystyle
+ \tkzLabelX[orig = false, frac = 4,below = 10pt]
+ \tkzDrawX[label = $t$]
+ \tkzAxeY[trig=2]
+\end{tikzpicture}
Property changes on: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-7-3-2.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-7-3-3.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-7-3-3.tex (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-7-3-3.tex 2020-01-24 21:42:09 UTC (rev 53530)
@@ -0,0 +1,6 @@
+\begin{tikzpicture}
+ \tkzInit[xmax=9,xstep=3,ymax=3.5]
+ \tkzLabelX[below=10pt,orig=false,frac=3]
+ \tkzDrawX[label = $t$]
+ \tkzAxeY[trig=2]
+\end{tikzpicture}
Property changes on: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-7-3-3.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-7-7-1.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-7-7-1.tex (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-7-7-1.tex 2020-01-24 21:42:09 UTC (rev 53530)
@@ -0,0 +1,4 @@
+\begin{tikzpicture}
+ \tkzInit[xmin=-1,xmax=4,ymin=-1,ymax=3]
+ \tkzAxeXY[label={},text=blue]
+\end{tikzpicture}
Property changes on: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-7-7-1.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-7-7-2.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-7-7-2.tex (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-7-7-2.tex 2020-01-24 21:42:09 UTC (rev 53530)
@@ -0,0 +1,4 @@
+\begin{tikzpicture}
+ \tkzInit[xmin=-1,xmax=4,ymin=-1,ymax=2]
+ \tkzAxeXY[label={},text=blue,trig=2]
+\end{tikzpicture}
Property changes on: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-7-7-2.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-7-7-3.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-7-7-3.tex (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-7-7-3.tex 2020-01-24 21:42:09 UTC (rev 53530)
@@ -0,0 +1,4 @@
+\begin{tikzpicture}
+\tkzInit[xmin=-2,xmax=2,ymin=-2,ymax=2]
+\tkzAxeXY[label={},swap]
+\end{tikzpicture}
Property changes on: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-7-7-3.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-7-8-1.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-7-8-1.tex (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-7-8-1.tex 2020-01-24 21:42:09 UTC (rev 53530)
@@ -0,0 +1,4 @@
+\begin{tikzpicture}
+ \tkzInit[xmin=-1,xmax=4,ymin=-1,ymax=1]
+ \tkzDrawXY[label={},color=red]
+\end{tikzpicture}
Property changes on: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-7-8-1.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-7-8-2.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-7-8-2.tex (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-7-8-2.tex 2020-01-24 21:42:09 UTC (rev 53530)
@@ -0,0 +1,4 @@
+\begin{tikzpicture}
+ \tkzInit[xmin=-1,xmax=4,ymin=-1,ymax=2]
+ \tkzDrawXY[label={},color=red,trig=4]
+\end{tikzpicture}
Property changes on: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-7-8-2.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-7-9-1.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-7-9-1.tex (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-7-9-1.tex 2020-01-24 21:42:09 UTC (rev 53530)
@@ -0,0 +1,5 @@
+\begin{tikzpicture}
+ \tkzInit[xmin=-1,xmax=4,ymin=-1,ymax=1]
+ \tkzDrawXY[label={},color=red]
+ \tkzLabelXY[text=blue]
+\end{tikzpicture}
Property changes on: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-7-9-1.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-8-0-1.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-8-0-1.tex (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-8-0-1.tex 2020-01-24 21:42:09 UTC (rev 53530)
@@ -0,0 +1,5 @@
+\begin{tikzpicture}
+ \tkzInit[xmax=4, ymax=2]
+ \tkzGrid[sub]
+ \tkzAxeXY
+\end{tikzpicture}
Property changes on: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-8-0-1.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-8-0-10.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-8-0-10.tex (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-8-0-10.tex 2020-01-24 21:42:09 UTC (rev 53530)
@@ -0,0 +1,8 @@
+\begin{tikzpicture}
+ \tkzInit[xmax=9,xstep=3,ymax=4]
+ \tkzGrid[xstep=1,ystep=pi/2,sub,
+ subxstep=1,subystep=pi/4]
+ \tkzLabelX[label=$t$,orig=false,frac=3,
+ below=6pt,font=\scriptsize]
+ \tkzLabelY[trig=2,font=\scriptsize]
+\end{tikzpicture}
Property changes on: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-8-0-10.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-8-0-11.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-8-0-11.tex (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-8-0-11.tex 2020-01-24 21:42:09 UTC (rev 53530)
@@ -0,0 +1,10 @@
+\begin{tikzpicture}[scale=.5]
+ \tikzset{xaxe style/.style ={-}}
+ \tkzInit[xmax=15,ymax=15]
+ \tkzClip
+ \tkzGrid[sub,color=orange]
+ \tkzLabelX[label= ] \tkzLabelY[label= ]
+ \tkzDrawXY
+ \node[opacity=.5] at (8,6){%
+ \includegraphics[scale=.5]{tiger}};
+\end{tikzpicture}
Property changes on: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-8-0-11.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-8-0-2.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-8-0-2.tex (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-8-0-2.tex 2020-01-24 21:42:09 UTC (rev 53530)
@@ -0,0 +1,9 @@
+\def\tkzCoeffSubColor{20}
+\def\tkzCoeffSubLw{0.2}
+\begin{tikzpicture}
+ \tkzInit[xmax=4, ymax=2]
+ % on peut modifier le pas pour la seconde grille
+ \tkzGrid[sub,color=bistre,
+ subxstep=.5,subystep=.5]
+ \tkzAxeXY
+\end{tikzpicture}
Property changes on: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-8-0-2.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-8-0-3.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-8-0-3.tex (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-8-0-3.tex 2020-01-24 21:42:09 UTC (rev 53530)
@@ -0,0 +1,5 @@
+\begin{tikzpicture}
+ \tkzInit[xmax=5,ymax=2]
+ \tkzGrid[color=orange]
+ \tkzAxeXY
+\end{tikzpicture}
Property changes on: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-8-0-3.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-8-0-4.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-8-0-4.tex (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-8-0-4.tex 2020-01-24 21:42:09 UTC (rev 53530)
@@ -0,0 +1,6 @@
+ \begin{tikzpicture}
+ \tkzInit[xmax=5,ymax=2]
+ \tkzGrid[sub,color=orange]
+ \tkzGrid[color=orange]
+ \tkzAxeXY
+ \end{tikzpicture}
Property changes on: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-8-0-4.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-8-0-5.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-8-0-5.tex (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-8-0-5.tex 2020-01-24 21:42:09 UTC (rev 53530)
@@ -0,0 +1,8 @@
+\begin{tikzpicture}
+ \tkzInit[xmax=5,ymax=2]
+ \tkzGrid[color = orange,
+ sub,
+ subxstep = 0.1,
+ subystep = 0.1]
+ \tkzAxeXY
+\end{tikzpicture}
Property changes on: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-8-0-5.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-8-0-6.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-8-0-6.tex (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-8-0-6.tex 2020-01-24 21:42:09 UTC (rev 53530)
@@ -0,0 +1,9 @@
+\begin{tikzpicture}
+\tkzInit[xmax=.5,xstep=.1,
+ ymax=.2,ystep=.1]
+\tkzGrid[sub,
+ subxstep = 0.05,
+ subystep = 0.05,
+ color=bistre]
+\tkzAxeXY
+\end{tikzpicture}
Property changes on: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-8-0-6.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-8-0-7.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-8-0-7.tex (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-8-0-7.tex 2020-01-24 21:42:09 UTC (rev 53530)
@@ -0,0 +1,8 @@
+\begin{tikzpicture}
+ \tkzInit[xmax=100,xstep=20,
+ ymax=3000,ystep=1000]
+ \tkzGrid[sub,subxstep=10,
+ subystep=500,
+ color=bistre]
+ \tkzAxeXY
+\end{tikzpicture}
Property changes on: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-8-0-7.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-8-0-8.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-8-0-8.tex (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-8-0-8.tex 2020-01-24 21:42:09 UTC (rev 53530)
@@ -0,0 +1,9 @@
+\begin{tikzpicture}
+ \tkzInit[xmax=100,xstep=20,
+ ymax=3000,ystep=1000]
+ \tkzGrid[sub,subxstep=10,
+ subystep=500,
+ color=orange]
+ (-20,-1000)(115,4000)%
+ \tkzAxeXY
+\end{tikzpicture}
Property changes on: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-8-0-8.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-8-0-9.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-8-0-9.tex (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-8-0-9.tex 2020-01-24 21:42:09 UTC (rev 53530)
@@ -0,0 +1,9 @@
+\begin{tikzpicture}[scale=.75]
+ \tkzInit[xmax=6.5,ymax=6.5]
+ \tkzGrid[xstep=pi,ystep=pi/2,sub,
+ subxstep=pi/4,subystep=pi/4]
+ \tkzLabelX[label=$t$,orig=false,trig=4,
+ below=6pt,font=\scriptsize]
+ \tkzLabelY[trig=2,font=\scriptsize]
+ \tkzDrawXY
+\end{tikzpicture}
Property changes on: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-8-0-9.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-9-1-1.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-9-1-1.tex (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-9-1-1.tex 2020-01-24 21:42:09 UTC (rev 53530)
@@ -0,0 +1,7 @@
+\begin{tikzpicture}[trim left=-1cm]
+ \tkzDefPoint(2,3){A}
+ \tkzDefPoint[shift={(2,3)}](31:3){B}
+ \tkzDefPoint[shift={(2,3)}](158:3){C}
+ \tkzDrawSegments[color=red,line width=1pt](A,B A,C)
+ \tkzDrawPoints[color=red](A,B,C)
+\end{tikzpicture}
Property changes on: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-9-1-1.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-9-1-2.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-9-1-2.tex (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-9-1-2.tex 2020-01-24 21:42:09 UTC (rev 53530)
@@ -0,0 +1,10 @@
+\begin{tikzpicture}[trim left=-1cm]
+ \tkzDefPoint["-60:$A_n$" ](2,3){A}
+ \tkzDefPoint[shift={(2,3)},%
+ "$B_n$" above left](31:3){B}
+ \tkzDefPoint[shift={(2,3)},%
+ "$C_n$" above right](158:3){C}
+ \tkzDrawSegments[color=red,%
+ line width=1pt](A,B A,C)
+ \tkzDrawPoints[color=red](A,B,C)
+\end{tikzpicture}
Property changes on: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-9-1-2.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-9-1-3.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-9-1-3.tex (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-9-1-3.tex 2020-01-24 21:42:09 UTC (rev 53530)
@@ -0,0 +1,10 @@
+\begin{tikzpicture}[scale=.75,rotate=90]
+ \tkzDefPoint[label=right:$A_n$](2,3){A}
+ \begin{scope}[shift={(A)}]
+ \tkzDefPoint[label= right:$B_n$](31:3){B}
+ \tkzDefPoint[label= right:$C_n$](158:3){C}
+ \end{scope}
+ \tkzDrawSegments[color=red,%
+ line width=1pt](A,B A,C)
+ \tkzDrawPoints[color=red](A,B,C)
+ \end{tikzpicture}
Property changes on: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-9-1-3.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-9-1-4.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-9-1-4.tex (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-9-1-4.tex 2020-01-24 21:42:09 UTC (rev 53530)
@@ -0,0 +1,14 @@
+\begin{tikzpicture}[scale=.75]
+ \tkzInit[xmax=6,ymax=6]
+ \tkzGrid
+ \tkzSetUpPoint[shape = circle,color = red,%
+ size = 4,fill = red!30]
+ \tkzDefPoint(-1+1,-1+4){O}
+ \tkzDefPoint({3*ln(exp(1))},{exp(1)}){A}
+ \tkzDefPoint({4*sin(pi/6)},{4*cos(pi/6)}){B}
+ \tkzDefPoint({4*sin(pi/3)},{4*cos(pi/3)}){B'}
+ \tkzDefPoint[shift={(1,3)}](30:3){A'}
+ \tkzDrawPoints(O,A,B)
+ \tkzDrawPoints[color=red,shape=cross out](B',A')
+ \tkzLabelPoints(A,O,B,B',A')
+\end{tikzpicture}
Property changes on: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-9-1-4.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-9-1-5.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-9-1-5.tex (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-9-1-5.tex 2020-01-24 21:42:09 UTC (rev 53530)
@@ -0,0 +1,13 @@
+\begin{tikzpicture}[scale=1]
+ \begin{scope}[rotate=30]
+ \tkzDefPoint(2,3){A}
+ \begin{scope}[shift=(A)]
+ \tkzDefPoint(90:5){B}
+ \tkzDefPoint(30:5){C}
+ \end{scope}
+ \end{scope}
+\tkzDrawSegments[color=blue](A,B B,C C,A)
+\tkzDrawPoints(A,B,C)
+\tkzLabelPoints[above](B,C)
+\tkzLabelPoints[below](A)
+\end{tikzpicture}
Property changes on: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-9-1-5.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-9-10-1.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-9-10-1.tex (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-9-10-1.tex 2020-01-24 21:42:09 UTC (rev 53530)
@@ -0,0 +1,9 @@
+ \begin{tikzpicture}
+ \tkzSetUpPoint[shape = cross out,
+ color=blue]
+ \tkzInit[xmax=100,xstep=20,ymax=.5]
+ \tkzDefPoint(20,1){A}
+ \tkzDefPoint(80,0){B}
+ \tkzDrawLine(A,B)
+ \tkzDrawPoints(A,B)
+\end{tikzpicture}
Property changes on: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-9-10-1.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-9-10-2.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-9-10-2.tex (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-9-10-2.tex 2020-01-24 21:42:09 UTC (rev 53530)
@@ -0,0 +1,11 @@
+\begin{tikzpicture}
+ \tkzInit[ymin=-0.5,ymax=3,xmin=-0.5,xmax=7]
+ \tkzDefPoint(0,0){A}
+ \tkzDefPoint(02.25,04.25){B}
+ \tkzDefPoint(4,0){C}
+ \tkzDefPoint(3,2){D}
+ \tkzDrawSegments(A,B A,C A,D)
+ \tkzSetUpPoint[shape=cross out,size=4,]
+ \tkzDrawPoints(A,B,C,D)
+ \tkzLabelPoints(A,B,C,D)
+\end{tikzpicture}
Property changes on: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-9-10-2.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-9-10-3.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-9-10-3.tex (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-9-10-3.tex 2020-01-24 21:42:09 UTC (rev 53530)
@@ -0,0 +1,16 @@
+\begin{tikzpicture}
+ \tkzInit[ymin=-0.5,ymax=3,xmin=-0.5,xmax=7]
+ \tkzDefPoint(0,0){A}
+ \tkzDefPoint(02.25,04.25){B}
+ \tkzDefPoint(4,0){C}
+ \tkzDefPoint(3,2){D}
+ \tkzDrawSegments(A,B A,C A,D)
+{\tkzSetUpPoint[shape=cross out,
+ fill= MidnightBlue!50,
+ size=4,color=MidnightBlue]
+ \tkzDrawPoints(A,B)}
+ \tkzSetUpPoint[fill= MidnightBlue!50,size=4,
+ color=MidnightBlue]
+ \tkzDrawPoints(C,D)
+ \tkzLabelPoints(A,B,C,D)
+\end{tikzpicture}
Property changes on: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-9-10-3.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-9-11-2.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-9-11-2.tex (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-9-11-2.tex 2020-01-24 21:42:09 UTC (rev 53530)
@@ -0,0 +1,11 @@
+ \begin{tikzpicture}[scale=1.5]
+ \tkzInit[xmax=3,ymax=2]
+ \tkzAxeXY
+ \tkzDefPoint(2,1){a}
+ \tkzPointShowCoord(a)
+ \tkzDrawPoint(a)
+ \tkzLabelPoint(a){$A_1$}
+ \tkzPointShowCoord({1,2})
+ \tkzDrawPoint({1,2})
+ \tkzLabelPoint({1,2}){$A_2$}
+ \end{tikzpicture}
Property changes on: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-9-11-2.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-9-11-3.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-9-11-3.tex (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-9-11-3.tex 2020-01-24 21:42:09 UTC (rev 53530)
@@ -0,0 +1,8 @@
+ \begin{tikzpicture}[xscale=3,yscale=2]
+ \tkzInit[xmax=15,ymax=15,
+ xstep=10,ystep=10]
+ \tkzAxeXY
+ \tkzDefPoint(10,10){a} \tkzDrawPoint(a)
+ \tkzPointShowCoord(a)
+ \tkzLabelPoint(a){$A_1$}
+ \end{tikzpicture}
Property changes on: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-9-11-3.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-9-12-1.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-9-12-1.tex (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-9-12-1.tex 2020-01-24 21:42:09 UTC (rev 53530)
@@ -0,0 +1,8 @@
+\begin{tikzpicture}
+ \tkzInit[ymax=4,xmax=5]
+ \tkzAxeXY
+ \tkzDefSetOfPoints[prefix=P]%
+ {1/2,4/3,2/2.5}
+ \tkzDrawPoints(P1,P2,P3)
+ \tkzLabelPoints(P1,P2,P3)
+\end{tikzpicture}
Property changes on: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-9-12-1.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-9-2-0.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-9-2-0.tex (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-9-2-0.tex 2020-01-24 21:42:09 UTC (rev 53530)
@@ -0,0 +1,11 @@
+\begin{tikzpicture}[scale=1]
+ \tkzDefPoints{% x y name
+ 0 /0 /A,
+ 2 /0 /B,
+ 2 /2 /C,
+ 0 /2 /D}
+ \tkzDrawSegments(D,A A,B B,C C,D)
+ % or with tkz-euclide
+ % \tkzDrawPolygon(A,...,D)
+ \tkzDrawPoints(A,B,C,D)
+\end{tikzpicture}
Property changes on: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-9-2-0.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-9-3-1.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-9-3-1.tex (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-9-3-1.tex 2020-01-24 21:42:09 UTC (rev 53530)
@@ -0,0 +1,10 @@
+\begin{tikzpicture}[rotate=-30]
+ \tkzDefPoint(2,3){A}
+ \tkzDefShiftPoint[A](0:4){B}
+ \tkzDefShiftPoint[A](30:4){C}
+ \tkzDrawSegments(A,B B,C C,A)
+ \tkzMarkSegments[mark=|,color=red](A,B A,C)
+ \tkzDrawPoints(A,B,C)
+ \tkzLabelPoints[above](A,C)
+ \tkzLabelPoints(B)
+\end{tikzpicture}
Property changes on: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-9-3-1.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-9-4-1.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-9-4-1.tex (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-9-4-1.tex 2020-01-24 21:42:09 UTC (rev 53530)
@@ -0,0 +1,10 @@
+\begin{tikzpicture}[scale=1]
+ \tkzDefPoint(2,3){A}
+ \tkzDefShiftPointCoord[2,3](30:4){B}
+ \tkzDefShiftPointCoord[2,3](-30:4){C}
+ \tkzDrawSegments(A,B B,C C,A)
+ % or \tkzDrawPolygon
+ \tkzDrawPoints(A,B,C)
+ \tkzLabelPoints(B,C)
+ \tkzLabelPoint[left](A){$A$}
+\end{tikzpicture}
Property changes on: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-9-4-1.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-9-4-2.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-9-4-2.tex (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-9-4-2.tex 2020-01-24 21:42:09 UTC (rev 53530)
@@ -0,0 +1,9 @@
+\begin{tikzpicture}[rotate=15]
+ \tkzDefPoint(2,3){A}
+ \tkzDefShiftPointCoord[2,3](15:5){B}
+ \tkzDefShiftPointCoord[2,3](-15:5){C}
+ \tkzDrawSegments(A,B B,C C,A)
+ \tkzDrawPoints(A,B,C)
+ \tkzLabelPoints(B,C)
+ \tkzLabelPoint[left](A){$A$}
+\end{tikzpicture}
Property changes on: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-9-4-2.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-9-5-1.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-9-5-1.tex (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-9-5-1.tex 2020-01-24 21:42:09 UTC (rev 53530)
@@ -0,0 +1,4 @@
+ \begin{tikzpicture}
+ \tkzDefPoint(1,3){A}
+ \tkzDrawPoint(A)
+ \end{tikzpicture}
Property changes on: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-9-5-1.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-9-5-2.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-9-5-2.tex (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-9-5-2.tex 2020-01-24 21:42:09 UTC (rev 53530)
@@ -0,0 +1,14 @@
+ \begin{tikzpicture}
+ \tikzset{point style/.style={%
+ draw = blue,
+ inner sep = 0pt,
+ shape = circle,
+ minimum size = 6pt,
+ fill = red!20}}
+ \tkzDefPoint(1,3){A}
+ \tkzDefPoint(4,1){B}
+ \tkzDefPoint(0,0){O}
+ \tkzDrawPoint(A)
+ \tkzDrawPoint(B)
+ \tkzDrawPoint(O)
+ \end{tikzpicture}
Property changes on: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-9-5-2.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-9-5-3.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-9-5-3.tex (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-9-5-3.tex 2020-01-24 21:42:09 UTC (rev 53530)
@@ -0,0 +1,9 @@
+ \begin{tikzpicture}[scale=.5]
+ \tkzDefPoint(1,3){A}
+ \tkzDefPoint(4,1){B}
+ \tkzDefPoint(0,0){O}
+ \tkzDrawPoint[shape=cross out,size=12,color=red](A)
+ \tkzDrawPoint[shape=cross,size=12,color=blue](B)
+ \tkzDrawPoint[size=12,color=green](O)
+ \tkzDrawPoint[size=12,color=blue,fill=yellow]({2,2})
+ \end{tikzpicture}
Property changes on: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-9-5-3.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-9-6-1.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-9-6-1.tex (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-9-6-1.tex 2020-01-24 21:42:09 UTC (rev 53530)
@@ -0,0 +1,6 @@
+ \begin{tikzpicture}[scale=.5]
+ \tkzDefPoint(1,3){A}
+ \tkzDefPoint(4,1){B}
+ \tkzDefPoint(0,0){O}
+ \tkzDrawPoints[size=8,color=red](A,B,O)
+ \end{tikzpicture}
Property changes on: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-9-6-1.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-9-6-2.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-9-6-2.tex (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-9-6-2.tex 2020-01-24 21:42:09 UTC (rev 53530)
@@ -0,0 +1,14 @@
+\begin{tikzpicture}[scale=.5]
+ \tkzDefPoint(2,3){A} \tkzDefPoint(5,-1){B}
+ \tkzDefPoint[label=below:$\mathcal{C}$,
+ shift={(2,3)}](-30:5.5){E}
+ \begin{scope}[shift=(A)]
+ \tkzDefPoint(30:5){C}
+ \end{scope}
+ \tkzCalcLength[cm](A,B)\tkzGetLength{rAB}
+ \tkzDrawCircle[R](A,\rAB cm)
+ \tkzDrawSegment(A,B)
+ \tkzDrawPoints(A,B,C)
+ \tkzLabelPoints(B,C)
+ \tkzLabelPoints[above](A)
+\end{tikzpicture}
Property changes on: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-9-6-2.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-9-7-1.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-9-7-1.tex (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-9-7-1.tex 2020-01-24 21:42:09 UTC (rev 53530)
@@ -0,0 +1,10 @@
+\begin{tikzpicture}
+ \tkzDefPoint(0,0){A}
+ \tkzDefPoint(4,0){B}
+ \tkzDefPoint(0,3){C}
+ \tkzDrawSegments(A,B B,C C,A)
+ \tkzDrawPoints(A,B,C)
+ \tkzLabelPoint[left,red](A){$A$}
+ \tkzLabelPoint[right,blue](B){$B$}
+ \tkzLabelPoint[above,purple](C){$C$}
+\end{tikzpicture}
Property changes on: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-9-7-1.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-9-7-2.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-9-7-2.tex (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-9-7-2.tex 2020-01-24 21:42:09 UTC (rev 53530)
@@ -0,0 +1,7 @@
+ \begin{tikzpicture}
+ \tkzInit[xmax=1,xstep=0.15,ymax=.5]
+ \tkzAxeX \tkzDrawY[noticks]
+ \tkzDefPoint(0.22,0.25){A}
+ \tkzDrawPoint(A)
+ \tkzLabelPoint[above](A){$A_1$}
+ \end{tikzpicture}
Property changes on: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-9-7-2.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-9-8-1.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-9-8-1.tex (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-9-8-1.tex 2020-01-24 21:42:09 UTC (rev 53530)
@@ -0,0 +1,7 @@
+\begin{tikzpicture}
+ \tkzDefPoint(2,3){A}
+ \tkzDefShiftPoint[A](30:2){B}
+ \tkzDefShiftPoint[A](30:5){C}
+ \tkzDrawPoints(A,B,C)
+ \tkzLabelPoints(A,B,C)
+\end{tikzpicture}
Property changes on: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-9-8-1.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-9-9-1.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-9-9-1.tex (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-9-9-1.tex 2020-01-24 21:42:09 UTC (rev 53530)
@@ -0,0 +1,15 @@
+\begin{tikzpicture}[scale=1.25]
+ \tkzDefPoint(2,1){O}
+ \tkzDefRandPointOn[circle=center O radius 1.5cm]{A}
+ \tkzDrawCircle(O,A)
+ \tkzDefPointBy[rotation=center O angle 100](A)
+ \tkzGetPoint{C}
+ \tkzDefPointBy[rotation=center O angle 78](A)
+ \tkzGetPoint{B}
+ \tkzDrawPoints(O,A,B,C)
+ \tkzDrawSegments(C,B B,A A,O O,C)
+ \tkzDefCentroid(A,B,C,O)
+ \tkzDrawPoint(tkzPointResult)
+ \tkzAutoLabelPoints[center=tkzPointResult,
+ dist=.3,red](O,A,B,C)
+\end{tikzpicture}
Property changes on: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-9-9-1.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-9-9-2.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-9-9-2.tex (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-9-9-2.tex 2020-01-24 21:42:09 UTC (rev 53530)
@@ -0,0 +1,12 @@
+\begin{tikzpicture}[scale=1.25]
+ \tkzDefPoint(2,1){O}
+ \tkzDefRandPointOn[circle=center O radius 1.5cm]{A}
+ \tkzDrawCircle(O,A)
+ \tkzDefPointBy[rotation=center O angle 100](A)
+ \tkzGetPoint{C}
+ \tkzDefPointBy[rotation=center O angle 78](A)
+ \tkzGetPoint{B}
+ \tkzDrawPoints(O,A,B,C)
+ \tkzDrawSegments(C,B B,A A,O O,C)
+ \tkzAutoLabelPoints[center=O,red](A,B,C)
+\end{tikzpicture}
Property changes on: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbase-9-9-2.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Deleted: trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbasepreamble.ltx
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbasepreamble.ltx 2020-01-24 10:00:38 UTC (rev 53529)
+++ trunk/Master/texmf-dist/doc/latex/tkz-base/examples/tkzbasepreamble.ltx 2020-01-24 21:42:09 UTC (rev 53530)
@@ -1,18 +0,0 @@
-%
-% tkzfctpreamble (juin 2011)
-%
-% Coding (utf8) Creator (TeX) Producer (pdfeTeX)
-% Copyright (C) 2010 Alain Matthes
-%
-\documentclass{scrartcl}
-\usepackage[usenames,dvipsnames,svgnames]{xcolor}
-\usepackage{amsmath,tkz-tab,tkz-euclide,tkz-fct}
-\usetkzobj{all}
-
-\definecolor{bistre}{rgb}{.75,.50,.30}
-\definecolor{Maroon}{rgb}{0.5,0.0,0.0}
-\definecolor{fondpaille}{cmyk}{0,0,0.1,0}
-\pagecolor{fondpaille}
-\color{Maroon}
-\tkzSetUpColors[background=fondpaille,text=Maroon]
-
Deleted: trunk/Master/texmf-dist/doc/latex/tkz-base/tkz-base-screen.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/tex/latex/tkz-base/tkz-base.cfg
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tkz-base/tkz-base.cfg 2020-01-24 10:00:38 UTC (rev 53529)
+++ trunk/Master/texmf-dist/tex/latex/tkz-base/tkz-base.cfg 2020-01-24 21:42:09 UTC (rev 53530)
@@ -1,3 +1,4 @@
+% tkz-base.cfg
% Copyright 2011 by Alain Matthes
%
% This file may be distributed and/or modified
@@ -4,128 +5,165 @@
%
% 1. under the LaTeX Project Public License and/or
% 2. under the GNU Public License.
-
-% original tkz-base.cfg
-%
% 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{1.16 d}
-\def\filedate{2018/09/19}
-\makeatletter
-%<--------- axes cartesian system ---------------------------------------–>
-\global\edef\tkz at init@color{\tkz at textcolor}
-\global\def\tkz at init@lw{0.4 pt}
-\global\def\tkz at init@tickwd{0.8 pt}
-\global\def\tkz at init@ticka{2 pt}
-\global\def\tkz at init@tickb{2 pt}
-\global\def\tkz at init@xlabel{$x$}
-\global\def\tkz at init@ylabel{$y$}
-\global\def\tkz at init@tickb{2 pt}
-\global\def\tkz at init@rightspace{.5}
-\global\def\tkz at init@leftspace{0}
-\global\def\tkz at init@upspace{.5}
-\global\def\tkz at init@downspace{0}
+\def\fileversion{3.01c}
+\def\filedate{2020/01/23}
+\typeout{2020/01/23 3.01c tkz-base.cfg}
+%<------ colors ---------------------------------------–>
+\def\tkz at backgroundcolor{white}
+\def\tkz at textcolor{black}
+%<---------------------------------------------------------
+\def\tkz at fillcolor{\tkz at backgroundcolor}
+\def\tkz at mainlinecolor{\tkz at textcolor}
+\def\tkz at otherlinecolor{\tkz at mainlinecolor!50}
+%<------------------------- Cartesian system -----------------------------–>
+% Default unity cm
+% Geometry Euclidean with unity for x and y = 1cm ---> step = 1
+% 0 ≤ x ≤ 10
+% 0 ≤ y ≤ 10
+\def\tkz at init@xorigine{0}
+\def\tkz at init@yorigine{0}
+\def\tkz at init@xstep{1}
+\def\tkz at init@ystep{1}
+\def\tkz at init@xmin{0}
+\def\tkz at init@ymin{0}
+\def\tkz at init@xmax{10}
+\def\tkz at init@ymax{10}
+\def\tkz at init@xdec{1}
+\def\tkz at init@ydec{1}
+%<-------------------------- points -----------------------------------–>
+\def\tkz at euc@pointshape{circle}
+\def\tkz at euc@pointcolor{\tkz at mainlinecolor}
+\def\tkz at euc@labelcolor{\tkz at mainlinecolor}
+\def\tkz at euc@pointsize{3 pt}
+\def\tkz at euc@pointpos{below right}
+\def\tkz at euc@segmentcolor{\tkz at mainlinecolor}
+\def\tkz at euc@circlecolor{\tkz at mainlinecolor}
+%<-------------------------- line ---------------------------------------–>
+\def\tkz at euc@linecolor{\tkz at mainlinecolor}
+\def\tkz at euc@linewidth{0.6pt}
+\def\tkz at euc@linestyle{solid}
+\def\tkz at euc@lineleft{.2}
+\def\tkz at euc@lineright{.2}
+%<------ axes cartesian system ---------------------------------------–>
+\def\tkz at init@color{\tkz at textcolor}
+\def\tkz at init@lw{0.4 pt}
+\def\tkz at init@tickwd{0.8 pt}
+\def\tkz at init@ticka{2 pt}
+\def\tkz at init@tickb{2 pt}
+\def\tkz at init@xlabel{$x$}
+\def\tkz at init@ylabel{$y$}
+\def\tkz at init@tickb{2 pt}
+\def\tkz at init@rightspace{.5}
+\def\tkz at init@leftspace{0}
+\def\tkz at init@upspace{.5}
+\def\tkz at init@downspace{0}
\global\let\tkzmathstyle\displaystyle
-\global\def\tkz at legend@line at len{1cm}
-%<------------------------------ styles ---------------------------------–>
-\tikzset{xlabel style/.style={below=3 pt,
- inner sep = 1pt,
- outer sep = 0pt}}
-\tikzset{xaxe style/.style ={>=latex,->}}
-\tikzset{ylabel style/.style={left = 3 pt,
- inner sep = 1pt,
- outer sep = 0pt}}
-\tikzset{yaxe style/.style ={>=latex,->}}
+\def\tkz at legend@line at len{1cm}
%<-------------------------- rep ---------------------------------------–>
-\global\edef\tkz at sur@color{\tkz at mainlinecolor}
-\global\edef\tkz at sur@colorlabel{\tkz at mainlinecolor}
-\global\def\tkz at sur@lw{0.8 pt}
-\global\def\tkz at sur@posxlabel{below=2pt}
-\global\def\tkz at sur@posylabel{left=2pt}
-\tikzset{rep style/.style={->,>=latex}}
+\def\tkz at sur@color{\tkz at mainlinecolor}
+\def\tkz at sur@colorlabel{\tkz at mainlinecolor}
+\def\tkz at sur@lw{0.8 pt}
+\def\tkz at sur@posxlabel{below=2pt}
+\def\tkz at sur@posylabel{left=2pt}
%<-------------------------- grid ---------------------------------------–>
-\global\edef\tkz at grid@color{gray}
-\global\def\tkz at grid@lw{0.4 pt}
-\global\def\tkzCoeffSubColor{50}
-\global\def\tkzCoeffSubLw{0.8}
-\global\def\tkz at grid@xstep{0.2}
-\global\def\tkz at grid@ystep{0.2}
-%<-------------------------- line ---------------------------------------–>
-\global\edef\tkz at euc@linecolor{\tkz at mainlinecolor}
-\global\def\tkz at euc@linewidth{0.6pt}
-\global\def\tkz at euc@linestyle{solid}
-\global\def\tkz at euc@lineleft{.2}
-\global\def\tkz at euc@lineright{.2}
-\tikzset{line style/.style={%
- line width = \tkz at euc@linewidth,
- color = \tkz at euc@linecolor,
- style = \tkz at euc@linestyle,
- add = {\tkz at euc@lineleft} and {\tkz at euc@lineright}}
- }
-%<-------------------------- points -----------------------------------–>
-\global\edef\tkz at euc@pointshape{circle}
-\global\edef\tkz at euc@pointcolor{\tkz at mainlinecolor}
-\global\edef\tkz at euc@labelcolor{\tkz at mainlinecolor}
-\global\def\tkz at euc@pointsize{6}
-\global\def\tkz at euc@pointpos{below right}
-\global\edef\tkz at euc@segmentcolor{\tkz at mainlinecolor}
-\global\edef\tkz at euc@circlecolor{\tkz at mainlinecolor}
-\tikzset{point style/.style={draw = \tkz at euc@pointcolor,
- inner sep = 0pt,
- shape = \tkz at euc@pointshape,
- minimum size = \tkz at euc@pointsize*\pgflinewidth,
- fill = \tkz at euc@pointcolor!50}}
+\def\tkz at grid@color{gray}
+\def\tkz at grid@lw{0.4 pt}
+\def\tkzCoeffSubColor{50}
+\def\tkzCoeffSubLw{0.8}
+\def\tkz at grid@xstep{0.2}
+\def\tkz at grid@ystep{0.2}
+\def\tkz at init@gradsize{\textstyle}
+\def\tkzRatioLineGrid{0.75}
+\def\tkz at gd@sublw{0.4 pt}% size line sub grid
%<------------------------- compass -----------------------------------–>
-\global\edef\tkz at euc@compasscolor{\tkz at otherlinecolor}
-\global\def\tkz at euc@compasswidth{0.4pt}
-\global\def\tkz at euc@compassstyle{solid}
-\tikzset{compass style/.style={color = \tkz at euc@compasscolor,
- line width = \tkz at euc@compasswidth,
- style = \tkz at euc@compassstyle}}
+\def\tkz at euc@compasscolor{\tkz at otherlinecolor}
+\def\tkz at euc@compasswidth{0.4pt}
+\def\tkz at euc@compassstyle{solid}
%<---------------------------- mark -----------------------------------–>
-\global\edef\tkz at mk@color{\tkz at mainlinecolor}
-\global\edef\tkz at mk@mark{*}
-\global\edef\tkz at mk@size{3pt}
-\global\edef\tkz at mk@fill{\tkz at otherlinecolor}
-\tikzset{mark style/.style={mark=\tkz at mk@mark,mark size=\tkz at mk@size,mark options={color=\tkz at mk@color,fill=\tkz at mk@fill}}}
+\def\tkz at mk@color{\tkz at mainlinecolor}
+\def\tkz at mk@mark{*}
+\def\tkz at mk@size{3pt}
+\def\tkz at mk@fill{\tkz at otherlinecolor}
+%<--------------------------------------------------------------------------–>
+%<------------------------------ styles ---------------------------------–>
+\tikzset{xlabel style/.style = {below = 3 pt,
+ inner sep = 1pt,
+ outer sep = 0pt}
+ }
+\tikzset{ylabel style/.style = {left = 3 pt,
+ inner sep = 1pt,
+ outer sep = 0pt}}
+\tikzset{xaxe style/.style = {> = latex, ->}
+}
+\tikzset{yaxe style/.style = {> = latex, ->}
+}
+
+\tikzset{point style/.style = {draw = \tkz at euc@pointcolor,
+ inner sep = 0pt,
+ shape = \tkz at euc@pointshape,
+ minimum size = \tkz at euc@pointsize,
+ fill = \tkz at euc@pointcolor
+ }
+ }
+% label for the point
+\tikzset{label style/.style={ \tkz at euc@pointpos,
+ \tkz at euc@labelcolor,
+ font = \normalsize}
+ }
+
+\tikzset{line style/.style = {line width = \tkz at euc@linewidth,
+ color = \tkz at euc@linecolor,
+ style = \tkz at euc@linestyle,
+ add = {\tkz at euc@lineleft} and {\tkz at euc@lineright}%
+ }
+ }
+\tikzset{label seg style/.style = {color = \tkz at mainlinecolor,
+ auto
+ }
+ }
+
+\tikzset{rep style/.style = { ->,
+ >=latex}
+ }
+\tikzset{compass style/.style = {color = \tkz at euc@compasscolor,
+ line width = \tkz at euc@compasswidth,
+ style = \tkz at euc@compassstyle}
+ }
+\tikzset{mark style/.style = {mark = \tkz at mk@mark,
+ mark size = \tkz at mk@size,
+ mark options = {color= \tkz at mk@color,
+ fill = \tkz at mk@fill
+ }
+ }
+}
%<---------------------- show coord -----------------------------------–>
-\tikzset{arrow coord style/.style={dashed,
- \tkz at euc@linecolor,
- >=latex',
- ->}}
-\tikzset{xcoord style/.style={\tkz at euc@labelcolor,
- font=\normalsize,text height=1ex,
- inner sep = 0pt,
- outer sep = 0pt,
- fill=\tkz at fillcolor,
- below=3pt}}
-\tikzset{ycoord style/.style={\tkz at euc@labelcolor,
- font=\normalsize,text height=1ex,
- inner sep = 0pt,
- outer sep = 0pt,
- fill=\tkz at fillcolor,
- left=3pt}}
+\tikzset{arrow coord style/.style = {dashed,
+ \tkz at euc@linecolor,
+ > = latex',
+ ->}
+ }
+\tikzset{xcoord style/.style = {\tkz at euc@labelcolor,
+ font = \normalsize,
+ text height = 1ex,
+ inner sep = 0pt,
+ outer sep = 0pt,
+ fill = \tkz at fillcolor,
+ below = 3pt}
+ }
+\tikzset{ycoord style/.style = {\tkz at euc@labelcolor,
+ font = \normalsize,
+ text height = 1ex,
+ inner sep = 0pt,
+ outer sep = 0pt,
+ fill = \tkz at fillcolor,
+ left = 3pt}
+ }
%<--------------------------- vector --------------------------------------–>
-\tikzset{vector style/.style={>=latex,->}}
-
-%<------------------------- Cartesian system -----------------------------–>
-% Default
-% Geometry Euclidean with unity for x and y = 1cm ---> step=1
-% 0 ≤ x ≤ 10
-% 0 ≤ y ≤ 10
-\xdef\tkz at init@xorigine{0}
-\xdef\tkz at init@yorigine{0}
-\xdef\tkz at init@xstep{1}
-\xdef\tkz at init@ystep{1}
-\xdef\tkz at init@xmin{0}
-\xdef\tkz at init@ymin{0}
-\xdef\tkz at init@xmax{10}
-\xdef\tkz at init@ymax{10}
-\xdef\tkz at init@xdec{1}
-\xdef\tkz at init@ydec{1}
-%<--------------------------------------------------------------------------–>
-\makeatother
+\tikzset{vector style/.style={>=latex,->}
+}
\endinput
\ No newline at end of file
Modified: trunk/Master/texmf-dist/tex/latex/tkz-base/tkz-base.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tkz-base/tkz-base.sty 2020-01-24 10:00:38 UTC (rev 53529)
+++ trunk/Master/texmf-dist/tex/latex/tkz-base/tkz-base.sty 2020-01-24 21:42:09 UTC (rev 53530)
@@ -1,3 +1,4 @@
+% tkz-base.sty % this file
% Copyright 2011 by Alain Matthes
%
% This file may be distributed and/or modified
@@ -6,45 +7,44 @@
% 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
-% tkz-base.cfg
-% tkz-obj-marks.tex
-% tkz-obj-points.tex
-% tkz-obj-segments.tex
-% tkz-tools-arith.tex
-% tkz-tools-base.tex
-% tkz-tools-math.tex
-% tkz-tools-misc.tex
-% tkz-tools-obsolete.tex
-% tkz-tools-utilities.tex
%<--------------------------------------------------------------------------–>
% Objet : Outils pour la création de graphiques géométriques
%<--------------------------------------------------------------------------–>
+\typeout{2020/01/23 3.01c tkz-base.sty}
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{tkz-base}[2018/09/19 1.16 d tkz-base]
+\ProvidesPackage{tkz-base}[2020/01/23 3.01c tkz-base]
\ifx\e at alloc\@undefined
\RequirePackage{etex}
\fi
\RequirePackage{tikz}
-\usetikzlibrary{calc,%
- arrows,%
- plotmarks,%
- positioning,%
- shapes.misc,%
- decorations,%
- decorations.markings,%
+\usetikzlibrary{%
+ angles,
+ arrows,
+ arrows.meta,
+ babel,
+ calc,
+ decorations,
+ decorations.markings,
decorations.pathreplacing,
- patterns}
+ intersections,
+ patterns,
+ plotmarks,
+ positioning,
+ quotes,
+ shapes.misc,
+ through
+ }
% Pour les les labels sur les axes
\@ifpackageloaded{numprint}{}
{\RequirePackage[autolanguage]{numprint}} %
-\RequirePackage{fp}
-% pas de messages de la part de fp !
-\FPmessagesfalse%
+\RequirePackage{xfp,fp}
+%\FPmessagesfalse % pas de messages de la part de fp !
+%---------------------
\newdimen\tkzRadius
\newdimen\tkzLength
\newdimen\tkz at radi
+%--------------------- tkz registres
\newdimen\tkz at ax
\newdimen\tkz at ay
\newdimen\tkz at bx
@@ -53,145 +53,67 @@
\newdimen\tkz at cy
\newdimen\tkz at dx
\newdimen\tkz at dy
+% 2017
+\newdimen\tkz at tax
+\newdimen\tkz at tay
+\newdimen\tkz at tbx
+\newdimen\tkz at tby
+\newdimen\tkz at tcx
+\newdimen\tkz at tcy
+\newdimen\tkz at tdx
+\newdimen\tkz at tdy
+%--------------------- points
+\newif\iftkz at polar\tkz at polarfalse
+\newif\iftkz at pt@polar
+\newif\iftkz at pt@show
+\newif\iftkz at pt@noname
+\newif\iftkz at coord@noxdraw
+\newif\iftkz at coord@noydraw
+\newif\iftkz at vec@normed
+%--------------------- lines
+\newif\iftkz at line@normed
+%--------------------- tkz axis
+\newif\iftkz at X@noticks
\newif\iftkz at Y@noticks
+\newif\iftkz at X@nograd
\newif\iftkz at Y@nograd
+\newif\iftkz at X@orig
\newif\iftkz at Y@orig
+\newif\iftkz at X@unit
\newif\iftkz at Y@unit
-\newif\iftkz at X@noticks
-\newif\iftkz at X@nograd
-\newif\iftkz at X@orig
-\newif\iftkz at X@unit
-\global\def\tkz at mathresult{}
-%<--------------------------- colors --------------------------------------->
-\def\tkz at backgroundcolor{white}
-\def\tkz at textcolor{black}
-\global\edef\tkz at fillcolor{\tkz at backgroundcolor}
-\global\edef\tkz at mainlinecolor{\tkz at textcolor}
-\global\edef\tkz at otherlinecolor{\tkz at mainlinecolor!50}
-\tikzset{%
- add/.style args={#1 and #2}{
- to path={%
- ($(\tikztostart)!-#1!(\tikztotarget)$)--($(\tikztotarget)!-#2!(\tikztostart)$)%
- \tikztonodes}}
-}
-%<--------- axes cartesian system ---------------------------------------–>
-\global\edef\tkz at init@color{\tkz at textcolor}
-\global\def\tkz at init@lw{0.4 pt}
-\global\edef\tkz at init@gradsize{\textstyle}
-\global\def\tkz at init@xlabel{$x$}
-\global\def\tkz at init@ylabel{$y$}
-\global\def\tkz at init@tickwd{0.8 pt}
-\global\def\tkz at init@ticka{2 pt}
-\global\def\tkz at init@tickb{2 pt}
-\global\def\tkz at init@rightspace{.5}
-\global\def\tkz at init@leftspace{0}
-\global\def\tkz at init@upspace{.5}
-\global\let\tkzmathstyle\displaystyle
-\global\def\tkz at init@downspace{0}
-%<------------------------------ styles ---------------------------------–>
-\tikzset{xlabel style/.style={below=3 pt,
- inner sep = 1pt,
- outer sep = 0pt}}
-\tikzset{xaxe style/.style ={>=latex,->}}
-\tikzset{ylabel style/.style={left = 3 pt,
- inner sep = 1pt,
- outer sep = 0pt}}
-\tikzset{yaxe style/.style ={>=latex,->}}
-%<-------------------------- rep ---------------------------------------–>
-\global\edef\tkz at sur@color{\tkz at mainlinecolor}
-\global\edef\tkz at sur@colorlabel{\tkz at mainlinecolor}
-\global\def\tkz at sur@lw{0.8 pt}
-\global\def\tkz at sur@posxlabel{below=2pt}
-\global\def\tkz at sur@posylabel{left=2pt}
-\tikzset{rep style/.style={->,>=latex}}
-%<-------------------------- grid ---------------------------------------–>
-\global\edef\tkz at grid@color{gray}
-\global\def\tkz at grid@lw{0.4 pt}
-\global\def\tkzCoeffSubColor{50}
-\global\def\tkzCoeffSubLw{0.8}
-\global\def\tkz at grid@xstep{0.2}
-\global\def\tkz at grid@ystep{0.2}
-%<-------------------------- line ---------------------------------------–>
-\global\edef\tkz at euc@linecolor{\tkz at mainlinecolor}
-\global\def\tkz at euc@linewidth{0.6pt}
-\global\def\tkz at euc@linestyle{solid}
-\global\def\tkz at euc@lineleft{.2}
-\global\def\tkz at euc@lineright{.2}
-\global\def\tkz at legend@line at len{1cm}
-\tikzset{line style/.style={%
- line width = \tkz at euc@linewidth,
- color = \tkz at euc@linecolor,
- style = \tkz at euc@linestyle,
- add = {\tkz at euc@lineleft} and {\tkz at euc@lineright}}
- }
-%<-------------------------- points -----------------------------------–>
-\global\edef\tkz at euc@pointshape{circle}
-\global\edef\tkz at euc@pointcolor{\tkz at mainlinecolor}
-\global\edef\tkz at euc@labelcolor{\tkz at mainlinecolor}
-\global\def\tkz at euc@pointsize{6}
-\global\def\tkz at euc@pointpos{below right}
-\global\edef\tkz at euc@segmentcolor{\tkz at mainlinecolor}
-\global\edef\tkz at euc@circlecolor{\tkz at mainlinecolor}
-\tikzset{point style/.style={draw = \tkz at euc@pointcolor,
- inner sep = 0pt,
- shape = \tkz at euc@pointshape,
- minimum size = \tkz at euc@pointsize*\pgflinewidth,
- fill = \tkz at euc@pointcolor!50}}
-%<------------------------- compass -----------------------------------–>
-\global\edef\tkz at euc@compasscolor{\tkz at otherlinecolor}
-\global\def\tkz at euc@compasswidth{0.4pt}
-\global\def\tkz at euc@compassstyle{solid}
-\tikzset{compass style/.style={color = \tkz at euc@compasscolor,
- line width = \tkz at euc@compasswidth,
- style = \tkz at euc@compassstyle}}
-%<---------------------------- mark -----------------------------------–>
-\global\edef\tkz at mk@color{\tkz at mainlinecolor}
-\global\edef\tkz at mk@mark{*}
-\global\edef\tkz at mk@size{3pt}
-\global\edef\tkz at mk@fill{\tkz at otherlinecolor}
-\tikzset{mark style/.style={mark=\tkz at mk@mark,mark size=\tkz at mk@size,mark options={color=\tkz at mk@color,fill=\tkz at mk@fill}}}
-%<---------------------- show coord -----------------------------------–>
-\tikzset{arrow coord style/.style={dashed,
- \tkz at euc@linecolor,
- >=latex',
- ->}}
-\tikzset{xcoord style/.style={\tkz at euc@labelcolor,
- font=\normalsize,text height=1ex,
- inner sep = 0pt,
- outer sep = 0pt,
- fill=\tkz at fillcolor,
- below=3pt}}
-\tikzset{ycoord style/.style={\tkz at euc@labelcolor,
- font=\normalsize,text height=1ex,
- inner sep = 0pt,
- outer sep = 0pt,
- fill=\tkz at fillcolor,
- left=3pt}}
-%<--------------------------- vector --------------------------------------–>
-\tikzset{vector style/.style={>=latex,->}}
-%<------------------------- Cartesian system -----------------------------–>
-% Default
-% Geometry Euclidean with unity for x and y = 1cm ---> step=1
-% 0 ≤ x ≤ 10
-% 0 ≤ y ≤ 10
-\xdef\tkz at init@xorigine{0}
-\xdef\tkz at init@yorigine{0}
-\xdef\tkz at init@xstep{1}
-\xdef\tkz at init@ystep{1}
-\xdef\tkz at init@xmin{0}
-\xdef\tkz at init@ymin{0}
-\xdef\tkz at init@xmax{10}
-\xdef\tkz at init@ymax{10}
-\xdef\tkz at init@xdec{1}
-\xdef\tkz at init@ydec{1}
-
-\input{tkz-tools-utilities}% obligatoire
-\input{tkz-tools-arith}% used only for axis
-\input{tkz-tools-base}
-\input{tkz-tools-misc}
-\input{tkz-tools-math}
-\input{tkz-obj-points}
-\input{tkz-obj-segments}
-\input{tkz-obj-marks}
+\newif\iftkz at np
+\newif\iftkz at swap
+\newif\iftkz at init@NO
+\newif\iftkz at Rep@orig%--------------------- Rep
+\newif\iftkzLengthIncm%--------------------- Math
+\newif\iftkz at sop@show%--------------------- marks
+\newif\iftkz at equi@show
+\newif\iftkz at gd@sub% sub grid ?%--------------------- about grid
+\newif\iftkz at node\tkz at nodefalse
+\newif\iftkz at legend@line%--------------------- legend
+\newif\iftkz at TestSubString
+\newif\ifnormtkzcode at execute% german ? right angle
+\newif\iftkz at sawp@sc%---------------------- semi circle
+\newif\ifpgf at unknown % math arith
+\newif\ifpgf at isaprime
+\newcount\tkz at cntmk
+\newif\iftkz at RappReturn % protractor
+\newif\iftkz at RappFull
+%--------------------- Init
+\def\tkz at xgrad{1}
+\def\tkz at ygrad{1}
+\def\tkz at xa{0}
+\def\tkz at xb{10}
+\def\tkz at ya{0}
+\def\tkz at yb{10}
+%----------------------
+\def\tkz at mathresult{}
+\InputIfFileExists{tkz-base.cfg}{%
+\typeout{Local configuration file tkz-base.cfg found and used}}{%
+\typeout{tkz-base.cfg not found} }
+\input{tkz-tools-modules}
+\input{tkz-lib-marks}
+\usetkztool{base,utilities,math,text,BB,arith,print,misc}
+\usetkzobj{axes,grids,marks,points,rep}
\endinput
Added: trunk/Master/texmf-dist/tex/latex/tkz-base/tkz-lib-marks.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tkz-base/tkz-lib-marks.tex (rev 0)
+++ trunk/Master/texmf-dist/tex/latex/tkz-base/tkz-lib-marks.tex 2020-01-24 21:42:09 UTC (rev 53530)
@@ -0,0 +1,108 @@
+% tkz-lib-marks.tex
+% Copyright 2011 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-lib-symbols.tex}
+\makeatletter
+%<--------------------------------------------------------------------------–>
+% Création des symboles
+%<--------------------------------------------------------------------------–>
+\def\tkz at undefined{none}
+% double bar
+\pgfdeclareplotmark{||}
+{%
+ \pgfpathmoveto{\pgfqpoint{2\pgflinewidth}{\pgfplotmarksize}}
+ \pgfpathlineto{\pgfqpoint{2\pgflinewidth}{-\pgfplotmarksize}}
+ \pgfpathmoveto{\pgfqpoint{-2\pgflinewidth}{\pgfplotmarksize}}
+ \pgfpathlineto{\pgfqpoint{-2\pgflinewidth}{-\pgfplotmarksize}}
+ \pgfusepathqstroke
+}
+%triple bar
+\pgfdeclareplotmark{|||}
+{%
+ \pgfpathmoveto{\pgfqpoint{0 pt}{\pgfplotmarksize}}
+ \pgfpathlineto{\pgfqpoint{0 pt}{-\pgfplotmarksize}}
+ \pgfpathmoveto{\pgfqpoint{-3\pgflinewidth}{\pgfplotmarksize}}
+ \pgfpathlineto{\pgfqpoint{-3\pgflinewidth}{-\pgfplotmarksize}}
+ \pgfpathmoveto{\pgfqpoint{3\pgflinewidth}{\pgfplotmarksize}}
+ \pgfpathlineto{\pgfqpoint{3\pgflinewidth}{-\pgfplotmarksize}}
+ \pgfusepathqstroke
+}
+% An bar slant
+
+\pgfdeclareplotmark{s|}
+{%
+ \pgfpathmoveto{\pgfqpoint{-.70710678\pgfplotmarksize}%
+ {-.70710678\pgfplotmarksize}}
+ \pgfpathlineto{\pgfqpoint{.70710678\pgfplotmarksize}%
+ {.70710678\pgfplotmarksize}}
+ \pgfusepathqstroke
+}
+
+% An double bar slant
+
+\pgfdeclareplotmark{s||}
+{%
+ \pgfpathmoveto{\pgfqpoint{-0.75\pgfplotmarksize}{-\pgfplotmarksize}}
+ \pgfpathlineto{\pgfqpoint{0.25\pgfplotmarksize}{\pgfplotmarksize}}
+ \pgfpathmoveto{\pgfqpoint{0\pgfplotmarksize}{-\pgfplotmarksize}}
+ \pgfpathlineto{\pgfqpoint{1\pgfplotmarksize}{\pgfplotmarksize}}
+ \pgfusepathqstroke
+}
+
+% z
+\pgfdeclareplotmark{z}
+{%
+ \pgfpathmoveto{\pgfqpoint{0.75\pgfplotmarksize}{-\pgfplotmarksize}}
+ \pgfpathlineto{\pgfqpoint{-0.75\pgfplotmarksize}{-\pgfplotmarksize}}
+ \pgfpathlineto{\pgfqpoint{0.75\pgfplotmarksize}{\pgfplotmarksize}}
+ \pgfpathlineto{\pgfqpoint{-0.75\pgfplotmarksize}{\pgfplotmarksize}}
+ \pgfusepathqstroke
+}
+% s
+\pgfdeclareplotmark{s}
+{%
+ \pgfpathmoveto{\pgfqpoint{0pt}{0pt}}
+ \pgfpathcurveto
+ {\pgfpoint{0pt}{0pt}}
+ {\pgfpoint{-\pgfplotmarksize}{\pgfplotmarksize}}
+ {\pgfpoint{\pgfplotmarksize}{\pgfplotmarksize}}
+ \pgfpathmoveto{\pgfqpoint{0pt}{0pt}}
+ \pgfpathcurveto
+ {\pgfpoint{0pt}{0pt}}
+ {\pgfpoint{\pgfplotmarksize}{-\pgfplotmarksize}}
+ {\pgfpoint{-\pgfplotmarksize}{-\pgfplotmarksize}}
+ \pgfusepathqstroke
+}
+% infinity
+\pgfdeclareplotmark{oo}
+{%
+ \pgfpathmoveto{\pgfqpoint{0pt}{0pt}}
+ \pgfpathcurveto
+ {\pgfpoint{0pt}{0pt}}
+ {\pgfpoint{.5\pgfplotmarksize}{1\pgfplotmarksize}}
+ {\pgfpoint{\pgfplotmarksize}{0pt}}
+ \pgfpathmoveto{\pgfqpoint{0pt}{0pt}}
+ \pgfpathcurveto
+ {\pgfpoint{0pt}{0pt}}
+ {\pgfpoint{-.5\pgfplotmarksize}{1\pgfplotmarksize}}
+ {\pgfpoint{-\pgfplotmarksize}{0pt}}
+ \pgfpathmoveto{\pgfqpoint{0pt}{0pt}}
+ \pgfpathcurveto
+ {\pgfpoint{0pt}{0pt}}
+ {\pgfpoint{.5\pgfplotmarksize}{-1\pgfplotmarksize}}
+ {\pgfpoint{\pgfplotmarksize}{0pt}}
+ \pgfpathmoveto{\pgfqpoint{0pt}{0pt}}
+ \pgfpathcurveto
+ {\pgfpoint{0pt}{0pt}}
+ {\pgfpoint{-.5\pgfplotmarksize}{-1\pgfplotmarksize}}
+ {\pgfpoint{-\pgfplotmarksize}{0pt}}
+ \pgfusepathqstroke
+}
+\makeatother
+\endinput
\ No newline at end of file
Property changes on: trunk/Master/texmf-dist/tex/latex/tkz-base/tkz-lib-marks.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/tex/latex/tkz-base/tkz-obj-axes.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tkz-base/tkz-obj-axes.tex (rev 0)
+++ trunk/Master/texmf-dist/tex/latex/tkz-base/tkz-obj-axes.tex 2020-01-24 21:42:09 UTC (rev 53530)
@@ -0,0 +1,462 @@
+% tkz-obj-axes.tex
+% Copyright 2011 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.
+% utf8 encoding
+\def\fileversion{3.01c}
+\def\filedate{2020/01/23}
+\typeout{2020/01/23 3.01c tkz-obj-axes.tex}
+ \newif\ifinteger
+ \makeatletter
+\def\removedot#1.{#1}
+\newcommand\tkzgetinteger[1]{\expandafter\tkz at getinteger#1.\@nil}
+\def\tkz at getinteger#1.#2\@nil{%
+ \ifx\empty#2\empty
+ \integertrue
+ \else
+ \ifnum\removedot#2=0
+ \integertrue
+ \else
+ \integerfalse
+ \fi
+ \fi
+}
+%<--------------------------------------------------------------------------–>
+% some tools
+%<--------------------------------------------------------------------------–>
+\def\tkz at showgrad#1{%
+\tkzgetinteger{#1}
+\ifinteger\edef\tkz at result{\fpeval{trunc(#1,0)}}\else\edef\tkz at result{#1}\fi}%
+
+\def\tkz at Xresult{%
+\tkz at showgrad{\tkz at xgrad}%
+ $\numprint{\tkz at result}$%
+}%
+%<--------------------------------------------------------------------------–>
+\def\tkz at Yresult{%
+\tkz at showgrad{\tkz at ygrad}%
+$\numprint{\tkz at result}$
+}%
+%<--------------------------------------------------------------------------–>
+%<--------------------------------------------------------------------------–>
+\def\tkz at Xshowgradresult#1{%
+\iftkz at X@orig%
+ \tkz at Xresult%
+\else% orig
+ \iftkz at init@NO%
+ \unless\ifx#1\tkz at posmin%
+ \tkz at Xresult\fi
+ \else% NO
+ \unless\ifx#1\x at tkzero%
+ \tkz at Xresult%
+ \fi%end of x at tkzero
+ \fi%end of NO
+\fi%end of orig
+}%
+%<--------------------------------------------------------------------------–>
+\def\tkz at Yshowgradresult#1{%
+\iftkz at Y@orig%
+ \tkz at Yresult%
+\else % orig
+\iftkz at init@NO%
+ \unless\ifx#1\tkz at posmin%
+ \tkz at Yresult\fi
+ \else% NO
+ \unless\ifx#1\y at tkzero%
+ \tkz at Yresult%
+ \fi%end of x at tkzero
+ \fi%end of NO
+\fi%end of orig
+}%
+%<--------------------------------------------------------------------------–>
+%<--------------------------------------------------------------------------–>
+\def\tkz at Xshowgrad#1{%
+\iftkz at X@orig%
+ \tkzprintfrac%
+\else% orig
+ \iftkz at init@NO%
+ \unless\ifx#1\tkz at posmin%
+ \tkzprintfrac\fi%
+ \else% NO
+ \unless\ifx#1\x at tkzero%
+ \tkzprintfrac%
+ \fi%end of x at tkzero
+ \fi%end of NO
+\fi%end of orig
+}%
+%<--------------------------------------------------------------------------–>
+\def\tkz at Yshowgrad#1{%
+\iftkz at Y@orig%
+\tkzprintfrac%
+\else% orig
+ \iftkz at init@NO%
+ \unless\ifx\tkz at pos\tkz at posmin%
+ \tkzprintfrac\fi%
+ \else % NO
+ \unless\ifx\tkz at pos\y at tkzero%
+ \tkzprintfrac%
+ \fi%end of x at tkzero
+ \fi%end of NO
+\fi%end of orig
+}%
+
+%<--------------------------------------------------------------------------–>
+% Setup axe
+%<--------------------------------------------------------------------------–>
+\pgfkeys{tkzaxis/.cd,
+ line width/.code = \xdef\tkz at sua@lw{#1},
+ color/.code = \xdef\tkz at sua@color{#1},
+ tickwd/.code = \xdef\tkz at sua@tickwd{#1},
+ ticka/.code = \xdef\tkz at sua@ticka{#1},
+ tickb/.code = \xdef\tkz at sua@tickb{#1},
+ line width = \tkz at init@lw,
+ color = \tkz at init@color,
+ tickwd = \tkz at init@tickwd,
+ ticka = \tkz at init@ticka,
+ tickb = \tkz at init@tickb
+}
+
+\def\tkzSetUpAxis{\pgfutil at ifnextchar[{\tkz at SetUpAxis}{\tkz at SetUpAxis[]}}
+\def\tkz at SetUpAxis[#1]{%
+\begingroup
+\pgfqkeys{/tkzaxis}{#1}
+\global\let\tkz at init@lw\tkz at sua@lw
+\global\let\tkz at init@gradsize\tkz at sua@gradsize
+\global\let\tkz at init@color\tkz at sua@color
+\global\let\tkz at init@tickwd\tkz at sua@tickwd
+\global\let\tkz at init@ticka\tkz at sua@ticka
+\global\let\tkz at init@tickb\tkz at sua@tickb
+\endgroup
+}
+%<--------------------------------------------------------------------------–>
+% tkzDrawX todo améliorer les unités
+% sans doute à revoir loop from 0 to i then calcul dans la boucle de la position
+% et de l'affichage
+%<--------------------------------------------------------------------------–>
+\pgfkeys{%
+ /tkzdrawX/.cd,
+ color/.store in = \tkz at X@color,
+ label/.store in = \tkz at X@label,
+ right space/.store in = \tkz at axe@rxspace,
+ left space/.store in = \tkz at axe@lxspace,
+ trig/.store in = \tkz at X@trig,
+ step/.code = {\edef\tkz at posnext{\fpeval{#1}}},
+ color = \tkz at init@color,
+ label = \tkz at init@xlabel,
+ trig = 0,
+ step = \tkz at init@xstep,
+ right space = \tkz at init@rightspace, %???
+ left space = \tkz at init@leftspace,
+ noticks/.is if = tkz at X@noticks,
+ noticks/.default = true,
+ noticks = false,
+ tickwd/.store in = \tkz at X@tickwd,
+ tickup/.store in = \tkz at X@tickup,
+ tickdn/.store in = \tkz at X@tickdn,
+ tickwd = \tkz at init@tickwd,
+ tickup = \tkz at init@ticka,
+ tickdn = \tkz at init@tickb,
+ /tkzdrawX/.search also={/tikz},
+ }
+
+\def\tkzDrawX{\pgfutil at ifnextchar[{\tkz at DrawX}{\tkz at DrawX[]}}
+\def\tkz at DrawX[#1]{
+\begingroup%
+\pgfqkeys{/tkzdrawX}{#1}
+\edef\tkz at posmax{\fpeval{trunc(\tkz at xb,\tkz at init@xdec)}}
+\edef\tkz at posmin{\fpeval{trunc(\tkz at xa,\tkz at init@xdec)}}
+\edef\tkz at xbsup{\fpeval{\tkz at xb+\tkz at axe@rxspace}}
+\edef\tkz at xainf{\fpeval{\tkz at xa-\tkz at axe@lxspace}}
+\path (\tkz at xainf,0)--(\tkz at xbsup,0) node(tkz at xline){};
+\draw[xaxe style,
+ color = \tkz at X@color,
+ /tkzdrawX/.cd, #1] (\tkz at xainf,0)--(\tkz at xbsup,0)
+ node[ xlabel style,
+ /tkzdrawX/.cd,
+ #1]{\tkz at X@label};
+ \iftkz at X@noticks
+ \else
+ \ifnum\tkz at X@trig=0
+ \edef\tkz at posmax{\fpeval{trunc(\tkz at posmax,\tkz at init@xdec)}}
+ \edef\tkz at posnext{\fpeval{\tkz at posnext/\tkz at init@xstep+\tkz at posmin}}
+ \foreach \pos in {\tkz at posmin,...,\tkz at posmax}{%
+ \edef\tkz at pos{\fpeval{\pos*1}}% ???
+ \draw[ color = \tkz at X@color, line width = \tkz at X@tickwd,
+ shift = {(\tkz at pos,0)}]%
+ (0pt,\tkz at X@tickup)--(0pt,-\tkz at X@tickdn);
+ }
+ \else
+ \edef\tkz at posmin{\fpeval{round(((\tkz at posmin+.5)/pi)*\tkz at X@trig,0)}}
+ \edef\tkz at posmax{\fpeval{round(((\tkz at posmax)/pi)*\tkz at X@trig,0)}}
+ \foreach \tkz at pos in {\tkz at posmin,...,\tkz at posmax}{%
+ \edef\tkz at pospi{\fpeval{(\tkz at pos*pi)/\tkz at X@trig}}
+ \draw[color = \tkz at X@color,
+ line width = \tkz at X@tickwd,%
+ shift = {(\tkz at pospi,0)}]%
+ (0pt,\tkz at X@tickup)--(0pt,-\tkz at X@tickdn);
+ }% end foreach
+ \fi
+ \fi
+\endgroup
+}
+%<--------------------------------------------------------------------------–>
+% tkzDrawY todo améliorer les unités
+%<--------------------------------------------------------------------------–>
+\pgfkeys{%
+ /tkzdrawY/.cd,
+ color/.store in = \tkz at Y@color,
+ label/.store in = \tkz at Y@label,
+ up space/.store in = \tkz at axe@uyspace,
+ down space/.store in = \tkz at axe@dyspace,
+ trig/.store in = \tkz at Y@trig,
+ step/.code = {\edef\tkz at posnext{\fpeval{#1}}},
+ color = \tkz at init@color,
+ label = \tkz at init@ylabel,
+ trig = 0,
+ step = \tkz at init@ystep,
+ up space = \tkz at init@upspace,
+ down space = \tkz at init@downspace,
+ noticks/.is if = tkz at Y@noticks,
+ noticks/.default = true,
+ noticks = false,
+ tickwd/.store in = \tkz at Y@tickwd,
+ ticklt/.store in = \tkz at Y@ticklt,
+ tickrt/.store in = \tkz at Y@tickrt,
+ tickwd = \tkz at init@tickwd,
+ ticklt = \tkz at init@tickb,
+ tickrt = \tkz at init@ticka,
+ /tkzdrawY/.search also={/tikz},
+ }
+
+\def\tkzDrawY{\pgfutil at ifnextchar[{\tkz at DrawY}{\tkz at DrawY[]}}
+\def\tkz at DrawY[#1]{%
+\begingroup
+\pgfkeys{/tkzdrawY/.cd,step = \tkz at init@ystep}
+\pgfqkeys{/tkzdrawY}{#1}
+\edef\tkz at posmax{\fpeval{trunc(\tkz at yb,\tkz at init@ydec)}}
+\edef\tkz at posmin{\fpeval{trunc(\tkz at ya,\tkz at init@ydec)}}
+\edef\tkz at ybsup{\fpeval{\tkz at yb+\tkz at axe@uyspace}}
+\edef\tkz at yainf{\fpeval{\tkz at ya-\tkz at axe@dyspace}}
+\path (0,\tkz at yainf)--(0,\tkz at ybsup) node(tkz at yline){};
+\draw[color = \tkz at Y@color,
+ yaxe style,/tkzdrawY/.cd,#1] (0,\tkz at yainf)--(0,\tkz at ybsup)
+ node[ylabel style,/tkzdrawY/.cd,#1]{\tkz at Y@label};
+ \iftkz at Y@noticks
+ \else
+ \ifnum\tkz at Y@trig=0
+ \edef\tkz at posmax{\fpeval{trunc(\tkz at posmax,\tkz at init@ydec)}}
+ \edef\tkz at posnext{\fpeval{\tkz at posnext/\tkz at init@ystep+\tkz at posmin}}
+ \foreach \tkz at pos in {\tkz at posmin,\tkz at posnext,...,\tkz at posmax}{%
+ \draw[color = \tkz at Y@color,
+ line width = \tkz at Y@tickwd,
+ shift = {(0,\tkz at pos)}]%
+ (\tkz at Y@tickrt,0pt)--(-\tkz at Y@ticklt,0pt);}
+ \else
+ \edef\tkz at posmin{\fpeval{round(((\tkz at posmin+.5)/pi)*\tkz at Y@trig,0)}}
+ \edef\tkz at posmax{\fpeval{round(((\tkz at posmax)/pi)*\tkz at Y@trig,0)}}
+ \foreach \tkz at pos in {\tkz at posmin,...,\tkz at posmax}{%
+ \edef\tkz at pospi{\fpeval{(\tkz at pos*pi)/\tkz at Y@trig}}
+ \draw[color = \tkz at Y@color,
+ line width = \tkz at Y@tickwd,%
+ shift = {(0,\tkz at pospi)}]%
+ (\tkz at Y@tickrt,0pt)--(-\tkz at Y@ticklt,0pt);
+ }% end foreach
+ \fi
+ \fi
+\endgroup}
+%<--------------------------------------------------------------------------->
+% tkzLabelX
+%<--------------------------------------------------------------------------->
+\pgfkeys{/tkzlabelX/.cd,
+ frac/.store in = \tkz at X@frac,
+ trig/.store in = \tkz at X@trig,
+ step/.store in = \tkz at posnext,
+ tickwd/.store in = \tkz at X@tickwd,
+ tickup/.store in = \tkz at X@tickup,
+ tickdn/.store in = \tkz at X@tickdn,
+ np off/.is if = tkz at np,
+ np off/.default = true,
+ np off = false,
+ orig/.is if = tkz at X@orig,
+ orig/.default = false,
+ orig = true,
+ frac = 0,
+ trig = 0,
+ step = \tkz at init@xstep,
+ tickwd = \tkz at init@tickwd,
+ tickup = \tkz at init@ticka,
+ tickdn = \tkz at init@tickb,
+ /tkzlabelX/.search also={/tikz},
+ }
+\def\tkzLabelX{\pgfutil at ifnextchar[{\tkz at LabelX}{\tkz at LabelX[]}}
+\def\tkz at LabelX[#1]{%
+\begingroup
+\pgfkeys{/tkzlabelX/.cd,step = \tkz at init@xstep}
+\pgfqkeys{/tkzlabelX}{#1}
+\iftkz at np\let\numprint at saved\numprint %
+\let\numprint\relax\fi %
+
+\edef\tkz at posmin{\fpeval{trunc(\tkz at xa,\tkz at init@xdec)}}
+\edef\tkz at posmax{\fpeval{trunc(\tkz at xb,\tkz at init@xdec)}}
+\edef\x at tkzero{\fpeval{trunc(0.0000000,\tkz at init@xdec)}}
+
+\ifnum\tkz at X@frac=0 %
+ \ifnum\tkz at X@trig=0 % affichage normal
+ \edef\tkz at posnext{\fpeval{\tkz at posnext/\tkz at init@xstep+\tkz at posmin}}
+ \foreach \tkz at pos in {\tkz at posmin,\tkz at posnext,...,\tkz at posmax}{%
+ \edef\tkz at pos{\fpeval{trunc(\tkz at pos,\tkz at init@xdec)}}
+ \edef\tkz at xgrad{\fpeval{\tkz at pos*\tkz at init@xstep+\tkz at init@xorigine}}
+ \edef\tkz at xgrad{\fpeval{trunc(\tkz at xgrad,\tkz at init@xdec)}}
+ \path[shift = {(\tkz at pos,0)}] (0pt,\tkz at X@tickup) -- (0pt,-\tkz at X@tickdn)%
+ node[ xlabel style,%
+ fill = \tkz at fillcolor,
+ /tkzlabelX/.cd,#1]{\tkz at Xshowgradresult{\tkz at pos}};
+}%
+ \else% trig > 0
+ \edef\tkz at posmin{\fpeval{round(((\tkz at posmin+.5)/pi)*\tkz at X@trig,0)}}
+ \edef\tkz at posmax{\fpeval{(\tkz at posmax/pi)*\tkz at X@trig}}
+ \foreach \tkz at pos in {\tkz at posmin,...,\tkz at posmax}{%
+ \tkzPrintFracWithPi{\tkz at pos}{\tkz at X@trig}
+ \edef\tkz at pospi{\fpeval{(\tkz at pos*pi)/\tkz at X@trig}}
+ \path[shift = {(\tkz at pospi,0)}]%
+ (0pt,\tkz at X@tickup)--(0pt,-\tkz at X@tickdn)%
+ node[xlabel style,
+ text height = 8pt,
+ fill = \tkz at fillcolor,
+ /tkzlabelX/.cd,#1]{\tkz at Xshowgrad{\tkz at pos}};%
+ }% end foreach
+ \fi
+\else% frac > 0
+ \edef\tkz at posmin{\fpeval{round(\tkz at posmin,0)}}
+ \foreach \tkz at pos in {\tkz at posmin,...,\tkz at posmax}{%
+ \tkzPrintFrac{\tkz at pos}{\tkz at X@frac}%
+ \path[shift = {(\tkz at pos,0)}]%
+ (0pt,\tkz at X@tickup)--(0pt,-\tkz at X@tickdn)%
+ node[xlabel style,text height = 8pt,fill = \tkz at fillcolor,
+ /tkzlabelX/.cd,#1]{\tkz at Xshowgrad{\tkz at pos}}%
+ ;%
+ }% end foreach
+\fi
+ \iftkz at np\let\numprint\numprint at saved \fi%
+\endgroup
+}
+%<--------------------------------------------------------------------------->
+% tkzLabelY
+%<--------------------------------------------------------------------------->
+\pgfkeys{/tkzlabelY/.cd,
+ frac/.store in = \tkz at Y@frac,
+ trig/.store in = \tkz at Y@trig,
+ step/.store in = \tkz at posnext,
+ tickwd/.store in = \tkz at Y@tickwd,
+ ticklt/.store in = \tkz at Y@ticklt,
+ tickrt/.store in = \tkz at Y@tickrt,
+ np off/.is if = tkz at np,
+ np off/.default = true,
+ np off = false,
+ orig/.is if = tkz at Y@orig,
+ orig/.default = false,
+ orig = true,
+ frac = 0,
+ trig = 0,
+ step = \tkz at init@ystep,
+ tickwd = \tkz at init@tickwd,
+ ticklt = \tkz at init@tickb,
+ tickrt = \tkz at init@ticka,
+ /tkzlabelY/.search also={/tikz}
+ }
+ \def\tkzLabelY{\pgfutil at ifnextchar[{\tkz at LabelY}{\tkz at LabelY[]}}
+\def\tkz at LabelY[#1]{%
+\begingroup
+\pgfkeys{/tkzlabelY/.cd,step = \tkz at init@ystep}
+\pgfqkeys{/tkzlabelY}{#1}
+\iftkz at np\let\numprint at saved\numprint %
+\let\numprint\relax\fi %
+\edef\tkz at posmin{\fpeval{trunc(\tkz at ya,\tkz at init@ydec)}}
+\edef\tkz at posmax{\fpeval{trunc(\tkz at yb,\tkz at init@ydec)}}
+\edef\y at tkzero{\fpeval{trunc(0.0000000,\tkz at init@ydec)}}
+
+\ifnum\tkz at Y@frac=0
+ \ifnum\tkz at Y@trig=0 % affichage normal
+ \edef\tkz at posnext{\fpeval{\tkz at posnext/\tkz at init@ystep+\tkz at posmin}}
+ \foreach \tkz at pos in {\tkz at posmin,\tkz at posnext,...,\tkz at posmax}{%
+ \edef\tkz at pos{\fpeval{trunc(\tkz at pos,\tkz at init@ydec)}}
+ \edef\tkz at ygrad{\fpeval{\tkz at pos*\tkz at init@ystep+\tkz at init@yorigine}}
+ \edef\tkz at ygrad{\fpeval{trunc(\tkz at ygrad,\tkz at init@ydec)}}
+ \path[shift = {(0,\tkz at pos)}]%
+ (\tkz at Y@tickrt,0pt)--(-\tkz at Y@ticklt,0pt)%
+ node[ylabel style,
+ fill = \tkz at fillcolor,
+ /tkzlabelY/.cd,#1]{\tkz at Yshowgradresult{\tkz at pos}};
+}
+ \else% trig > 0
+ \edef\tkz at posmin{\fpeval{round(((\tkz at posmin+.5)/pi)*\tkz at Y@trig,0)}}
+ \edef\tkz at posmax{\fpeval{(\tkz at posmax/pi)*\tkz at Y@trig}}
+ \foreach \tkz at pos in {\tkz at posmin,...,\tkz at posmax}{%
+ \tkzPrintFracWithPi{\tkz at pos}{\tkz at Y@trig}
+ \edef\tkz at pospi{\fpeval{(\tkz at pos*pi)/\tkz at Y@trig}}
+ \path[shift = {(0,\tkz at pospi)}]%
+ (\tkz at Y@tickrt,0pt)--(-\tkz at Y@ticklt,0pt)%
+ node[ylabel style,text height = 8pt,fill = \tkz at fillcolor,
+ /tkzlabelY/.cd,#1]{\tkz at Yshowgrad{\tkz at pos}};%
+ }% end foreach
+ \fi
+\else% frac > 0
+\edef\tkz at posmin{\fpeval{round(\tkz at posmin,0)}}
+ \foreach \tkz at pos in {\tkz at posmin,...,\tkz at posmax}{%
+ \tkzPrintFrac{\tkz at pos}{\tkz at Y@frac}%
+ \path[shift = {(0,\tkz at pos)}]%
+ (\tkz at Y@tickrt,0pt)--(-\tkz at Y@ticklt,0pt)%
+ node[ylabel style,
+ text height = 8pt,
+ fill = \tkz at fillcolor,
+ /tkzlabelY/.cd,#1]{\tkz at Yshowgrad{\tkz at pos}}%
+ ;%
+ }% end foreach
+\fi
+ \iftkz at np\let\numprint\numprint at saved \fi%
+\endgroup
+}
+%<-------------------------------------------------------------------------->
+%<--------------------------------------------------------------------------–>
+% tkzAxeX Draw + Label
+%<--------------------------------------------------------------------------–>
+\def\tkzAxeX{\pgfutil at ifnextchar[{\tkz at AxeX}{\tkz at AxeX[]}}
+\def\tkz at AxeX[#1]{%
+\begingroup
+ \tkzLabelX[#1]
+ \tkzDrawX[#1]
+\endgroup
+}
+%<--------------------------------------------------------------------------–>
+\def\tkzAxeY{\pgfutil at ifnextchar[{\tkz at AxeY}{\tkz at AxeY[]}}
+\def\tkz at AxeY[#1]{%
+\begingroup
+ \tkzDrawY[#1]
+ \tkzLabelY[#1]
+\endgroup}
+%<-------------------------------------------------------------------------->
+\pgfkeys{/tkzAxeXY/.cd,
+ swap/.is if = tkz at swap,
+ swap/.default = true,
+ swap = false,
+ /tkzAxeXY/.search also={/tikz},
+ /tkzAxeXY/.unknown/.code = {\let\searchname=\pgfkeyscurrentname
+ \pgfkeysalso{\searchname/.try=#1}}
+ }
+
+\def\tkzAxeXY{\pgfutil at ifnextchar[{\tkzAxe at XY}{\tkzAxe at XY[]}}
+\def\tkzAxe at XY[#1]{%
+\pgfqkeys{/tkzAxeXY}{#1}
+\iftkz at swap
+\tkzLabelX[#1]\tkzLabelY[#1]\tkzDrawX[#1]\tkzDrawY[#1]
+\else
+\tkzDrawX[#1]\tkzDrawY[#1]\tkzLabelX[#1]\tkzLabelY[#1]
+\fi}
+\def\tkzDrawXY{\pgfutil at ifnextchar[{\tkzDraw at XY}{\tkzDraw at XY[]}}
+\def\tkzDraw at XY[#1]{\tkzDrawX[#1]\tkzDrawY[#1]}
+\def\tkzLabelXY{\pgfutil at ifnextchar[{\tkzLabel at XY}{\tkzLabel at XY[]}}
+\def\tkzLabel at XY[#1]{\tkzLabelX[#1]\tkzLabelY[#1]}
+ %<--------------------------------------------------------------------------–>
+\makeatother
+\endinput
\ No newline at end of file
Property changes on: trunk/Master/texmf-dist/tex/latex/tkz-base/tkz-obj-axes.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/tex/latex/tkz-base/tkz-obj-grids.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tkz-base/tkz-obj-grids.tex (rev 0)
+++ trunk/Master/texmf-dist/tex/latex/tkz-base/tkz-obj-grids.tex 2020-01-24 21:42:09 UTC (rev 53530)
@@ -0,0 +1,78 @@
+% tkz-obj-grids.tex
+% Copyright 2011 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.
+% utf8 encoding
+\def\fileversion{3.01c}
+\def\filedate{2020/01/23}
+\typeout{2020/01/23 3.01c tkz-obj-grids.tex}
+\makeatletter
+%<--------------------------------------------------------------------------–>
+% Setup Grid
+%<--------------------------------------------------------------------------–>
+\pgfkeys{/@tkzsugrid/.cd,
+ line width/.store in = \tkz at sug@lw,
+ color/.store in = \tkz at sug@color,
+ line width = \tkz at grid@lw,
+ color = \tkz at grid@color
+ }
+
+\def\tkzSetUpGrid{\pgfutil at ifnextchar[{\tkz at SetUpGrid}{\tkz at SetUpGrid[]}}
+\def\tkz at SetUpGrid[#1]{%
+\begingroup
+\pgfqkeys{/@tkzsugrid}{#1}
+\global\let\tkz at grid@lw\tkz at sug@lw
+\global\let\tkz at grid@color\tkz at sug@color
+\endgroup
+}
+%<--------------------------------------------------------------------------–>
+% tkzGrid
+%<--------------------------------------------------------------------------–>
+\pgfkeys{/@tkzGrid/.cd,
+ color/.code = {\def\tkz at gd@color{#1}%
+ \edef\tkz at gd@subcolor{%
+ \tkz at gd@color!\tkzCoeffSubColor}},
+ subxstep/.store in = {\tkz at gd@subxstep},
+ subystep/.store in = {\tkz at gd@subystep},
+ ratio/.store in = {\tkz at gd@ratio},
+ line width/.code = {\edef\tkz at gd@lw{#1}
+ \edef\tkz at gd@sublw{\tkz at gd@ratio\tkz at gd@lw}},
+ sub/.is if = tkz at gd@sub,
+ sub/.default = true ,
+ sub = false,
+ color = \tkz at grid@color,
+ ratio = 0.75,
+ subxstep = \tkz at grid@xstep,
+ subystep = \tkz at grid@ystep,
+ line width = \tkz at grid@lw,
+ /@tkzGrid/.search also = {/tikz},
+}
+%<--------------------------------------------------------------------------–>
+\def\tkzGrid{\pgfutil at ifnextchar[{\tkz at Grid}{\tkz at Grid[]}}
+\def\tkz at Grid[#1]{\@ifnextchar({\tkz@@Grid[#1]}%
+ {\tkz@@Grid[#1](\tkz at tmp@xa,\tkz at tmp@ya)(\tkz at tmp@xb,\tkz at tmp@yb)}}
+\def\tkz@@Grid[#1](#2,#3)(#4,#5){%
+ \pgfqkeys{/@tkzGrid}{#1}
+ \begingroup
+ \edef\tkz at gxa{\fpeval{(#2-\tkz at init@xorigine)/\tkz at init@xstep}}
+ \edef\tkz at gxb{\fpeval{(#4-\tkz at init@xorigine)/\tkz at init@xstep}}
+ \edef\tkz at gya{\fpeval{(#3-\tkz at init@yorigine)/\tkz at init@ystep}}
+ \edef\tkz at gyb{\fpeval{(#5-\tkz at init@yorigine)/\tkz at init@ystep}}
+ \iftkz at gd@sub%
+ \edef\@subxstep{\fpeval{\tkz at gd@subxstep/\tkz at init@xstep}}%
+ \edef\@subystep{\fpeval{\tkz at gd@subystep/\tkz at init@ystep}}%
+ \draw [xstep = \@subxstep cm,%
+ ystep = \@subystep cm,%
+ color = \tkz at gd@subcolor,%
+ line width = \tkzRatioLineGrid]%
+ (\tkz at gxa,\tkz at gya) grid (\tkz at gxb,\tkz at gyb);%
+ \fi
+ \draw [color = \tkz at gd@color,%
+ line width = \tkz at gd@lw]%
+ (\tkz at gxa,\tkz at gya) grid (\tkz at gxb,\tkz at gyb);%
+ \endgroup
+}%
+ %<--------------------------------------------------------------------------–>
+\makeatother
+\endinput
\ No newline at end of file
Property changes on: trunk/Master/texmf-dist/tex/latex/tkz-base/tkz-obj-grids.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Modified: trunk/Master/texmf-dist/tex/latex/tkz-base/tkz-obj-marks.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tkz-base/tkz-obj-marks.tex 2020-01-24 10:00:38 UTC (rev 53529)
+++ trunk/Master/texmf-dist/tex/latex/tkz-base/tkz-obj-marks.tex 2020-01-24 21:42:09 UTC (rev 53530)
@@ -1,3 +1,4 @@
+%tkz-obj-marks.tex
% Copyright 2011 by Alain Matthes
%
% This file may be distributed and/or modified
@@ -4,12 +5,10 @@
%
% 1. under the LaTeX Project Public License and/or
% 2. under the GNU Public License.
-
-
-\def\fileversion{1.16 d}
-\def\filedate{2018/09/19}
-
-
+\def\fileversion{3.01c}
+\def\filedate{2020/01/23}
+\typeout{2020/01/23 3.01c tkz-obj-marks.tex}
+\makeatletter
%<-------------------------------------------------------------------------–>
% Setup Marks
%<-------------------------------------------------------------------------–>
@@ -16,12 +15,10 @@
%<--------------------------------------------------------------------------–>
% DefSetOfPoints
%<--------------------------------------------------------------------------–>
-\newif\iftkz at sop@show
-\newcount\tkz at cntmk
-\pgfkeys{
- /tkzSoPt/.cd,
- prefix/.code = {\global\edef\tkz at pref{#1}},
- /tkzSoPt/.unknown/.code = {\let\searchname=\pgfkeyscurrentname
+\pgfkeys{/tkzSoPt/.cd,
+ prefix/.store in = \tkz at pref,
+ prefix = tkzPt,
+ /tkzSoPt/.unknown/.code = {\let\searchname=\pgfkeyscurrentname
\pgfkeysalso{\searchname/.try=#1,
/tikz/\searchname/.retry=#1}}
}
@@ -29,9 +26,6 @@
\tkz at SetOfPoints[]}}
\def\tkz at SetOfPoints[#1]#2{%
\begingroup
-\pgfkeys{%
-/tkzSoPt/.cd,
-prefix=tkzPt}
\pgfqkeys{/tkzSoPt}{#1}
\tkz at cntmk1 %
\edef\tkz@@cnt{\the\tkz at cntmk}
@@ -39,53 +33,45 @@
\tkz at cntmk=\tkz@@cnt %
\tkzDefPoint(\x,\y){\tkz at pref\the\tkz at cntmk}
\advance\tkz at cntmk by1 %
- \global\edef\tkz@@cnt{\the\tkz at cntmk}
+ \xdef\tkz@@cnt{\the\tkz at cntmk}
}%
-\endgroup}%
+\endgroup
+}%
%<-------------------------------------------------------------------------–>
-\pgfkeys{
- /tkzjoinmk/.cd,
- prefix/.code = {\global\edef\tkz at pref{#1}},
- /tkzjoinmk/.unknown/.code = {\let\searchname=\pgfkeyscurrentname
- \pgfkeysalso{\searchname/.try=#1,
- /tikz/\searchname/.retry=#1}}
+\pgfkeys{/tkzjoinmk/.cd,
+ prefix/.store in = \tkz at pref,
+ prefix=tkzPt,
+ /tkzjoinmk/.search also={/tikz}
}
\def\tkzJoinSetOfPoints{\pgfutil at ifnextchar[{\tkz at JoinSetOfPoints}{%
\tkz at JoinSetOfPoints[]}}
\def\tkz at JoinSetOfPoints[#1]{%
\begingroup
-\pgfkeys{%
-/tkzjoinmk/.cd,
-prefix=tkzPt}
-\pgfqkeys{/tkzjoinmk}{#1}
-\pgfmathsetcount{\tkz at cntmk}{\tkz@@cnt-2}
-\edef\tkz@@cnt{\the\tkz at cntmk}
-\foreach \nb in {1,...,\tkz@@cnt}{%
-\tkz at cntmk=\nb
-\advance\tkz at cntmk by1
-\draw[line cap=round,/tkzjoinmk/.cd,#1] (\tkz at pref\nb)--(\tkz at pref\the\tkz at cntmk);}
+ \pgfqkeys{/tkzjoinmk}{#1}
+ \pgfmathsetcount{\tkz at cntmk}{\tkz@@cnt-2}
+ \edef\tkz@@cnt{\the\tkz at cntmk}
+ \foreach \nb in {1,...,\tkz@@cnt}{%
+ \tkz at cntmk=\nb
+ \advance\tkz at cntmk by1
+ \draw[line cap=round,/tkzjoinmk/.cd,#1]
+ (\tkz at pref\nb) -- (\tkz at pref\the\tkz at cntmk);}
\endgroup}
%<-------------------------------------------------------------------------–>
% ShowSetOfMark
%<-------------------------------------------------------------------------–>
-\pgfkeys{
-/tkzdrawmk/.cd,
-prefix/.code = {\global\edef\tkz at pref{#1}},
-/tkzdrawmk/.unknown/.code = {\let\searchname=\pgfkeyscurrentname
- \pgfkeysalso{\searchname/.try=#1,
- /tikz/\searchname/.retry=#1}}
+\pgfkeys{/tkzdrawmk/.cd,
+ prefix/.store in = \tkz at pref,
+ prefix=tkzPt,
+ /tkzdrawmk/.search also = {/tikz}
}
\def\tkzDrawSetOfPoints{\pgfutil at ifnextchar[{\tkz at DrawSetOfPoints}{
\tkz at DrawSetOfPoints[]}}
\def\tkz at DrawSetOfPoints[#1]{%
\begingroup
-\pgfkeys{/tkzdrawmk/.cd, prefix=tkzPt}
\pgfqkeys{/tkzdrawmk}{#1}
\pgfmathsetcount{\tkz at cntmk}{\tkz@@cnt-1}
-\foreach \nb in {1,...,\tkz at cntmk}{%
-\tkzDrawMark[#1](\tkz at pref\nb)}
+\foreach \nb in {1,...,\tkz at cntmk}{\tkzDrawMark[#1](\tkz at pref\nb)}
\endgroup}
-
%<-------------------------------------------------------------------------–>
% tkzmark
%<-------------------------------------------------------------------------–>
@@ -93,43 +79,39 @@
\def\tkz at DrawMark[#1](#2){%
\draw plot[mark style,#1] coordinates {(#2)};
}
-%<-------------------------------------------------------------------------–>
-%<--------------------------------------------------------------------------–>
+%<---------------------------------------------------------–>
+%<---------------------------------------------------------–>
\def\tkzDrawMarks{\pgfutil at ifnextchar[{\tkz at DrawMarks}{\tkz at DrawMarks[]}}
\def\tkz at DrawMarks[#1](#2){%
-\foreach \point in {#2}{%
-\draw plot[mark style,#1] coordinates {(\point)}; % StyleMark,
+ \foreach \point in {#2}{%
+ \draw plot[mark style,#1] coordinates {(\point)};% StyleMark,
}}
-
-%<--------------------------------------------------------------------------–>
+%<------------------------------------------------------------–>
% Init pour mark
-%<--------------------------------------------------------------------------–>
-\pgfkeys{%
-setupmk/.cd,
-size/.code = {\global\edef\tkz at sum@mk at size{#1}},
-color/.code = {\global\edef\tkz at sum@mk at color{#1}},
-fill/.code = {\global\edef\tkz at sum@mk at fill{#1}},
-mark/.code = {\global\edef\tkz at sum@mk at mark{#1}}
+%<------------------------------------------------------------–>
+\pgfkeys{/setupmk/.cd,
+ size/.store in = \tkz at sum@mk at size,
+ color/.store in = \tkz at sum@mk at color,
+ fill/.store in = \tkz at sum@mk at fill,
+ mark/.store in = \tkz at sum@mk at mark,
+ mark = \tkz at mk@mark,
+ color = \tkz at mk@color,
+ fill = \tkz at mk@color!50,
+ size = \tkz at mk@size
}
-
\def\tkzSetUpMark{\pgfutil at ifnextchar[{\tkzActivOff\tkz at SetUpMark}{%
\tkzActivOff\tkz at SetUpMark[]}}
\def\tkz at SetUpMark[#1]{%
- \pgfkeys{%
-/setupmk/.cd,
-mark = \tkz at mk@mark,
-color = \tkz at mk@color,
-fill = \tkz at mk@color!50,
-size = \tkz at mk@size}
\pgfqkeys{/setupmk}{#1}
-\tikzset{mark style/.style={inner sep = 0pt,
- mark = \tkz at sum@mk at mark,
- mark size = \tkz at sum@mk at size,
- mark options = {color = \tkz at sum@mk at color,
- fill = \tkz at sum@mk at fill}}}
+\tikzset{mark style/.style={%
+ inner sep = 0pt,
+ mark = \tkz at sum@mk at mark,
+ mark size = \tkz at sum@mk at size,
+ mark options = {color = \tkz at sum@mk at color,
+ fill = \tkz at sum@mk at fill}}}
}%
-
-%<--------------------------------------------------------------------------–>
+\makeatother
+%<--------------------------------------- ------------------–>
\endinput
\ No newline at end of file
Modified: trunk/Master/texmf-dist/tex/latex/tkz-base/tkz-obj-points.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tkz-base/tkz-obj-points.tex 2020-01-24 10:00:38 UTC (rev 53529)
+++ trunk/Master/texmf-dist/tex/latex/tkz-base/tkz-obj-points.tex 2020-01-24 21:42:09 UTC (rev 53530)
@@ -1,3 +1,4 @@
+% tkz-obj-points.tex
% Copyright 2011 by Alain Matthes
%
% This file may be distributed and/or modified
@@ -4,22 +5,15 @@
%
% 1. under the LaTeX Project Public License and/or
% 2. under the GNU Public License.
-
-
-\def\fileversion{1.16 d}
-\def\filedate{2018/09/19}
-
-
+\def\fileversion{3.01c}
+\def\filedate{2020/01/23}
+\typeout{2020/01/23 3.01c tkz-obj-points.tex}
%<--------------------------------------------------------------------------–>
% init def point
%<--------------------------------------------------------------------------–>
-\newif\iftkz at polar\tkz at polarfalse
-\newif\iftkz at pt@polar
-\newif\iftkz at pt@show
-\newif\iftkz at pt@noname
-
-
+\makeatletter
%<--------------------------------------------------------------------------–>
+% define a new shape for the points
\pgfdeclareshape{cross}
{%
\inheritsavedanchors[from=rectangle] % this is nearly a rectangle
@@ -41,12 +35,12 @@
\inheritanchor[from=rectangle]{south east}
\foregroundpath{
% store lower right in xa/ya and upper right in xb/yb
- \southwest \pgf at xa=\pgf at x \pgf at ya=\pgf at y
- \northeast \pgf at xb=\pgf at x \pgf at yb=\pgf at y
- \pgfpathmoveto{\pgfqpoint{0 pt}{\pgf at ya}}
- \pgfpathlineto{\pgfqpoint{0 pt}{\pgf at yb}}
- \pgfpathmoveto{\pgfqpoint{\pgf at xa}{0 pt}}
- \pgfpathlineto{\pgfqpoint{\pgf at xb}{0 pt}}
+ \southwest \pgf at xa=\pgf at x \pgf at ya=\pgf at y
+ \northeast \pgf at xb=\pgf at x \pgf at yb=\pgf at y
+ \pgfpathmoveto{\pgfqpoint{0 pt}{\pgf at ya}}
+ \pgfpathlineto{\pgfqpoint{0 pt}{\pgf at yb}}
+ \pgfpathmoveto{\pgfqpoint{\pgf at xa}{0 pt}}
+ \pgfpathlineto{\pgfqpoint{\pgf at xb}{0 pt}}
}
}
%<--------------------------------------------------------------------------–>
@@ -61,7 +55,7 @@
\iftkz at polar
\tkz at getfrompolar#1\@nil
\else
- \tkz at getfromcart#1\@nil
+ \tkz at getfromcart#1\@nil
\fi
}
\def\tkz at getseparator#1,#2\@nil{%
@@ -71,23 +65,47 @@
\tkz at polarfalse
\fi
}
-\def\tkz at getfrompolar#1:#2\@nil{
- \FPeval\tkz at a{(#1)}
- \FPeval\tkz at r{(#2)}
-\global\edef\tkz at polarrad{\tkz at r}
-\global\edef\tkz at polarangle{\tkz at a}
+\def\tkz at getfrompolar#1:#2\@nil{%
+\edef\tkz at a{\fpeval{#1}}
+\edef\tkz at r{\fpeval{#2}}
+\xdef\tkz at polarrad{\tkz at r}
+\xdef\tkz at polarangle{\tkz at a}
}
-\def\tkz at getfromcart#1,#2\@nil{
- \FPeval\tkz at x{(#1)}
- \FPeval\tkz at y{(#2)}
-\global\edef\tkz at absc{\tkz at x}
-\global\edef\tkz at ord{\tkz at y}
+\def\tkz at getfromcart#1,#2\@nil{%
+\edef\tkz at x{\fpeval{#1}}
+\edef\tkz at y{\fpeval{#2}}
+\xdef\tkz at absc{\tkz at x}
+\xdef\tkz at ord{\tkz at y}
}
%<--------------------------------------------------------------------------–>
+% options pour point definition
+%<--------------------------------------------------------------------------–>
+\pgfkeys{/@tkzpt/.cd,
+ polar/.is if = tkz at pt@polar,
+ polar/.default = true,
+ polar = false
+}
+%<--------------------------------------------------------------------------–>
+% tkz at ptStar
+%<--------------------------------------------------------------------------–>
+\def\tkz at ptStar[#1](#2,#3)#{%
+\pgfkeys{/@tkzpt/.cd, polar = false}
+\pgfqkeys{/@tkzpt}{#1}
+\iftkz at pt@polar%
+ \edef\tkz at x{\fpeval{#3*cosd(#2)}}
+ \edef\tkz at y{\fpeval{#3*sind(#2)}}
+\else
+ \edef\tkz at x{\fpeval{#2}}
+ \edef\tkz at y{\fpeval{#3}}
+\fi
+\edef\tkzpt at xa{\fpeval{(\tkz at x-\tkz at init@xorigine)/\tkz at init@xstep}}
+\edef\tkzpt at ya{\fpeval{(\tkz at y-\tkz at init@yorigine)/\tkz at init@ystep}}
+\tkz at node
+}
+%<--------------------------------------------------------------------------–>
% la macro defpoint les coordonnées cartésiennes ou polaires sont traitées
-% afin de pouvoir adaptées avec les unités choisies
+% afin de pouvoir être adaptées avec les unités choisies
%<--------------------------------------------------------------------------–>
-%<--------------------------------------------------------------------------–>
\def\tkzDefPoint{\pgfutil at ifnextchar[{\tkzActivOff\tkz at DefPoint}{%
\tkzActivOff\tkz at DefPoint[]}}
@@ -94,421 +112,211 @@
\def\tkz at DefPoint[#1](#2)#{%
\tkz at parsecoordinate{#2}
\iftkz at polar
- \tkz at ptStar[polar](\tkz at polarangle,\tkz at polarrad){tkz at coord@temp}
- \else
- \tkz at ptStar[](#2){tkz at coord@temp}
- \fi
-\tkz at DefPointEnd[#1]}%
-\def\tkz at DefPointEnd[#1]#2{%
- \coordinate[#1] (#2) at (tkz at coord@temp);
-}
+ \tkz at ptStar[polar](\tkz at polarangle,\tkz at polarrad){tkz at coord@temp}
+\else
+ \tkz at ptStar[](#2){tkz at coord@temp}
+\fi
+\tkz at DefPointEnd[#1]
+}%
+\def\tkz at DefPointEnd[#1]#2{\coordinate[#1] (#2) at (tkz at coord@temp);}
%<--------------------------------------------------------------------------–>
% tkzDefPoints
%<--------------------------------------------------------------------------–>
-\def\tkzDefPoints{\pgfutil at ifnextchar[{\tkz at DefPoints}{%
- \tkz at DefPoints[]}}
-
+\def\tkzDefPoints{\pgfutil at ifnextchar[{\tkz at DefPoints}{\tkz at DefPoints[]}}
\def\tkz at DefPoints[#1]#2{%
-\begingroup
- \foreach \ptx/\pty/\name in {#2}{\tkzDefPoint[#1](\ptx,\pty){\name}}%
-\endgroup
-} %<--------------------------------------------------------------------------–>
-% Init pour Draw
+ \begingroup
+ \def\tkz at parenthesis@for at err{(}%
+ \def\tkz at maybe@parenthesis{#2}%
+ \ifx\tkz at maybe@parenthesis\tkz at parenthesis@for at err
+ \PackageError{tkz-base}{Syntax error use {} instead of ()}{You need to use {} instead of ()}%
+ \expandafter\@firstoftwo
+ \else
+ \expandafter\@secondoftwo
+ \fi
+ {\tkz at absorb@bad at arg}%
+ {\foreach \ptx/\pty/\name in {#2}{\tkzDefPoint[#1](\ptx,\pty){\name}}%
+ \endgroup}%
+}
+\def\tkz at absorb@bad at arg#1){\endgroup}
%<--------------------------------------------------------------------------–>
-\pgfkeys{%
-setuppt/.cd,
-size/.code = {\global\edef\tkz at pt@size{#1}},
-color/.code = {\global\edef\tkz at pt@color{#1}},
-fill/.code = {\global\edef\tkz at pt@fill{#1}},
-shape/.code = {\global\edef\tkz at pt@shape{#1}}
-}
+\def\tkz at node#1{\path[coordinate](\tkzpt at xa,\tkzpt at ya) coordinate(#1);}
+% \def\tkz at drawnode#1{\path[coordinate](\tkzpt at xa,\tkzpt at ya) coordinate(#1);
+% \tkz at DrawPt{#1}
+% }
%<--------------------------------------------------------------------------–>
% tkzSetUpPoint définit la forme d'un point
%<--------------------------------------------------------------------------–>
+\pgfkeys{/@setuppt/.cd,
+ size/.store in = \tkz at pt@size,
+ color/.store in = \tkz at pt@color,
+ fill/.store in = \tkz at pt@fill,
+ shape/.store in = \tkz at pt@shape,
+ size = \tkz at euc@pointsize,
+ color = \tkz at euc@pointcolor,
+ fill = \tkz at euc@pointcolor,
+ shape = \tkz at euc@pointshape,
+ /@setuppt/.search also = {/tikz},
+ }
\def\tkzSetUpPoint{\pgfutil at ifnextchar[{\tkzActivOff\tkz at SetUpPoint}{%
\tkzActivOff\tkz at SetUpPoint[]}}
-
\def\tkz at SetUpPoint[#1]{%
-\pgfkeys{%
-/setuppt/.cd,
-size = \tkz at euc@pointsize,
-color = \tkz at euc@pointcolor,
-fill = \tkz at euc@pointcolor!50,
-shape = \tkz at euc@pointshape}
-\pgfqkeys{/setuppt}{#1}
+\pgfqkeys{/@setuppt}{#1}
+% redefine point style with new values
\tikzset{point style/.style={draw = \tkz at pt@color,
inner sep = 0pt,
shape = \tkz at pt@shape,
- minimum size = \tkz at pt@size*\pgflinewidth,
- fill = \tkz at pt@fill}}}%
+ minimum size = \tkz at pt@size,
+ fill = \tkz at pt@fill
+ }
+ }
+ }% end setup
%<--------------------------------------------------------------------------–>
+% Draw Point
%<--------------------------------------------------------------------------–>
-% Draw Point
-%<--------------------------------------------------------------------------–>
-%<--------------------------------------------------------------------------–>
-%\tikzset{/drawpoint/size/.style={minimum size=#1*\pgflinewidth}}
-\pgfkeys{/drawpoint/.cd,
- size/.code = {\tikzset{point style/.append style={%
- minimum size = #1*\pgflinewidth}}},
- color/.code = {\tikzset{point style/.append style={%
- draw = #1}}},
- shape/.code = {\tikzset{point style/.append style={%
- shape=#1}}},
- fill/.code = {\tikzset{point style/.append style={%
- fill=#1}}} }
-
+\pgfkeys{/@drawpoint/.cd,
+ size/.code = {\tikzset{point style/.append style={minimum size = #1}}},
+ size = \tkz at euc@pointsize,
+ /@drawpoint/.search also = {/tikz},
+}
+%<--------------------------------------------------------------------------
\def\tkzDrawPoint{\pgfutil at ifnextchar[{\tkz at DrawPoint}{\tkz at DrawPoint[]}}
\def\tkz at DrawPoint[#1](#2){%
\begingroup
-\pgfkeys{/drawpoint/.cd}
-\pgfqkeys{/drawpoint}{#1}
-\node[point style] at (#2) {};
+ \pgfqkeys{/@drawpoint}{#1}
+ \node[point style,/@drawpoint/.cd,#1] at (#2) {};%2016
\endgroup
}
-
%<--------------------------------------------------------------------------–>
\def\tkzDrawPoints{\pgfutil at ifnextchar[{\tkz at drawpts}{\tkz at drawpts[]}}
%<--------------------------------------------------------------------------–>
\def\tkz at drawpts[#1](#2){%
\begingroup
-\pgfkeys{/drawpoint/.cd}
-\pgfqkeys{/drawpoint}{#1}
-\foreach \point in {#2}{%
- \node[point style] at (\point) {};}
+ \pgfqkeys{/@drawpoint}{#1}
+ \foreach \point in {#2}{\node[point style,/@drawpoint/.cd,#1] at (\point) {};} %2016
\endgroup
}
%<--------------------------------------------------------------------------–>
+%
%<--------------------------------------------------------------------------–>
-% rename
-%<--------------------------------------------------------------------------–>
-% \def\tkzRenamePoint{\pgfutil at ifnextchar[{\tkzActivOff\tkz at RenamePoint}{%
-% \tkzActivOff\tkz at RenamePoint[]}}
-% \def\tkz at RenamePoint[#1](#2)#{%
-% \coordinate (tkz at coord@temp) at (#2);%
-% \pgfextractx{\pgf at x}{\pgfpointanchor{tkz at coord@temp}{center}}
-% \pgfextracty{\pgf at y}{\pgfpointanchor{tkz at coord@temp}{center}}
-% \tkz at ax\pgf at x %
-% \tkz at ay\pgf at y %
-% \tkz at RenamePointEnd[#1]}%
-%<--------------------------------------------------------------------------–>
\def\tkzRenamePoint(#1)#2{\coordinate (#2) at (#1);}
\def\tkz at RenamePointEnd[#1]#2{\coordinate[#1] (#2) at (\tkz at ax,\tkz at ay);}
\def\tkzGetPoint#1{\coordinate (#1) at (tkzPointResult);}
-\def\tkzGetPoints#1#2{\coordinate (#1) at (tkzFirstPointResult);%
+\def\tkzGetPoints#1#2{\coordinate (#1) at (tkzFirstPointResult);
\coordinate (#2) at (tkzSecondPointResult);}
\def\tkzGetFirstPoint#1{\coordinate (#1) at (tkzFirstPointResult);}
\def\tkzGetSecondPoint#1{\coordinate (#1) at (tkzSecondPointResult);}
\def\tkzDefShiftPointCoord[#1](#2)#3{%
-\begin{scope}[shift={(#1)}]
- \coordinate (#3) at (#2);
-\end{scope}
-}%
-
+ \begin{scope}[shift={(#1)}]
+ \coordinate (#3) at (#2);
+ \end{scope}
+ }%
+%<--------------------------------------------------------------------------–>
+% tkzDefShiftPoint
+%<--------------------------------------------------------------------------–>
\def\tkzDefShiftPoint[#1](#2)#3{%
- \tkz@@extractxy{#1}
- \tkz at ax\pgf at x %
- \tkz at ay\pgf at y %
+ \tkz@@extractxy{#1}
+ \tkz at ax\pgf at x %
+ \tkz at ay\pgf at y %
\begin{scope}[shift={(\tkz at ax,\tkz at ay)}]
\coordinate (#3) at (#2);
\end{scope}
}
%<-------------------------------------------------------------------------–>
-% tkzLabelPoint Affichage des LABELS pour un point
-%<-------------------------------------------------------------------------–>
-% \newif\iftkz at mode@show
-% \tikzoption{show}{\tikz at addmode{\tkz at mode@showfalse}}
-\tikzset{label style/.style={\tkz at euc@pointpos,\tkz at euc@labelcolor,font=\normalsize}}
+% tkzLabelPoint Affichage des LABELS pour un point
+%<-------------------------------------------------------------------------–>
+\tikzset{label style/.style={\tkz at euc@pointpos,\tkz at euc@labelcolor,
+ font=\normalsize}}
\def\tkzLabelPoint{\pgfutil at ifnextchar[{\tkz at LabelPoint}{\tkz at LabelPoint[]}}
-\def\tkz at LabelPoint[#1](#2)#3{\node[label style,#1] at (#2) {#3};}%
+\def\tkz at LabelPoint[#1](#2)#3{%
+ \node[label style,#1] at (#2) {#3};}%
+%<--------------------------------------------------------------------------–>
\def\tkzLabelPoints{\pgfutil at ifnextchar[{\tkz at LabelPoints}{%
\tkz at LabelPoints[]}}%
\def\tkz at LabelPoints[#1](#2){%
\foreach \point in {#2}{
- \node[label style,#1] at (\point) {$\point$};}
+ \node[label style,#1] at (\point) {$\point$};}
}%
%<--------------------------------------------------------------------------–>
-% Coord
%<--------------------------------------------------------------------------–>
-\newif\if at tkz@coord at noxdraw
-\newif\if at tkz@coord at noydraw
-\pgfkeys{
-/tkzprcoord/.cd,
- xlabel/.code = {\global\edef\tkz at xlabel{#1}},%
- ylabel/.code = {\global\edef\tkz at ylabel{#1}},
- xstyle/.code = {\tikzset{xcoord style/.append style={#1}}},
- ystyle/.code = {\tikzset{ycoord style/.append style={#1}}},
- noxdraw/.is if = @tkz at coord@noxdraw,
- noxdraw/.default = true,
- noydraw/.is if = @tkz at coord@noydraw,
- noydraw/.default = true,
- /tkzprcoord/.unknown/.code = {\let\searchname=\pgfkeyscurrentname
- \pgfkeysalso{\searchname/.try=#1,
- /tikz/\searchname/.retry=#1}}
+
+\pgfkeys{/@tkzautolab/.cd,
+ center/.store in = \tkz at center,
+ dist/.store in = \tkz at dist,
+ dist = 0.15,
+ /@tkzautolab/.search also = {/tikz},
}
- \def\tkzPointShowCoord{\pgfutil at ifnextchar[{\tkz at PointShowCoord}{%
- \tkz at PointShowCoord[]}}
+\def\tkzAutoLabelPoints{\pgfutil at ifnextchar[{\tkz at AutoLabelPoints}{%
+ \tkz at AutoLabelPoints[]}}%
+\def\tkz at AutoLabelPoints[#1](#2){%
+\begingroup
+\pgfqkeys{/@tkzautolab}{#1}
+ \foreach \point in {#2}{
+ \path (\tkz at center) -- ($ (\point) + \tkz at dist*($(\point)-(\tkz at center)$) $) node[/@tkzautolab/.cd,#1]{$\point$};}
+\endgroup
+}%
+%<--------------------------------------------------------------------------–>
+% PointShowCoord
+%<--------------------------------------------------------------------------–>
+\pgfkeys{/@tkzprcoord/.cd,
+ xlabel/.store in = \tkz at xlabel,
+ ylabel/.store in = \tkz at ylabel,
+ xstyle/.code = {\tikzset{xcoord style/.append style={#1}}},
+ ystyle/.code = {\tikzset{ycoord style/.append style={#1}}},
+ noxdraw/.is if = tkz at coord@noxdraw,
+ noxdraw/.default = true,
+ noydraw/.is if = tkz at coord@noydraw,
+ noydraw/.default = true,
+ xlabel = {},
+ ylabel = {},
+ xstyle = {},
+ ystyle = {},
+ noxdraw = false,
+ noydraw = false,
+ /@tkzprcoord/.search also = {/tikz},
+}
+\def\tkzPointShowCoord{\pgfutil at ifnextchar[{\tkz at PointShowCoord}{\tkz at PointShowCoord[]}}
\def\tkz at PointShowCoord[#1](#2){%
\begingroup
-\pgfkeys{%
-tkzprcoord/.cd,
- xlabel = {},
- ylabel = {},
- xstyle = {},
- ystyle = {},
- noxdraw = false,
- noydraw = false
- }
-\pgfqkeys{/tkzprcoord}{#1}
-\if at tkz@coord at noxdraw\else\draw[arrow coord style] (#2)--(#2 |- tkz at xline); \fi
-\if at tkz@coord at noydraw\else \draw[arrow coord style] (#2)--(#2 -| tkz at yline);\fi
+\pgfqkeys{/@tkzprcoord}{#1}
+% 2019 for showcoord
+ \iftkznodedefined{tkz at xline}{}{%
+ \path (0,0) --(1,0) node(tkz at xline){};
+ \path (0,0) --(0,1) node(tkz at yline){};
+ }
+\iftkz at coord@noxdraw\else\draw[arrow coord style,/@tkzprcoord/.cd,#1] (#2)--(#2 |- tkz at xline);\fi
+\iftkz at coord@noydraw\else\draw[arrow coord style,/@tkzprcoord/.cd,#1] (#2)--(#2 -| tkz at yline);\fi
\ifx\tkzutil at empty\tkz at xlabel
\else
- \protected at edef\tkz at temp{%
- \noexpand\path (#2)--(#2 |- tkz at xline)
- \noexpand node[xcoord style]}\tkz at temp {\tkz at xlabel};
+\path (#2)--(#2 |- tkz at xline)
+ node[xcoord style] {\tkz at xlabel};
\fi
\ifx\tkzutil at empty\tkz at ylabel
\else
- \protected at edef\tkz at temp{%
- \noexpand\path (#2)--(#2 -| tkz at yline)
- \noexpand node[ycoord style]}\tkz at temp {\tkz at ylabel};
+ \path (#2)--(#2 -| tkz at yline)
+ node[ycoord style] {\tkz at ylabel};
\fi
\endgroup
}
-
-%<-------------------------------------------------------------------------–>
%<--------------------------------------------------------------------------–>
-% tkzPoint
-%<--------------------------------------------------------------------------–>
-\pgfkeys{
- tkzpt/.cd,
- pos/.code = {\def\tkz at pt@pos{#1}},
- size/.code = {\def\tkz at pt@size{#1}},
- name/.code = {\def\tkz at pt@name{#1}},
- namecolor/.code = {\def\tkz at pt@namecolor{#1}},
- time/.code = {\def\tkz at pt@time{#1}},
- color/.code = {\def\tkz at pt@color{#1}},
- shape/.code = {\def\tkz at pt@shape{#1}},
- polar/.is if = tkz at pt@polar,
- polar/.default = true,
- noname/.is if = tkz at pt@noname,
- noname/.default = true
-}
-
-\def\tkz at node#1{\path[coordinate](\ptxa,\ptya) coordinate(#1);}
-\def\tkz at drawnode#1{\path[coordinate](\ptxa,\ptya) coordinate(#1);
-\tkz at DrawPt{#1}
-}
-
-\def\tkz at draw@point#1{%
- \node[ inner sep = 0pt,
- shape = \tkz at pt@shape,%
- draw = \tkz at pt@color,%
- minimum size = \tkz at pt@size*\pgflinewidth,%
- fill = \tkz at pt@color] at (#1) {};}
-
-\def\tkzPoint{\@ifstar\tkzptStar\tkzptNoStar}
-\def\tkzptNoStar{\pgfutil at ifnextchar[{\tkz at ptNoStar}{\tkz at ptNoStar[]}}
-\def\tkz at ptNoStar[#1](#2,#3)#{%
-\pgfkeys{/tkzpt/.cd,
- noname = false,% pas de nom
- name = {},% le nom est vide
- polar = false,%
- namecolor = \tkz at euc@labelcolor,% couleur du nom
- pos = \tkz at euc@pointpos,% name
- shape = \tkz at euc@pointshape,%
- color = \tkz at euc@pointcolor,% couleur du point
- size = \tkz at euc@pointsize,%
- time = 0.5
-}
-\pgfqkeys{/tkzpt}{#1}
- \iftkz at pt@polar%
- \FPeval\tkz at x{(#2*cos(#3*\FPpi/180))}
- \FPeval\tkz at y{(#2*sin(#3*\FPpi/180))}
- \else
- \FPeval\tkz at x{(#2)}
- \FPeval\tkz at y{(#3)}
- \fi
-
- \FPadd{\ptxa}{\tkz at x}{-\tkz at init@xorigine}
- \FPadd{\ptya}{\tkz at y}{-\tkz at init@yorigine}
- \FPdiv{\ptxa}{\ptxa}{\tkz at init@xstep}
- \FPdiv{\ptya}{\ptya}{\tkz at init@ystep}
- \tkz at drawnode
-}
-% dessin du point (par défaut c'est un node donc il ne peut pas être scalé)
-\def\tkz at DrawPt#1{%
- \iftkz at pt@noname% pas de nom rien
- \else% si name={} alors on prend le nom du node sinon name
- \ifx\tkzutil at empty\tkz at pt@name\def\tkz at pt@name{$#1$}%
- \fi
- \protected at edef\tkz at temp{%
- \noexpand \node[\tkz at pt@pos]}\tkz at temp at (#1)%
- {\textcolor{\tkz at pt@namecolor} {\tkz at pt@name}};%
- \fi
-% on retrace ??? ici ou après le fi
-\tkz at draw@point{#1}
-}
-
-%<--------------------------------------------------------------------------–>
-% Star version tkzPoint*
-%<--------------------------------------------------------------------------–>
-\def\tkzptStar{\pgfutil at ifnextchar[{\tkz at ptStar}{\tkz at ptStar[]}}
-\def\tkz at ptStar[#1](#2,#3)#{%
-\pgfkeys{/tkzpt/.cd,
- polar = false,%
-}
-\pgfqkeys{/tkzpt}{#1}
-\iftkz at pt@polar%
- \FPeval\tkz at x{(#3*cos(#2*\FPpi/180))}
- \FPeval\tkz at y{(#3*sin(#2*\FPpi/180))}
-\else
- \FPeval\tkz at x{(#2)}
- \FPeval\tkz at y{(#3)}
-\fi
-\FPadd{\ptxa}{\tkz at x}{-\tkz at init@xorigine}
-\FPadd{\ptya}{\tkz at y}{-\tkz at init@yorigine}
-\FPdiv{\ptxa}{\ptxa}{\tkz at init@xstep}
-\FPdiv{\ptya}{\ptya}{\tkz at init@ystep}
-\tkz at node
-}
-
-%<--------------------------------------------------------------------------–>
-% Points
-%<--------------------------------------------------------------------------–>
-\def\tkzPoints{\pgfutil at ifnextchar[{\tkz at Points}{\tkz at Points[]}}
-\def\tkz at Points[#1](#2){%
-\begingroup
- \foreach \ptx/\pty/\name in {#2}{%
- \tkzPoint[#1](\ptx,\pty){\name}%
- }
-\endgroup
-}
-
- %<--------------------------------------------------------------------------–>
-% macro d'affichage %
-%<--------------------------------------------------------------------------–>
-\pgfqkeys{/pointwith}
-{ orthogonal/.code =\def\tkz at numv{0},
- orthogonal normed/.code =\def\tkz at numv{1},
- linear/.code =\def\tkz at numv{2},
- linear normed/.code =\def\tkz at numv{3},
- colinear/.code args ={at #1} {\global\def\tkz at numv{4}
- \global\def\tkz at frompoint{#1}},
- K/.code =\def\tkz at Koeff{#1}
- }
-
-\def\tkzDefPointWith{\pgfutil at ifnextchar[{\tkz at DefPointWith}{%
- \tkz at DefPointWith[]}}
-\def\tkz at DefPointWith[#1](#2){%
-\pgfqkeys{/pointwith}{linear,K=1}
-\pgfqkeys{/pointwith}{#1}
-\ifcase\tkz at numv%
- % first case 0
- \tkz at VecKOrth[\tkz at Koeff](#2){tkzPointResult}
- \or% 1
- \tkz at VecKOrthNorm[\tkz at Koeff](#2){tkzPointResult}
- \or% 2
- \tkz at VecK[\tkz at Koeff](#2){tkzPointResult}
- \or% 3
- \tkz at VecKNorm[\tkz at Koeff](#2){tkzPointResult}
- \or% 4
- \tkz at VecKCoLinear[\tkz at Koeff](#2,\tkz at frompoint){tkzPointResult}
- \fi
-}
-
-%<-------------------------------------------------------------------------–>
-% % % Points aléatoires sur un segment, une droite, une demi-droite un cercle
-%<--------------------------------------------------------------------------–>
-%<--------------------------------------------------------------------------–>
-% les points aléatoires
-%<--------------------------------------------------------------------------–>
-\def\tkz at numrp{0}
-\pgfkeys{/tkzDefRandPoint/.cd,
-rectangle/.code args={#1 and #2}{\global\def\tkz at numrp{0}%
- \global\def\tkz at infl{#1}%
- \global\def\tkz at supr{#2}},
-segment/.code args={#1--#2}{\global\def\tkz at numrp{1}%
- \global\def\tkz at start{#1}%
- \global\def\tkz at end{#2}},
-line/.code args={#1--#2}{\global\def\tkz at numrp{2}%
- \global\def\tkz at start{#1}%
- \global\def\tkz at end{#2}},
-circle/.code args={center #1 radius #2}{\def\tkz at numrp{3}%
- \global\def\tkz at center{#1}
- \global\def\tkz at rad{#2}}
-}
-
-\def\tkzGetRandPointOn{\pgfutil at ifnextchar[{\tkz at DefRandPointOn}{%
- \tkz at DefRandPointOn[]}}
-\def\tkz at DefRandPointOn[#1]#2{%
-\begingroup
-\pgfkeys{/tkzDefRandPoint/.cd}
-\pgfqkeys{/tkzDefRandPoint}{#1}
-\ifcase\tkz at numrp%
- % first case 0
- \tkzRandPointOnRect(\tkz at infl,\tkz at supr){#2}
- \or% 1
- \tkzRandPointOnSegment(\tkz at start,\tkz at end){#2}
- \or% 2
- \tkzRandPointOnLine(\tkz at start,\tkz at end){#2}
- \or% 3
- \tkzRandPointOnCircle(\tkz at center,\tkz at rad){#2}
-\fi
-\endgroup
-}
-
-\def\tkzRandPointOnRect(#1,#2)#3{%
-\tkz@@extractxy{#1}
- \pgf at xa=\pgf at x\relax%
- \pgf at ya=\pgf at y\relax%
-\tkz@@extractxy{#2}
- \pgf at xb=\pgf at x\relax%
- \pgf at yb=\pgf at y\relax%
-\FPadd{\tkz at a}{\pgf at sys@tonumber{\pgf at xb}}{-\pgf at sys@tonumber{\pgf at xa}}
-\FPadd{\tkz at b}{\pgf at sys@tonumber{\pgf at yb}}{-\pgf at sys@tonumber{\pgf at ya}}
- \pgfmathparse{rnd}\global\let\myrndone\pgfmathresult
- \pgfmathparse{rnd}\global\let\myrndtwo\pgfmathresult
-\path[coordinate] ($(#1)+(\myrndone*\tkz at a pt,%
- \myrndtwo*\tkz at b pt)$) coordinate (#3);
- }
-
-\def\tkzRandPointOnSegment(#1,#2)#3{%
- \pgfmathparse{rnd}\global\let\myrnd\pgfmathresult
-\path[coordinate] ($ (#1)!\myrnd!(#2) $) coordinate (#3);}
-
-\def\tkzRandPointOnLine(#1,#2)#3{%
- \pgfmathparse{rand}\global\let\myrnd\pgfmathresult
-\path[coordinate] ($ (#1)!\myrnd!(#2) $) coordinate (#3);}
-
-\def\tkzRandPointOnCircle(#1,#2)#3{%
-\pgfmathrandominteger{\myrnd}{0}{360}
-\tkz at ax#2 %
-\FPeval\tkz at xa{\pgf at sys@tonumber{\tkz at ax}*cos(\myrnd*\FPpi/180)}
-\FPeval\tkz at xb{\pgf at sys@tonumber{\tkz at ax}*sin(\myrnd*\FPpi/180)}
-\path[coordinate]($(#1) + (\tkz at xa pt,\tkz at xb pt) $) coordinate (#3);
-}
-
-%<--------------------------------------------------------------------------–>
% Coordonnées d'un point
% result in #2x et #2y #1 est le point et on récupère ses coordonnées
% usage soit A un point \tkzGetPointCoord(A){V} alors \Vx = xA et \Vy = yA
% en cm
-% tkzGetPointCoord avec [#1] cm ou bien pt !!! %<--------------------------------------------------------------------------–>
+% tkzGetPointCoord avec [#1] cm ou bien pt ?? todo
+%<--------------------------------------------------------------------------–>
\def\tkzGetPointCoord(#1)#2{%
\begingroup
-\pgfextractx{\pgf at x}{\pgfpointanchor{#1}{center}}
-\pgfmathparse{\pgf at sys@tonumber{\pgf at x}/28.45274}
-\global\let\tkzresultx\pgfmathresult
-\global\expandafter\edef\csname #2x\endcsname{\tkzresultx}%
-\pgfextracty{\pgf at y}{\pgfpointanchor{#1}{center}}
-\pgfmathparse{\pgf at sys@tonumber{\pgf at y}/28.45274}
-\global\let\tkzresulty\pgfmathresult
-\global\expandafter\edef\csname #2y\endcsname{\tkzresulty}
+ \pgfextractx{\pgf at x}{\pgfpointanchor{#1}{center}}
+ \pgfmathparse{\pgf at sys@tonumber{\pgf at x}/28.45274}
+ \global\let\tkzresultx\pgfmathresult
+ \global\expandafter\edef\csname #2x\endcsname{\tkzresultx}%
+ \pgfextracty{\pgf at y}{\pgfpointanchor{#1}{center}}
+ \pgfmathparse{\pgf at sys@tonumber{\pgf at y}/28.45274}
+ \global\let\tkzresulty\pgfmathresult
+ \global\expandafter\edef\csname #2y\endcsname{\tkzresulty}
\endgroup
}
-
\def\tkz@@extractxy#1{%
\pgfextractx{\pgf at x}{\pgfpointanchor{#1}{center}}
\pgfextracty{\pgf at y}{\pgfpointanchor{#1}{center}}
@@ -515,5 +323,5 @@
}
\let\tkzGetPointxy\tkzGetPointCoord
%<--------------------------------------------------------------------------–>
-
+\makeatother
\endinput
Added: trunk/Master/texmf-dist/tex/latex/tkz-base/tkz-obj-rep.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tkz-base/tkz-obj-rep.tex (rev 0)
+++ trunk/Master/texmf-dist/tex/latex/tkz-base/tkz-obj-rep.tex 2020-01-24 21:42:09 UTC (rev 53530)
@@ -0,0 +1,62 @@
+% tkz-obj-rep.tex
+% Copyright 2011 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-rep.tex}
+\makeatletter
+%<--------------------------------------------------------------------------–>
+% repère
+%<--------------------------------------------------------------------------–>
+\pgfkeys{/@tkzRep/.cd,
+ line width/.store in = \tkz at Rep@lw,
+ xlabel/.store in = \tkz at Rep@xlabel,
+ ylabel/.store in = \tkz at Rep@ylabel,
+ posxlabel/.store in = \tkz at Rep@posxlabel,
+ posylabel/.store in = \tkz at Rep@posylabel,
+ xnorm/.store in = \tkz at Rep@xnorm,
+ ynorm/.store in = \tkz at Rep@ynorm,
+ color/.store in = \tkz at Rep@color,
+ colorlabel/.store in = \tkz at Rep@colorlabel,
+ line width = \tkz at sur@lw,
+ xlabel = $\vec{\imath}$,
+ ylabel = $\vec{\jmath}$,
+ posxlabel = \tkz at sur@posxlabel,
+ posylabel = \tkz at sur@posylabel,
+ xnorm = 1,
+ ynorm = 1,
+ color = \tkz at sur@color,% remove ?
+ colorlabel = \tkz at sur@colorlabel,
+ /@tkzRep/.search also={/tikz},
+ }
+%<--------------------------------------------------------------------------–>
+\def\tkzRep{\pgfutil at ifnextchar[{\tkz at Rep}{%
+ \tkz at Rep[]}}
+\def\tkz at Rep[#1]{%
+\pgfqkeys{/@tkzRep}{#1}
+\begingroup
+ \protected at edef\tkz at temp{%
+ \noexpand\draw [ line width=\tkz at Rep@lw,
+ color=\tkz at Rep@color,
+ rep style]%
+ (0,0) to node[\tkz at Rep@posylabel,
+ color = \tkz at Rep@colorlabel,
+ node contents={\tkz at Rep@ylabel}]}\tkz at temp%
+ {}(0,\tkz at Rep@ynorm);
+ \protected at edef\tkz at temp{%
+ \noexpand \draw [ line width=\tkz at Rep@lw,
+ color=\tkz at Rep@color,
+ rep style]%
+ (0,0) to node[ \tkz at Rep@posxlabel,
+ color = \tkz at Rep@colorlabel,
+ node contents={\tkz at Rep@xlabel}]}\tkz at temp%
+ {}(\tkz at Rep@xnorm,0);
+\endgroup
+}
+%<--------------------------------------------------------------------------–>
+\makeatother
+\endinput
\ No newline at end of file
Property changes on: trunk/Master/texmf-dist/tex/latex/tkz-base/tkz-obj-rep.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Deleted: trunk/Master/texmf-dist/tex/latex/tkz-base/tkz-obj-segments.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tkz-base/tkz-obj-segments.tex 2020-01-24 10:00:38 UTC (rev 53529)
+++ trunk/Master/texmf-dist/tex/latex/tkz-base/tkz-obj-segments.tex 2020-01-24 21:42:09 UTC (rev 53530)
@@ -1,142 +0,0 @@
-% Copyright 2011 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{1.16 d}
-\def\filedate{2018/09/19}
-
-%<--------------------------------------------------------------------------–>
-% Setup Segment
-%<--------------------------------------------------------------------------–>
-
-%<--------------------------------------------------------------------------–>
-% draw segment (s)
-%<--------------------------------------------------------------------------–>
-\def\tkzDrawSegment{\pgfutil at ifnextchar[{\tkz at DrawSegment}{%
- \tkz at DrawSegment[]}}
-\def\tkz at DrawSegment[#1](#2,#3){%
-\begingroup
- \draw[line style,add=0 and 0,#1] (#2) to (#3);
-\endgroup
-}%
-
-\def\tkz at multiDrawSeg#1 #2\@nil{%
- \protected at edef\tkz at temp{
- \noexpand \tkzDrawSegment[\tkz at optseg](#1)}\tkz at temp%
- \def\tkz at nextArg{#2}%
- \ifx\tkzutil at empty\tkz at nextArg
- \let\next\@gobble
- \fi
- \next#2\@nil
-}
-\def\tkzDrawSegments{\pgfutil at ifnextchar[{\tkz at DrawSegments}{%
- \tkz at DrawSegments[]}}
-\def\tkz at DrawSegments[#1](#2){%
-\global\edef\tkz at optseg{#1}
-\begingroup
- \let\next\tkz at multiDrawSeg
- \next#2 \@nil %
-\endgroup
-}
-%<-------------------------------------------------------------------------–>
-%<-------------------------------------------------------------------------–>
-\pgfkeys{tkzmarkoptions/.cd,
-pos/.code = {\global\def\tkz at mkpos{#1}},
-color/.code = {\global\def\tkz at mkcolor{#1}},
-mark/.code = {\global\def\tkz at mark{#1}},
-size/.code = {\global\def\tkz at mksize{#1}},
-/tkzmarkoptions/.unknown/.code = {\let\searchname=\pgfkeyscurrentname
- \pgfkeysalso{\searchname/.try=#1,
- /tikz/\searchname/.retry=#1}
- }
-}
-
-\def\tkzMarkSegment{\pgfutil at ifnextchar[{\tkz at MarkSegment}{%
- \tkz at MarkSegment[]}}
-\def\tkz at MarkSegment[#1](#2,#3){%
-\pgfkeys{tkzmarkoptions/.cd,
- size = 4pt,
- color = \tkz at mk@color,
- pos = .5,
- mark = none}
-\pgfqkeys{/tkzmarkoptions}{#1}
-
-\global\def\tkz at mymark{%
- \pgfsetplotmarksize{\tkz at mksize}
- \pgfuseplotmark{\tkz at mark}
-}
-\begin{scope} [decoration={ markings,mark=at position \tkz at mkpos with \tkz at mymark}]
-\path [\tkz at mkcolor,postaction={decorate}] (#2) -- (#3);
-\end{scope}
-}
-%<--------------------------------------------------------------------------–>
-%<--------------------------------------------------------------------------–>
-% multiple
-\def\tkz at multiMS#1 #2\@nil{%
- \protected at edef\tkz at temp{
- \noexpand \tkzMarkSegment[\tkz at optsg](#1)}\tkz at temp%
- \def\tkz at nextArg{#2}%
- \ifx\tkzutil at empty\tkz at nextArg
- \let\next\@gobble
- \fi
- \next#2\@nil
-}
-%<--------------------------------------------------------------------------–>
-\def\tkzMarkSegments{\pgfutil at ifnextchar[{\tkz at MarkSegments}{%
- \tkz at MarkSegments[]}}
-\def\tkz at MarkSegments[#1](#2){%
-\global\edef\tkz at optsg{#1}
- \begingroup
- \let\next\tkz at multiMS
- \next#2 \@nil %
-\endgroup
-}
-%<--------------------------------------------------------------------------–>
-%<------------------------- Label on segment -------------------------------–>
-%<--------------------------------------------------------------------------–>
-\def\tkzLabelSegment{\pgfutil at ifnextchar[{\tkz at LabelSegment}{%
- \tkz at LabelSegment[]}}
-\def\tkz at LabelSegment[#1](#2,#3)#4{%
-\begingroup
-\path (#2) to node[above,#1]{#4} (#3) ;
-\endgroup
-}
-%<--------------------------------------------------------------------------–>
-%<--------------------------------------------------------------------------–>
-% multiple
-\def\tkz at multiLS#1 #2\@nil{%
- \protected at edef\tkz at temp{
- \noexpand \tkzLabelSegment[\tkz at optls](#1){\tkz at labelseg}}\tkz at temp%
- \def\tkz at nextArg{#2}%
- \ifx\tkzutil at empty\tkz at nextArg
- \let\next\@gobble
- \fi
- \next#2\@nil
-}
-%<--------------------------------------------------------------------------–>
-\def\tkzLabelSegments{\pgfutil at ifnextchar[{\tkz at LabelSegments}{%
- \tkz at LabelSegments[]}}
-\def\tkz at LabelSegments[#1](#2)#3{%
-\global\edef\tkz at optls{#1}
-\global\def\tkz at labelseg{#3}
- \begingroup
- \let\next\tkz at multiLS
- \next#2 \@nil %
-\endgroup
-}
-%<--------------------------------------------------------------------------–>
-% PolySeg
-%<--------------------------------------------------------------------------–>
-\def\tkzDrawPolySeg{\pgfutil at ifnextchar[{\tkz at DrawPolySeg}{%
- \tkz at DrawPolySeg[]}}
-\def\tkz at DrawPolySeg[#1](#2,#3){%
-\begingroup
-\draw[#1] (#2)
- \foreach \tkz at pt in {#3}{--(\tkz at pt)};%
-\endgroup
-}
-\endinput
Added: trunk/Master/texmf-dist/tex/latex/tkz-base/tkz-tools-BB.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tkz-base/tkz-tools-BB.tex (rev 0)
+++ trunk/Master/texmf-dist/tex/latex/tkz-base/tkz-tools-BB.tex 2020-01-24 21:42:09 UTC (rev 53530)
@@ -0,0 +1,63 @@
+% tkz-tools-BB.tex
+% Copyright 2011 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-BB.tex}
+\makeatletter
+%<--------------------------------------------------------------------------–>
+\pgfkeys{/@tkzClip/.cd,
+space/.store in = {\tkz at CLI@space},
+space = {}}
+
+\def\tkzClip{\pgfutil at ifnextchar[{\tkz at Clip}{\tkz at Clip[]}}
+\def\tkz at Clip[#1]{%
+
+\pgfqkeys{/@tkzClip}{#1}
+\ifx\tkzutil at empty\tkz at CLI@space
+ \clip (\tkz at xa,\tkz at ya) rectangle (\tkz at xb,\tkz at yb);
+ \else
+ \edef\tkz at xxa{\fpeval{\tkz at xa-\tkz at CLI@space}}
+ \edef\tkz at yya{\fpeval{\tkz at ya-\tkz at CLI@space}}
+ \edef\tkz at xxb{\fpeval{\tkz at xb+\tkz at CLI@space}} % correction bug 2020
+ \edef\tkz at yyb{\fpeval{\tkz at yb+\tkz at CLI@space}}
+ \clip (\tkz at xxa,\tkz at yya) rectangle (\tkz at xxb,\tkz at yyb);
+\fi
+}
+%<--------------------------------------------------------------------------–>
+\def\tkzSetBB(#1)(#2){%
+ \pgfresetboundingbox
+ \path coordinate (tkz at SW) at (#1)
+ coordinate (tkz at NE) at (#2);
+ \path[use as bounding box](#1) rectangle (#2);
+ }
+%<--------------------------------------------------------------------------–>
+\def\tkzSaveBB{%
+\path coordinate (tkz at SW) at (current bounding box.north east)
+ coordinate (tkz at NE) at (current bounding box.south west);
+}
+%<--------------------------------------------------------------------------–>
+\def\tkzRestoreBB{%
+ \pgfresetboundingbox
+ \path[use as bounding box] (tkz at SW) rectangle (tkz at NE) ;
+}
+%<--------------------------------------------------------------------------–>
+\def\tkzShowBB{\pgfutil at ifnextchar[{\tkz at ShowBB}{\tkz at ShowBB[]}}
+\def\tkz at ShowBB[#1]{%
+ \draw[#1] (current bounding box.south west) rectangle
+ (current bounding box.north east);
+}
+%<--------------------------------------------------------------------------–>
+\def\tkzClipBB{%
+\clip (current bounding box.south west) rectangle
+ (current bounding box.north east);
+}
+%<--------------------------------------------------------------------------–>
+\tikzset{tkzreverseclip/.style={insert path={%
+ (\tkz at xa,\tkz at ya) rectangle (\tkz at xb,\tkz at yb)}}}
+%todo add options
+%<--------------------------------------------------------------------------–>
+\makeatother
+\endinput
\ No newline at end of file
Property changes on: trunk/Master/texmf-dist/tex/latex/tkz-base/tkz-tools-BB.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Modified: trunk/Master/texmf-dist/tex/latex/tkz-base/tkz-tools-arith.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tkz-base/tkz-tools-arith.tex 2020-01-24 10:00:38 UTC (rev 53529)
+++ trunk/Master/texmf-dist/tex/latex/tkz-base/tkz-tools-arith.tex 2020-01-24 21:42:09 UTC (rev 53530)
@@ -1,27 +1,25 @@
+% tkz-tools-arith.tex
% Copyright 2011 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{1.161 d}
-\def\filedate{2018/09/19}
+\def\fileversion{3.01c}
+\def\filedate{2020/01/23}
+\typeout{2020/01/23 3.01c tkz-tools-arith.tex}
% 1.161 test if "isfactor" is already defined
-
+% now with pgf 3.0 gcd isprime isodd iseven are defined
%<--------------------------------------------------------------------------–>
% Objet : tools for arithmetic
%<--------------------------------------------------------------------------–>
% [About integers numbers]
%<--------------------------------------------------------------------------–>
-\ProvidesFile{tkz-tool-arith.tex}[tkz-tool-arith 1.161 d]
-\edef\tkzAtCode{\the\catcode`\@}
-\catcode`\@=11\relax
+\ProvidesFile{tkz-tool-arith.tex}[tkz-tool-arith 3.00 c]
+% \edef\tkzAtCode{\the\catcode`\@}
+% \catcode`\@=11\relax
+\makeatletter
%<--------------------------------------------------------------------------–>
% arithmetic tools
%<--------------------------------------------------------------------------–>
-
\tkzutil at ifundefined{pgfmath at function@gcd}{%
\pgfmathdeclarefunction{gcd}{2}{%
\begingroup%
@@ -51,10 +49,7 @@
}
}{}
%<--------------------------------------------------------------------------->
-
\tkzutil at ifundefined{pgfmath at function@isprime}{%
-\newif\ifpgf at unknown
-\newif\ifpgf at isaprime
\pgfmathdeclarefunction{isprime}{1}{%
\begingroup%
\pgf at unknowntrue
@@ -180,7 +175,6 @@
\tkz at find@next
}%
%<--------------------------------------------------------------------------->
-%<--------------------------------------------------------------------------->
\def\tkzReducFrac#1#2{%
\begingroup
\ifnum#1<0\relax%
@@ -201,14 +195,12 @@
\divide\c at pgfmath@counta by\c at pgfmath@countc%
\divide\c at pgfmath@countb by\c at pgfmath@countc%
\fi
-\global\edef\tkzMathFirstResult{\the\c at pgfmath@counta}
-\global\edef\tkzMathSecondResult{\the\c at pgfmath@countb}
+\xdef\tkzMathFirstResult{\the\c at pgfmath@counta}
+\xdef\tkzMathSecondResult{\the\c at pgfmath@countb}
\endgroup}
%<--------------------------------------------------------------------------->
-%<--------------------------------------------------------------------------->
-%<--------------------------------------------------------------------------->
-
-\catcode`\@=\tkzAtCode\relax
+%\catcode`\@=\tkzAtCode\relax
+\makeatother
\endinput
Modified: trunk/Master/texmf-dist/tex/latex/tkz-base/tkz-tools-base.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tkz-base/tkz-tools-base.tex 2020-01-24 10:00:38 UTC (rev 53529)
+++ trunk/Master/texmf-dist/tex/latex/tkz-base/tkz-tools-base.tex 2020-01-24 21:42:09 UTC (rev 53530)
@@ -3,698 +3,81 @@
% This file may be distributed and/or modified
% 1. under the LaTeX Project Public License and/or
% 2. under the GNU Public License.
-
-
% utf8 encoding
-
-\def\fileversion{1.16 d}
-\def\filedate{2018/09/19}
-
+\def\fileversion{3.01c}
+\def\filedate{2020/01/23}
+\typeout{2020/01/23 3.01c tkz-tools-base.tex}
+\makeatletter
%<--------------------------------------------------------------------------–>
-\global\let\@xa\tkz at init@xmin
-\global\let\@xb\tkz at init@xmax
-\global\let\@ya\tkz at init@ymin
-\global\let\@yb\tkz at init@ymax
+\global\let\tkz at tmp@xa\tkz at init@xmin% modif 2016
+\global\let\tkz at tmp@xb\tkz at init@xmax% modif 2016
+\global\let\tkz at tmp@ya\tkz at init@ymin% modif 2016
+\global\let\tkz at tmp@yb\tkz at init@ymax% modif 2016
%<--------------------------------------------------------------------------–>
-\gdef\xgrad{1}
-\gdef\ygrad{1}
-\gdef\tkz at xa{0}
-\gdef\tkz at xb{10}
-\gdef\tkz at ya{0}
-\gdef\tkz at yb{10}
-\newif\iftkz at init@NO
\pgfkeys{
- /tkzInit/.cd,
- xmin/.code = {\def\tkz at init@xmin{#1}},
- xmax/.code = {\def\tkz at init@xmax{#1}},
- xstep/.code = {\def\tkz at init@xstep{#1}},
- ymin/.code = {\def\tkz at init@ymin{#1}},
- ymax/.code = {\def\tkz at init@ymax{#1}},
- ystep/.code = {\def\tkz at init@ystep{#1}},
- NO/.is if = tkz at init@NO,
- NO/.default = true }
+ /@tkzInit/.cd,
+ xmin/.store in = \tkz at init@xmin,
+ xmax/.store in = \tkz at init@xmax,
+ xstep/.store in = \tkz at init@xstep,
+ ymin/.store in = \tkz at init@ymin,
+ ymax/.store in = \tkz at init@ymax,
+ ystep/.store in = \tkz at init@ystep,
+ NO/.is if = tkz at init@NO,
+ NO/.default = true,
+ xmin = 0,
+ xmax = 10,
+ xstep = 1,
+ ymin = 0,
+ ymax = 10,
+ ystep = 1,
+ NO = false
+ }
\def\tkzInit{\pgfutil at ifnextchar[{\tkz at Init}{\tkz at Init[]}}
\def\tkz at Init[#1]{%
-\pgfkeys{/tkzInit/.cd,
- xmin = 0,
- xmax = 10,
- xstep = 1,
- ymin = 0,
- ymax = 10,
- ystep = 1,
- NO = false
-}
- \pgfqkeys{/tkzInit}{#1}
+ \pgfqkeys{/@tkzInit}{#1}
\ifx\tkzfctloaded\undefined
\else
- \tkz at tkzf@fct=0 % only if tkz-fct loaded
+ \tkz at tkzf@fct=0 % only if tkz-fct loaded
\fi
\xdef\tkz at init@xorigine{0}
\xdef\tkz at init@yorigine{0}
- \FPsgn\@xsgmin{\tkz at init@xmin}
- \FPsgn\@xsgmax{\tkz at init@xmax}
- \FPsgn\@ysgmin{\tkz at init@ymin}
- \FPsgn\@ysgmax{\tkz at init@ymax}
- \global\let\@xa\tkz at init@xmin
- \global\let\@xb\tkz at init@xmax
- \global\let\@ya\tkz at init@ymin
- \global\let\@yb\tkz at init@ymax
- \tkz at init@NOfalse
+ \edef\@xsgmin{\fpeval{sign(\tkz at init@xmin)}}
+ \edef\@xsgmax{\fpeval{sign(\tkz at init@xmax)}}
+ \edef\@ysgmin{\fpeval{sign(\tkz at init@ymin)}}
+ \edef\@ysgmax{\fpeval{sign(\tkz at init@ymax)}}
+ \let\tkz at tmp@xa\tkz at init@xmin %modif 2016
+ \let\tkz at tmp@xb\tkz at init@xmax %modif 2016
+ \let\tkz at tmp@ya\tkz at init@ymin %modif 2016
+ \let\tkz at tmp@yb\tkz at init@ymax %modif 2016
+ \tkz at init@NOfalse
\ifx\@xsgmin\@xsgmax \tkz at init@NOtrue \fi
- \ifx\@ysgmin\@ysgmax \tkz at init@NOtrue \fi
+ \ifx\@ysgmin\@ysgmax \tkz at init@NOtrue \fi
\iftkz at init@NO%
\ifx\@xsgmin\@xsgmax
- \FPadd{\tkz at init@xmax}{\tkz at init@xmax}{-\tkz at init@xmin}%
- \edef\tkz at init@xorigine{\tkz at init@xmin}
- \edef\tkz at init@xmin{0}
+ \edef\tkz at init@xmax{\fpeval{\tkz at init@xmax-\tkz at init@xmin}}
+ \edef\tkz at init@xorigine{\tkz at init@xmin}
+ \edef\tkz at init@xmin{0}
\fi
-
\ifx\@ysgmin\@ysgmax
- \FPadd{\tkz at init@ymax}{\tkz at init@ymax}{-\tkz at init@ymin}%
- \edef\tkz at init@yorigine{\tkz at init@ymin}
- \edef\tkz at init@ymin{0}
+ \edef\tkz at init@ymax{\fpeval{\tkz at init@ymax-\tkz at init@ymin}}
+ \edef\tkz at init@yorigine{\tkz at init@ymin}
+ \edef\tkz at init@ymin{0}
\fi
\fi
- \FPdiv{\tkz at xa}{\tkz at init@xmin}{\tkz at init@xstep}
- \FPdiv{\tkz at xb}{\tkz at init@xmax}{\tkz at init@xstep}
- \FPdiv{\tkz at ya}{\tkz at init@ymin}{\tkz at init@ystep}
- \FPdiv{\tkz at yb}{\tkz at init@ymax}{\tkz at init@ystep}
+ \edef\tkz at xa{\fpeval{\tkz at init@xmin/\tkz at init@xstep}}
+ \edef\tkz at xb{\fpeval{\tkz at init@xmax/\tkz at init@xstep}}
+ \edef\tkz at ya{\fpeval{\tkz at init@ymin/\tkz at init@ystep}}
+ \edef\tkz at yb{\fpeval{\tkz at init@ymax/\tkz at init@ystep}}
\tkz at getdecimal{\tkz at init@xstep} % amélioration nb dec et integer
- \global\edef\tkz at init@xdec{\number\c at pgfmath@countb}
+ \xdef\tkz at init@xdec{\number\c at pgfmath@countb}
\tkz at getdecimal{\tkz at init@ystep}
- \global\edef\tkz at init@ydec{\number\c at pgfmath@countb}
+ \xdef\tkz at init@ydec{\number\c at pgfmath@countb}
}%
-%<--------------------------------------------------------------------------–>
-\pgfkeys{Clip/.cd, space/.code = {\def\tkz at CLI@space{#1}}}
-
-\def\tkzClip{\pgfutil at ifnextchar[{\tkz at Clip}{\tkz at Clip[]}}
-\def\tkz at Clip[#1]{%
-\pgfkeys{Clip/.cd,space = {}}
-\pgfqkeys{/Clip}{#1}
-\ifx\tkzutil at empty\tkz at CLI@space
- \clip (\tkz at xa,\tkz at ya) rectangle (\tkz at xb,\tkz at yb);
- \else
- \FPadd{\tkz at xxa}{\tkz at xa}{-\tkz at CLI@space}
- \FPadd{\tkz at yya}{\tkz at ya}{-\tkz at CLI@space}
- \FPadd{\tkz at xxb}{\tkz at xb}{\tkz at CLI@space}
- \FPadd{\tkz at yyb}{\tkz at yb}{\tkz at CLI@space}
- \clip (\tkz at xxa,\tkz at yya) rectangle (\tkz at xxb,\tkz at yyb);
-\fi
-}
-%todo add options
-%<--------------------------------------------------------------------------–>
-%<--------------------------------------------------------------------------–>
-\def\tkz at showgrad#1{%
-\FPifint{#1}\FPtrunc\tkz at result{#1}{0}\else\FPset\tkz at result{#1}\fi}%
-
-\def\tkz at Xresult{%
-\tkz at showgrad{\xgrad}%
- $\numprint{\tkz at result}$%
-}%
-%<--------------------------------------------------------------------------–>
-\def\tkz at Yresult{%
-\tkz at showgrad{\ygrad}%
-$\numprint{\tkz at result}$
-}%
-%<--------------------------------------------------------------------------–>
-%<--------------------------------------------------------------------------–>
-\def\tkz at Xshowgradresult{%
-\iftkz at X@orig
-\tkz at Xresult%
-\else % orig
- \iftkz at init@NO%
- \unless\ifx\tkz at pos\tkz at posmin
- \tkz at Xresult\fi
- \else % NO
- \unless\ifx\tkz at pos\x at tkzero%
- \tkz at Xresult
- \fi%end of x at tkzero
- \fi%end of NO
-\fi%end of orig
-}%
-%<--------------------------------------------------------------------------–>
-\def\tkz at Yshowgradresult{%
-\iftkz at Y@orig
-\tkz at Yresult%
-\else % orig
- \iftkz at init@NO%
- \unless\ifx\tkz at pos\tkz at posmin
- \tkz at Yresult\fi
- \else % NO
- \unless\ifx\tkz at pos\y at tkzero%
- \tkz at Yresult
- \fi%end of x at tkzero
- \fi%end of NO
-\fi%end of orig
-}%
-%<--------------------------------------------------------------------------–>
-%<--------------------------------------------------------------------------–>
-\def\tkz at Xshowgrad{%
-\iftkz at X@orig
-\tkzprintfrac%
-\else % orig
- \iftkz at init@NO%
- \unless\ifx\tz at pos\tkz at posmin
- \tkzprintfrac\fi
- \else % NO
- \unless\ifx\tz at pos\x at tkzero%
- \tkzprintfrac
- \fi%end of x at tkzero
- \fi%end of NO
-\fi%end of orig
-}%
-%<--------------------------------------------------------------------------–>
-\def\tkz at Yshowgrad{%
-\iftkz at Y@orig
-\tkzprintfrac%
-\else % orig
- \iftkz at init@NO%
- \unless\ifx\tz at pos\tkz at posmin
- \tkzprintfrac\fi
- \else % NO
- \unless\ifx\tz at pos\y at tkzero%
- \tkzprintfrac
- \fi%end of x at tkzero
- \fi%end of NO
-\fi%end of orig
-}%
-
-%<--------------------------------------------------------------------------–>
-% Setup axe
-%<--------------------------------------------------------------------------–>
-\pgfkeys{tkzaxis/.cd,
-line width/.code = {\global\edef\tkz at sua@lw{#1}},
-color/.code = {\global\edef\tkz at sua@color{#1}},
-tickwd/.code = {\global\edef\tkz at sua@tickwd{#1}},
-ticka/.code = {\global\edef\tkz at sua@ticka{#1}},
-tickb/.code = {\global\edef\tkz at sua@tickb{#1}}
-}
-
-\def\tkzSetUpAxis{\pgfutil at ifnextchar[{\tkz at SetUpAxis}{\tkz at SetUpAxis[]}}
-\def\tkz at SetUpAxis[#1]{%
-\begingroup
- \pgfkeys{/tkzaxis/.cd,
- line width = \tkz at init@lw,
- color = \tkz at init@color,
- tickwd = \tkz at init@tickwd,
- ticka = \tkz at init@ticka,
- tickb = \tkz at init@tickb
- }
-\pgfqkeys{/tkzaxis}{#1}
-\global\let\tkz at init@lw\tkz at sua@lw
-\global\let\tkz at init@gradsize\tkz at sua@gradsize
-\global\let\tkz at init@color\tkz at sua@color
-\global\let\tkz at init@tickwd\tkz at sua@tickwd
-\global\let\tkz at init@ticka\tkz at sua@ticka
-\global\let\tkz at init@tickb\tkz at sua@tickb
-\endgroup}
-%<--------------------------------------------------------------------------–>
-% tkzDrawX todo améliorer les unités
-%<--------------------------------------------------------------------------–>
-\pgfkeys{% prob avec space
-tkzdrawX/.cd,
-color/.code = {\global\def\tkz at X@color{#1}},
-label/.code = {\global\def\tkz at X@label{#1}},
-right space/.code = {\global\def\tkz at axe@rxspace{#1}},
-left space/.code = {\global\def\tkz at axe@lxspace{#1}},
-noticks/.is if = tkz at X@noticks,
-noticks/.default = true,
-trig/.code = {\global\def\tkz at X@trig{#1}},
-step/.code = {\FPeval\tkz at posnext{#1}},
-tickwd/.code = {\global\def\tkz at X@tickwd{#1}},
-tickup/.code = {\global\def\tkz at X@tickup{#1}},
-tickdn/.code = {\global\def\tkz at X@tickdn{#1}},
-/tkzdrawX/.unknown/.code = {\let\searchname=\pgfkeyscurrentname
- \pgfkeysalso{\searchname/.try=#1,
- /tikz/\searchname/.retry=#1}}}
-
-\def\tkzDrawX{\pgfutil at ifnextchar[{\tkz at DrawX}{\tkz at DrawX[]}}
-\def\tkz at DrawX[#1]{
-\begingroup%
-\pgfkeys{/tkzdrawX/.cd,
-color = \tkz at init@color,
-label = \tkz at init@xlabel,
-trig = 0,
-step = \tkz at init@xstep,
-right space = \tkz at init@rightspace,
-left space = \tkz at init@leftspace,
-noticks = false,
-tickwd = \tkz at init@tickwd,
-tickup = \tkz at init@ticka,
-tickdn = \tkz at init@tickb}
-\pgfqkeys{/tkzdrawX}{#1}
-\FPtrunc\tkz at posmax{\tkz at xb}{\tkz at init@xdec}
-\FPtrunc\tkz at posmin{\tkz at xa}{\tkz at init@xdec}
-\FPadd\tkz at xbsup{\tkz at xb}{\tkz at axe@rxspace}
-\FPadd\tkz at xainf{\tkz at xa}{-\tkz at axe@lxspace}
-\path (\tkz at xainf,0)--(\tkz at xbsup,0) node(tkz at xline){};
-\draw[xaxe style,
- color = \tkz at X@color,
- /tkzdrawX/.cd, #1] (\tkz at xainf,0)--(\tkz at xbsup,0)
- node[xlabel style, /tkzdrawX/.cd, #1]{\tkz at X@label};
- \iftkz at X@noticks
- \else
- \ifnum\tkz at X@trig=0
- \FPtrunc\tkz at posmax{\tkz at posmax}{\tkz at init@xdec}%
- \FPdiv\tkz at posnext{\tkz at posnext}{\tkz at init@xstep}
- \FPadd\tz at posnext{\tkz at posmin}{\tkz at posnext}
- \foreach \tz at pos in {\tkz at posmin,\tz at posnext,...,\tkz at posmax}{%
- \draw[color = \tkz at X@color,
- line width = \tkz at X@tickwd,
- shift = {(\tz at pos,0)}]%
- (0pt,\tkz at X@tickup)--(0pt,-\tkz at X@tickdn);}
- \else
- \FPadd{\tkz at posmin}{\tkz at posmin}{.5}%
- \FPdiv\tkz at posmax{\tkz at posmax}{\FPpi}%
- \FPmul\tkz at posmax{\tkz at posmax}{\tkz at X@trig}%
- \FPdiv\tkz at posmin{\tkz at posmin}{\FPpi}%
- \FPmul\tkz at posmin{\tkz at posmin}{\tkz at X@trig}%
- \FPround\tkz at posmin{\tkz at posmin}{0}%
- \foreach \tz at pos in {\tkz at posmin,...,\tkz at posmax}{%
- \FPmul\tz at pospi{\tz at pos}{\FPpi}
- \FPdiv\tz at pospi{\tz at pospi}{\tkz at X@trig}%
- \draw[color = \tkz at X@color,
- line width = \tkz at X@tickwd,%
- shift = {(\tz at pospi,0)}]%
- (0pt,\tkz at X@tickup)--(0pt,-\tkz at X@tickdn);
- }% end foreach
- \fi
- \fi
-\endgroup}
-%<--------------------------------------------------------------------------–>
-\pgfkeys{% prob avec space
-tkzAxeX/.cd,
-color/.code = {\def\tkz at X@color{#1}},
-label/.code = {\global\def\tkz at X@label{#1}},
-frac/.code = {\def\tkzX at frac{#1}},
-trig/.code = {\def\tkzX at trig{#1}},
-/tkzAxeX/.unknown/.code = {\let\searchname=\pgfkeyscurrentname
- \pgfkeysalso{\searchname/.try=#1,
- /tikz/\searchname/.retry=#1}}}
-
-\def\tkzAxeX{\pgfutil at ifnextchar[{\tkz at AxeX}{\tkz at AxeX[]}}
-\def\tkz at AxeX[#1]{%
-\begingroup
-\tkzLabelX[#1] \tkzDrawX[#1]
-\endgroup
-}
-
-
-%<--------------------------------------------------------------------------–>
-% tkzDrawY todo améliorer les unités
-%<--------------------------------------------------------------------------–>
-\pgfkeys{% prob avec space
-tkzdrawY/.cd,
-color/.code = {\def\tkz at Y@color{#1}},
-label/.code = {\def\tkz at Y@label{#1}},
-up space/.code = {\global\def\tkz at axe@uyspace{#1}},
-down space/.code = {\global\def\tkz at axe@dyspace{#1}},
-noticks/.is if = tkz at Y@noticks,
-noticks/.default = true,
-trig/.code = {\global\def\tkz at Y@trig{#1}},
-step/.code = {\FPeval\tkz at posnext{#1}},
-tickwd/.code = {\global\def\tkz at Y@tickwd{#1}},
-ticklt/.code = {\global\def\tkz at Y@ticklt{#1}},
-tickrt/.code = {\global\def\tkz at Y@tickrt{#1}},
-/tkzdrawY/.unknown/.code = {\let\searchname=\pgfkeyscurrentname
- \pgfkeysalso{\searchname/.try=#1,
- /tikz/\searchname/.retry=#1}}}
-
-\def\tkzDrawY{\pgfutil at ifnextchar[{\tkz at DrawY}{\tkz at DrawY[]}}
-\def\tkz at DrawY[#1]{%
-\begingroup
-\pgfkeys{/tkzdrawY/.cd,
-color = \tkz at init@color,
-label = \tkz at init@ylabel,
-trig = 0,
-step = \tkz at init@ystep,
-up space = \tkz at init@upspace,
-down space = \tkz at init@downspace,
-noticks = false,
-tickwd = \tkz at init@tickwd,
-ticklt = \tkz at init@tickb,
-tickrt = \tkz at init@ticka}
-\pgfqkeys{/tkzdrawY}{#1}
-\FPtrunc\tkz at posmax{\tkz at yb}{\tkz at init@ydec}
-\FPtrunc\tkz at posmin{\tkz at ya}{\tkz at init@ydec}
-\FPadd\tkz at ybsup{\tkz at yb}{\tkz at axe@uyspace}
-\FPadd\tkz at yainf{\tkz at ya}{-\tkz at axe@dyspace}
-\path (0,\tkz at yainf)--(0,\tkz at ybsup) node(tkz at yline){};
-\draw[color = \tkz at Y@color,
- yaxe style,/tkzdrawY/.cd,#1] (0,\tkz at yainf)--(0,\tkz at ybsup)
- node[ylabel style,/tkzdrawY/.cd,#1]{\tkz at Y@label};
- \iftkz at Y@noticks
- \else
- \ifnum\tkz at Y@trig=0
- \FPtrunc\tkz at posmax{\tkz at posmax}{\tkz at init@ydec}%
- \FPdiv\tkz at posnext{\tkz at posnext}{\tkz at init@ystep}
- \FPadd\tz at posnext{\tkz at posmin}{\tkz at posnext}
- \foreach \tz at pos in {\tkz at posmin,\tz at posnext,...,\tkz at posmax}{%
- \draw[color = \tkz at Y@color,
- line width = \tkz at Y@tickwd,
- shift = {(0,\tz at pos)}]%
- (\tkz at Y@tickrt,0pt)--(-\tkz at Y@ticklt,0pt);}
- \else
- \FPadd{\tkz at posmin}{\tkz at posmin}{.5}%
- \FPdiv\tkz at posmax{\tkz at posmax}{\FPpi}%
- \FPmul\tkz at posmax{\tkz at posmax}{\tkz at Y@trig}%
- \FPdiv\tkz at posmin{\tkz at posmin}{\FPpi}%
- \FPmul\tkz at posmin{\tkz at posmin}{\tkz at Y@trig}%
- \FPround\tkz at posmin{\tkz at posmin}{0}%
- \foreach \tz at pos in {\tkz at posmin,...,\tkz at posmax}{%
- \FPmul\tz at pospi{\tz at pos}{\FPpi}
- \FPdiv\tz at pospi{\tz at pospi}{\tkz at Y@trig}%
- \draw[color = \tkz at Y@color,
- line width = \tkz at Y@tickwd,%
- shift = {(0,\tz at pospi)}]%
- (\tkz at Y@tickrt,0pt)--(-\tkz at Y@ticklt,0pt);
- }% end foreach
- \fi
- \fi
-\endgroup}
-%<--------------------------------------------------------------------------->
-\newif\iftkz at np
-\pgfkeys{% prob avec space
-tkzlabelX/.cd,
-frac/.code = {\def\tkz at X@frac{#1}},
-trig/.code = {\def\tkz at X@trig{#1}},
-step/.code = {\def\tkz at posnext{#1}},
-label options/.code = {\def\cmd at X@option{#1}},
-np off/.is if = tkz at np,
-np off/.default = true,
-orig/.is if = tkz at X@orig,
-orig/.default = false,
-tickwd/.code = {\global\def\tkz at X@tickwd{#1}},
-tickup/.code = {\global\def\tkz at X@tickup{#1}},
-tickdn/.code = {\global\def\tkz at X@tickdn{#1}},
-/tkzlabelX/.unknown/.code = {\let\searchname=\pgfkeyscurrentname
- \pgfkeysalso{\searchname/.try=#1,
- /tikz/\searchname/.retry=#1}}}
- \def\tkzLabelX{\pgfutil at ifnextchar[{\tkz at LabelX}{\tkz at LabelX[]}}
-\def\tkz at LabelX[#1]{%
-\begingroup
-\pgfkeys{/tkzlabelX/.cd,
-frac = 0,
-trig = 0,
-step = \tkz at init@xstep,
-np off = false,
-orig = true,
-label options = {},
-tickwd = \tkz at init@tickwd,
-tickup = \tkz at init@ticka,
-tickdn = \tkz at init@tickb}
-\pgfqkeys{/tkzlabelX}{#1}
-\iftkz at np\let\numprint at saved\numprint %
-\let\numprint\relax\fi %
-
-\FPtrunc\tkz at posmin{\tkz at xa}{\tkz at init@xdec}%
-\FPtrunc\tkz at posmax{\tkz at xb}{\tkz at init@xdec}%
-\FPtrunc\x at tkzero{0.0000000}{\tkz at init@xdec}%
-
-\ifnum\tkz at X@frac=0 %
- \ifnum\tkz at X@trig=0 % affichage normal
- \FPdiv\tz at posnext{\tkz at posnext}{\tkz at init@xstep}
- \FPadd\tz at posnext{\tkz at posmin}{\tz at posnext}
- \foreach \tz at pos in {\tkz at posmin,\tz at posnext,...,\tkz at posmax}{%
- \FPtrunc\tkz at pos{\tz at pos}{\tkz at init@xdec}%
- \FPmul{\xgrad}{\tz at pos}{\tkz at init@xstep}%
- \FPadd{\xgrad}{\xgrad}{\tkz at init@xorigine}%
- \FPtrunc\xgrad{\xgrad}{\tkz at init@xdec}%
- \protected at edef\tkz at temp{%
- \noexpand\path[shift = {(\tz at pos,0)}]
- (0pt,\tkz at X@tickup)--(0pt,-\tkz at X@tickdn)%
- node[xlabel style,%
- fill = \tkz at fillcolor,
- \cmd at X@option]}\tkz at temp{\tkz at Xshowgradresult};
-}%
- \else% trig > 0
- \FPadd{\tkz at posmin}{\tkz at posmin}{.5}%
- \FPdiv\tkz at posmax{\tkz at posmax}{\FPpi}%
- \FPmul\tkz at posmax{\tkz at posmax}{\tkz at X@trig}%
- \FPdiv\tkz at posmin{\tkz at posmin}{\FPpi}%
- \FPmul\tkz at posmin{\tkz at posmin}{\tkz at X@trig}%
- \FPround\tkz at posmin{\tkz at posmin}{0}%
- \foreach \tz at pos in {\tkz at posmin,...,\tkz at posmax}{%
- \tkzPrintFracWithPi{\tz at pos}{\tkz at X@trig}
- \FPmul\tz at pospi{\tz at pos}{\FPpi}
- \FPdiv\tz at pospi{\tz at pospi}{\tkz at X@trig}%
- \protected at edef\tkz at temp{%
- \noexpand\path[shift = {(\tz at pospi,0)}]%
- (0pt,\tkz at X@tickup)--(0pt,-\tkz at X@tickdn)%
- node[xlabel style,
- text height = 8pt,
- fill = \tkz at fillcolor,
- \cmd at X@option]}\tkz at temp{\tkz at Xshowgrad};%
- }% end foreach
- \fi
-\else% frac > 0
-\FPround\tkz at posmin{\tkz at posmin}{0}%
- \foreach \tz at pos in {\tkz at posmin,...,\tkz at posmax}{%
- \tkzPrintFrac{\tz at pos}{\tkz at X@frac}%
- \protected at edef\tkz at temp{%
- \noexpand\path[shift = {(\tz at pos,0)}]%
- (0pt,\tkz at X@tickup)--(0pt,-\tkz at X@tickdn)%
- node[xlabel style,
- text height = 8pt,
- fill = \tkz at fillcolor,
- \cmd at X@option]}\tkz at temp{\tkz at Xshowgrad}%
- ;%
- }% end foreach
-\fi
- \iftkz at np\let\numprint\numprint at saved \fi%
-\endgroup
-}
-
-%<--------------------------------------------------------------------------->
-\pgfkeys{% prob avec space
-tkzticksY/.cd,
-frac/.code = {\def\tkz at Y@frac{#1}},
-trig/.code = {\def\tkz at Y@trig{#1}},
-step/.code = {\def\tkz at posnext{#1}},
-label options/.code = {\def\cmd at Y@option{#1}},
-np off/.is if = tkz at np,
-np off/.default = true,
-orig/.is if = tkz at Y@orig,
-orig/.default = false,
-tickwd/.code = {\global\def\tkz at Y@tickwd{#1}},
-ticklt/.code = {\global\def\tkz at Y@ticklt{#1}},
-tickrt/.code = {\global\def\tkz at Y@tickrt{#1}},
-/tkzticksY/.unknown/.code = {\let\searchname=\pgfkeyscurrentname
- \pgfkeysalso{\searchname/.try=#1,
- /tikz/\searchname/.retry=#1}}}
- \def\tkzLabelY{\pgfutil at ifnextchar[{\tkz at LabelY}{\tkz at LabelY[]}}
-\def\tkz at LabelY[#1]{%
-\begingroup
-\pgfkeys{/tkzticksY/.cd,
-frac = 0,
-trig = 0,
-step = \tkz at init@ystep,
-np off = false,
-orig = true,
-label options = {},
-tickwd = \tkz at init@tickwd,
-ticklt = \tkz at init@tickb,
-tickrt = \tkz at init@ticka}
-\pgfqkeys{/tkzticksY}{#1}
-\iftkz at np\let\numprint at saved\numprint %
-\let\numprint\relax\fi %
-
-\FPtrunc\tkz at posmin{\tkz at ya}{\tkz at init@ydec}%
-\FPtrunc\tkz at posmax{\tkz at yb}{\tkz at init@ydec}%
-\FPtrunc\y at tkzero{0.0000000}{\tkz at init@ydec}%
-
-\ifnum\tkz at Y@frac=0
- \ifnum\tkz at Y@trig=0 % affichage normal
- \FPdiv\tz at posnext{\tkz at posnext}{\tkz at init@ystep}
- \FPadd\tz at posnext{\tkz at posmin}{\tz at posnext}
- \foreach \tz at pos in {\tkz at posmin,\tz at posnext,...,\tkz at posmax}{%
- \FPtrunc\tkz at pos{\tz at pos}{\tkz at init@ydec}%
- \FPmul{\ygrad}{\tz at pos}{\tkz at init@ystep}%
- \FPadd{\ygrad}{\ygrad}{\tkz at init@yorigine}%
- \FPtrunc\ygrad{\ygrad}{\tkz at init@ydec}%
- \protected at edef\tkz at temp{%
- \noexpand\path[shift = {(0,\tz at pos)}]%
- (\tkz at Y@tickrt,0pt)--(-\tkz at Y@ticklt,0pt)%
- node[ylabel style,
- fill = \tkz at fillcolor,
- \cmd at Y@option]}\tkz at temp{\tkz at Yshowgradresult};
-}
- \else% trig > 0
- \FPadd{\tkz at posmin}{\tkz at posmin}{.5}%
- \FPdiv\tkz at posmax{\tkz at posmax}{\FPpi}%
- \FPmul\tkz at posmax{\tkz at posmax}{\tkz at Y@trig}%
- \FPdiv\tkz at posmin{\tkz at posmin}{\FPpi}%
- \FPmul\tkz at posmin{\tkz at posmin}{\tkz at Y@trig}%
- \FPround\tkz at posmin{\tkz at posmin}{0}%
- \foreach \tz at pos in {\tkz at posmin,...,\tkz at posmax}{%
- \tkzPrintFracWithPi{\tz at pos}{\tkz at Y@trig}
- \FPmul\tz at pospi{\tz at pos}{\FPpi}
- \FPdiv\tz at pospi{\tz at pospi}{\tkz at Y@trig}%
- \protected at edef\tkz at temp{%
- \noexpand\path[shift = {(0,\tz at pospi)}]%
- (\tkz at Y@tickrt,0pt)--(-\tkz at Y@ticklt,0pt)%
- node[ylabel style,
- text height = 8pt,
- fill = \tkz at fillcolor,
- \cmd at Y@option]}\tkz at temp{\tkz at Yshowgrad};%
- }% end foreach
- \fi
-\else% frac > 0
-\FPround\tkz at posmin{\tkz at posmin}{0}%
- \foreach \tz at pos in {\tkz at posmin,...,\tkz at posmax}{%
- \tkzPrintFrac{\tz at pos}{\tkz at Y@frac}%
- \protected at edef\tkz at temp{%
- \noexpand\path[shift = {(0,\tz at pos)}]%
- (\tkz at Y@tickrt,0pt)--(-\tkz at Y@ticklt,0pt)%
- node[ylabel style,
- text height = 8pt,
- fill = \tkz at fillcolor,
- \cmd at Y@option]}\tkz at temp{\tkz at Yshowgrad}%
- ;%
- }% end foreach
-\fi
- \iftkz at np\let\numprint\numprint at saved \fi%
-\endgroup}
-%<--------------------------------------------------------------------------–>
-\def\tkzAxeY{\pgfutil at ifnextchar[{\tkz at AxeY}{\tkz at AxeY[]}}
-\def\tkz at AxeY[#1]{%
-\begingroup
- \tkzDrawY[#1] \tkzLabelY[#1]
-\endgroup}
-%<-------------------------------------------------------------------------->
-\newif\if at tkz@swap
-\pgfkeys{% prob avec space
- tkzAxeXY/.cd,
- swap/.is if = @tkz at swap,
- swap/.default = true,
- /tkzAxeXY/.unknown/.code = {\let\searchname=\pgfkeyscurrentname
- \pgfkeysalso{\searchname/.try=#1,
- /tikz/\searchname/.retry=#1}}}
-
-\def\tkzAxeXY{\pgfutil at ifnextchar[{\tkzAxe at XY}{\tkzAxe at XY[]}}
-\def\tkzAxe at XY[#1]{%
-\pgfkeys{
- /tkzAxeXY/.cd,
- swap = false}
-\pgfqkeys{/tkzAxeXY}{#1}
-\if at tkz@swap
-\tkzLabelX[#1]\tkzLabelY[#1]\tkzDrawX[#1]\tkzDrawY[#1]
-\else
-\tkzDrawX[#1]\tkzDrawY[#1]\tkzLabelX[#1]\tkzLabelY[#1]
-\fi}
-\def\tkzDrawXY{\pgfutil at ifnextchar[{\tkzDraw at XY}{\tkzDraw at XY[]}}
-\def\tkzDraw at XY[#1]{\tkzDrawX[#1]\tkzDrawY[#1]}
-\def\tkzLabelXY{\pgfutil at ifnextchar[{\tkzLabel at XY}{\tkzLabel at XY[]}}
-\def\tkzLabel at XY[#1]{\tkzLabelX[#1]\tkzLabelY[#1]}
-%<--------------------------------------------------------------------------–>
-% grid
-%<--------------------------------------------------------------------------–>
-\newif\if at tkz@gd at sub
-\def\tkzRatioLineGrid{0.75}
-\def\tkz at gd@sublw{0.4 pt}
-
-
-\pgfkeys{
- /tkzGrid/.cd,
- color/.code = {\def\tkz at gd@color{#1}%
- \edef\tkz at gd@subcolor{%
- \tkz at gd@color!\tkzCoeffSubColor}},
- subxstep/.code = {\def\tkz at gd@subxstep{#1}},
- subystep/.code = {\def\tkz at gd@subystep{#1}},
- ratio/.code = {\def\tkz at gd@ratio{#1}},
- line width/.code = {\edef\tkz at gd@lw{#1}
- \edef\tkz at gd@sublw{\tkz at gd@ratio\tkz at gd@lw}},
- sub/.is if = @tkz at gd@sub,
- sub/.default = true ,
- /tkzGrid/.unknown/.code = {\let\searchname=\pgfkeyscurrentname
- \pgfkeysalso{\searchname/.try=#1,
- /tikz/\searchname/.retry=#1}}}
-
-\def\tkzGrid{\pgfutil at ifnextchar[{\tkz at Grid}{\tkz at Grid[]}}
-\def\tkz at Grid[#1]{\@ifnextchar({\tkz@@Grid[#1]}%
- {\tkz@@Grid[#1](\@xa,\@ya)(\@xb,\@yb)}}
-\def\tkz@@Grid[#1](#2,#3)(#4,#5){%
-\pgfkeys{
- /tkzGrid/.cd,
- sub = false,
- color = \tkz at grid@color,
- ratio = 0.75,
- subxstep = \tkz at grid@xstep,
- subystep = \tkz at grid@ystep,
- line width = \tkz at grid@lw}
- \pgfqkeys{/tkzGrid}{#1}
- \begingroup
- \FPadd{\tkz at gxa}{#2}{-\tkz at init@xorigine}
- \FPadd{\tkz at gxb}{#4}{-\tkz at init@xorigine}
- \FPadd{\tkz at gya}{#3}{-\tkz at init@yorigine}
- \FPadd{\tkz at gyb}{#5}{-\tkz at init@yorigine}
- \FPdiv{\tkz at gxa}{\tkz at gxa}{\tkz at init@xstep}
- \FPdiv{\tkz at gya}{\tkz at gya}{\tkz at init@ystep}
- \FPdiv{\tkz at gxb}{\tkz at gxb}{\tkz at init@xstep}
- \FPdiv{\tkz at gyb}{\tkz at gyb}{\tkz at init@ystep}
- \if at tkz@gd at sub%
- \FPeval\@subxstep{\tkz at gd@subxstep/\tkz at init@xstep}%
- \FPeval\@subystep{\tkz at gd@subystep/\tkz at init@ystep}%
- \draw [xstep = \@subxstep cm,%
- ystep = \@subystep cm,%
- color = \tkz at gd@subcolor,%
- line width = \tkzRatioLineGrid]%
- (\tkz at gxa,\tkz at gya) grid (\tkz at gxb,\tkz at gyb);%
- \fi
- \draw [color = \tkz at gd@color,%
- line width = \tkz at gd@lw]%
- (\tkz at gxa,\tkz at gya) grid (\tkz at gxb,\tkz at gyb);%
- \endgroup
-}%
-%<--------------------------------------------------------------------------–>
-% repère
-%<--------------------------------------------------------------------------–>
-
-\newif\iftkz at Rep@orig
-\pgfkeys{
- /tkzRep/.cd,
- line width/.code = {\def\tkz at Rep@lw{#1}},
- xlabel/.code = {\def\tkz at Rep@xlabel{#1}},
- ylabel/.code = {\def\tkz at Rep@ylabel{#1}},
- posxlabel/.code = {\def\tkz at Rep@posxlabel{#1}},
- posylabel/.code = {\def\tkz at Rep@posylabel{#1}},
- xnorm/.code = {\def\tkz at Rep@xnorm{#1}},
- ynorm/.code = {\def\tkz at Rep@ynorm{#1}},
- color/.code = {\def\tkz at Rep@color{#1}},
- colorlabel/.code = {\def\tkz at Rep@colorlabel{#1}}}
- % /tkzRep/.unknown/.code = {\let\searchname=\pgfkeyscurrentname
- % \pgfkeysalso{\searchname/.try=#1,
- % /tikz/\searchname/.retry=#1}}}
-%<--------------------------------------------------------------------------–>
-\def\tkzRep{\pgfutil at ifnextchar[{\tkz at Rep}{%
- \tkz at Rep[]}}
-\def\tkz at Rep[#1]{%
-\pgfkeys{
- /tkzRep/.cd,
-line width = \tkz at sur@lw,
-xlabel = $\vec{\imath}$,
-ylabel = $\vec{\jmath}$,
-posxlabel = {\tkz at sur@posxlabel},
-posylabel = {\tkz at sur@posylabel},
-xnorm = 1,
-ynorm = 1,
-color = \tkz at sur@color,% remove ?
-colorlabel = \tkz at sur@colorlabel}% remove ?
-\pgfqkeys{/tkzRep}{#1}
-\begingroup
- \protected at edef\tkz at temp{%
- \noexpand\draw [line width=\tkz at Rep@lw,color=\tkz at Rep@color,rep style]%
- (0,0) to node[\tkz at Rep@posylabel,color = \tkz at Rep@colorlabel]}\tkz at temp%
- {\tkz at Rep@ylabel}(0,\tkz at Rep@ynorm);
- \protected at edef\tkz at temp{%
- \noexpand \draw [line width=\tkz at Rep@lw,color=\tkz at Rep@color,rep style]%
- (0,0) to node[\tkz at Rep@posxlabel,color = \tkz at Rep@colorlabel]}\tkz at temp%
- {\tkz at Rep@xlabel}(\tkz at Rep@xnorm,0);
-\endgroup
-}
\def\tkzAddName{\pgfutil at ifnextchar[{\tkz at AddName}{\tkz at AddName[]}}
\def\tkz at AddName[#1]#2{%
\node[above left,#1] at (\pgf at path@lastx,\pgf at path@lasty){#2};
}%
+%<--------------------------------------------------------------------------–>
+\makeatother
\endinput
\ No newline at end of file
Modified: trunk/Master/texmf-dist/tex/latex/tkz-base/tkz-tools-math.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tkz-base/tkz-tools-math.tex 2020-01-24 10:00:38 UTC (rev 53529)
+++ trunk/Master/texmf-dist/tex/latex/tkz-base/tkz-tools-math.tex 2020-01-24 21:42:09 UTC (rev 53530)
@@ -1,223 +1,15 @@
+% tkz-tools-math.tex
% Copyright 2011 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{1.16 d}
-\def\filedate{2018/09/19}
-
-
-
-% Objet : outils mathématiques pour la géométrie euclideienne avec pgf/tikz
-% utilisable de préférence avec un repère orthonormé et le cm comme unité
-% utile pour la compatibilité avec pgf 2
-%<--------------------------------------------------------------------------–>
-%<--------------------------------------------------------------------------–>
-% Duplicate Length à revoir pas de pt pas de global
-% ||v(CN)||= ||v(AB)|| et v(CN) colineaire à v(CD)
-% A-->#1 B-->#2 C-->#3 D-->#4 N-->#5 ?????
-%<--------------------------------------------------------------------------–>
-\def\tkzDuplicateLen(#1,#2)(#3,#4){%
-\begingroup
- \tkzCalcLength(#1,#2)\tkzGetLength{tkz at firstlen}%
- \tkzCalcLength(#3,#4)\tkzGetLength{tkz at secondlen}%
- \FPdiv\tkz at ratio{\tkz at firstlen}{\tkz at secondlen}%
- \tkz at VecKCoLinear[\tkz at ratio](#3,#4,#3){tkzPointResult}%
-\endgroup
-}
-\let\tkzDuplicateSegment\tkzDuplicateLen %<--------------------------------------------------------------------------–>
-% Coordonnées d'un vecteur (couple de points)
-% Deux points A et B donc un vecteur on récupère les coordonnées de v(AB)
-% en cm
-% tkzGetVecCoord en cm ou en pt ???
-%<--------------------------------------------------------------------------–>
-%result in #3x et #3y #1 et #2 sont les points
-% passage en cm avec fp ?
-\def\tkzGetVectxy(#1,#2)#3{%
-\begingroup
-\pgfpointdiff{\pgfpointanchor{#1}{center}}%
- {\pgfpointanchor{#2}{center}}%
-\pgfmathparse{\pgf at sys@tonumber{\pgf at x}/28.45274}%
-\global\let\tkzresultx\pgfmathresult
-\pgfmathparse{\pgf at sys@tonumber{\pgf at y}/28.45274}%
-\global\let\tkzresulty\pgfmathresult
-\global\expandafter\edef\csname #3x\endcsname{\tkzresultx}%
-\global\expandafter\edef\csname #3y\endcsname{\tkzresulty}%
-\endgroup
-}
-\let\tkzGetVecCoord\tkzGetVectxy
-%<--------------------------------------------------------------------------–>
-%<--------------------------------------------------------------------------–>
-\def\tkz at numv{0}
-\pgfkeys{/tkzdefv/.cd,
-K/.code = {\pgfmathparse{#1}\global\def\tkz at ratio{\pgfmathresult}},
-colinear/.code args = {at #1}{\global\def\tkz at numv{0}%
- \global\def\tkz at frompoint{#1}},
-orthogonal/.code = {\global\def\tkz at numv{1}},
-linear/.code = {\global\def\tkz at numv{2}}\pgfmathparse{#1},
-normed orthogonal/.code = {\global\def\tkz at numv{3}},
-normed linear/.code = {\global\def\tkz at numv{4}},
-}
-\def\tkzDefVector[#1](#2,#3)#4{%
-\begingroup
-\pgfkeys{/tkzdefv/.cd,K=1}
-\pgfqkeys{/tkzdefv}{#1}
-\ifcase\tkz at numv%
- % first case 0
- \tkzDefVectorfrom[\tkz at ratio](#2,#3){#4}
- \or% 1
- \tkz at VecKOrth[\tkz at ratio](#2,#3){#4}
- \or% 2
- \tkz at VecK[\tkz at ratio](#2,#3){#4}
- \or% 3
- \tkz at VecKOrthNorm[\tkz at ratio](#2,#3){#4}
- \or% 4
- \tkz at VecKCoLinear[#1](#2,#3)#4
- \fi
-\endgroup
-}
-
-\def\tkzDefVectorfrom[#1](#2,#3)#4{%
-\begingroup
- \pgfpointdiff{\pgfpointanchor{#2}{center}}%
- {\pgfpointanchor{#3}{center}}%
- \pgf at xa=\pgf at x%
- \pgf at ya=\pgf at y%
- \path[coordinate](\tkz at frompoint)--+(\tkz at ratio\pgf at xa,%
- \tkz at ratio\pgf at ya) coordinate (#4);
-\endgroup
-}
-%<--------------------------------------------------------------------------–>
-% VecKCoLinear CN = K x AB #1 pt #2 pt #3 pt #4 nb #5 pt result
-% il faut modifier cette macro : on supprime #3 pour la colinéarité
-% Il suffit d'utiliser Replicate ou Duplicate coeff dans #1
-% v(CD)=#1 x v(AB) #1 le coeff; #2-->A #3-->B #4-->C #5-->N
-%<--------------------------------------------------------------------------–>
-\def\tkzVecKCoLinear{\pgfutil at ifnextchar[{\tkz at VecKCoLinear}{\tkz at VecKCoLinear[1]}}
-\def\tkz at VecKCoLinear[#1](#2,#3,#4)#5{%
-\begingroup
- \pgfpointdiff{\pgfpointanchor{#2}{center}}%
- {\pgfpointanchor{#3}{center}}%
- \pgf at xa=\pgf at x%
- \pgf at ya=\pgf at y%
- \pgfmathparse{#1}\edef\tkz at coeff{\pgfmathresult}
- \path[coordinate](#4)--+(\tkz at coeff\pgf at xa,\tkz at coeff\pgf at ya)%
- coordinate (#5);%
-\endgroup
-}%
-%<--------------------------------------------------------------------------–>
-% v(AN)=#1 x v(AB)
-% #1 le coeff; #2--> A #3--> B #4-->N tq #4-#2 = #1*(#3-#2)
-%<--------------------------------------------------------------------------–>
-\pgfkeys{
- /tkzscalev/.cd,
- ratio/.code = {\pgfmathparse{#1}\global\edef\tkz at ratio{\pgfmathresult}}
- }
-\def\tkzScaleVector{\pgfutil at ifnextchar[{\tkz at ScaleVector}{%
- \tkz at ScaleVector[]}}
-\def\tkz at ScaleVector[#1](#2,#3)#4{%
-\begingroup
-\pgfkeys{/tkzscalev/.cd,ratio=-1}
-\pgfqkeys{/tkzscalev}{#1}
- \pgfpointdiff{\pgfpointanchor{#2}{center}}%
- {\pgfpointanchor{#3}{center}}%
- \pgf at xa=\pgf at x%
- \pgf at ya=\pgf at y%
- \path[coordinate](#2)--++(\pgf at xa *\tkz at ratio,\pgf at ya *\tkz at ratio)%
- coordinate (#4);%
-\endgroup
-}%
-%<--------------------------------------------------------------------------–>
-% Outils pour les vecteurs
-%<--------------------------------------------------------------------------–>
-% ce sont des outils élémentaires qui à partir de deux points en définissent
-% un troisième
-% #1 si c'est une option alors c'est un nombre réel
-% #2 et #3 sont deux points
-% #4 est le nom du point qui résulte de la transformation
-% exemple : \tkzVecKNorm (A,B){C} définit un point C tel que AC = 1 et C est % % un point de la droite (AC). #1 peut être négatif
-
-%<--------------------------------------------------------------------------–>
-% VectorNormalised ou K*VectorNormalised
-% A-->#2 B-->#3 N-->#4 v(AB) devient v(AN) tq ||v(AN)||=1 si #1=1
-% sinon ||v(AN)||=#1
-%<--------------------------------------------------------------------------–>
-\def\tkzVecKNorm{\pgfutil at ifnextchar[{\tkz at VecKNorm}{\tkz at VecKNorm[1]}}
-\def\tkz at VecKNorm[#1](#2,#3)#4{%
-\begingroup
- \tkzpointnormalised{%
- \pgfpointdiff{\pgfpointanchor{#2}{center}}
- {\pgfpointanchor{#3}{center}}}
- \pgf at xa=\pgf at x\relax%
- \pgf at ya=\pgf at y\relax%
- \pgfmathparse{#1}\edef\tkz at coeff{\pgfmathresult}
- \FPmul\tkz at coeff{28.45274}{\tkz at coeff}
- \FPmul\tkz at x{\tkz at coeff}{\pgf at sys@tonumber{\pgf at xa}}
- \FPmul\tkz at y{\tkz at coeff}{\pgf at sys@tonumber{\pgf at ya}}
- \path[coordinate](#2)--++(\tkz at x pt,\tkz at y pt)%
- coordinate (#4);%
-\endgroup
-}%
-%<--------------------------------------------------------------------------–>
-% v(AN)=#1 x v(AB)
-% #1 le coeff; #2--> A #3--> B #4-->N tq #4-#2 = #1*(#3-#2)
-%<--------------------------------------------------------------------------–>
-\def\tkzVecK{\pgfutil at ifnextchar[{\tkz at VecK}{\tkz at VecK[1]}}
-\def\tkz at VecK[#1](#2,#3)#4{%
-\begingroup
- \pgfpointdiff{\pgfpointanchor{#2}{center}}%
- {\pgfpointanchor{#3}{center}}%
- \pgf at xa=\pgf at x%
- \pgf at ya=\pgf at y%
- \pgfmathparse{#1}\edef\tkz at coeff{\pgfmathresult}
- \path[coordinate](#2)--++(\pgf at xa *\tkz at coeff,%
- \pgf at ya *\tkz at coeff)%
- coordinate (#4);%
-\endgroup
-}%
-%<--------------------------------------------------------------------------–>
-% tkzVector K Orth coeff dans #1
-% v(AN) perp v(AB) v(AB) v(AN) sens direct cercle trigo
-% ||v(AN)||=||v(AB)||
-%<--------------------------------------------------------------------------–>
-\def\tkzVecKOrth{\pgfutil at ifnextchar[{\tkz at VecKOrth}{\tkz at VecKOrth[1]}}
-\def\tkz at VecKOrth[#1](#2,#3)#4{%
-\begingroup
- \pgfpointdiff{\pgfpointanchor{#2}{center}}%
- {\pgfpointanchor{#3}{center}}%
- \pgf at xa=-\pgf at y%
- \pgf at ya=\pgf at x%
- \pgfmathparse{#1}\edef\tkz at coeff{\pgfmathresult}
- \path[coordinate](#2)--++(\tkz at coeff\pgf at xa,\tkz at coeff\pgf at ya)%
- coordinate (#4);%
-\endgroup
-}%
-%<--------------------------------------------------------------------------–>
-% tkzVecKOrthNorm coeff dans #1
-% v(AN) perp v(AB) v(AB) v(AN) sens direct cercle trigo
-% ||v(AN||=1 si #1 est vide ou =1 sinon ||v(AN||=K
-%<--------------------------------------------------------------------------–>
-\def\tkzVecKOrthNorm{\pgfutil at ifnextchar[{\tkz at VecKOrthNorm}%
- {\tkz at VecKOrthNorm[1]}}
-\def\tkz at VecKOrthNorm[#1](#2,#3)#4{%
-\begingroup
- \tkzpointnormalised{\pgfpointdiff{\pgfpointanchor{#2}{center}}%
- {\pgfpointanchor{#3}{center}}}
- \pgf at xa=-\pgf at y%
- \pgf at ya=\pgf at x%
- \FPmul\tkz at coeff{28.45274}{#1}
- \FPmul\tkz at x{\tkz at coeff}{\pgf at sys@tonumber{\pgf at xa}}
- \FPmul\tkz at y{\tkz at coeff}{\pgf at sys@tonumber{\pgf at ya}}
- \path[coordinate](#2)--++(\tkz at x pt,\tkz at y pt)%
- coordinate (#4);%
-\endgroup
-}%
-%<--------------------------------------------------------------------------–>
+\def\fileversion{3.01c}
+\def\filedate{2020/01/23}
+\typeout{2020/01/23 3.01c tkz-tools-math.tex}
+\makeatletter
+%<-------------------------------------------------------------------------->
% \tkzpointnormalised normalise un point A-->A' tq ||v(OA')=1||
-% équivalent de \pgfpointnormalised avec fp
+% équivalent de \pgfpointnormalised avec fp
% example
% \tkzpointnormalised{%
% \pgfpointdiff{\pgfpointanchor{A}{center}}
@@ -226,49 +18,43 @@
% or
% \pgf at x=1 cm
% \pgf at y=12 cm
-% \tkzpointnormalised{} %<--------------------------------------------------------------------------–>
+% \tkzpointnormalised{}
+%<--------------------------------------------------------------------------
\def\tkzpointnormalised#1{%
\pgf at process{#1}%
-\FPmul{\tkz at sx}{\pgf at sys@tonumber{\pgf at x}}{\pgf at sys@tonumber{\pgf at x}}
-\FPmul{\tkz at sy}{\pgf at sys@tonumber{\pgf at y}}{\pgf at sys@tonumber{\pgf at y}}
-\FPadd{\tkz at sxy}{\tkz at sx}{\tkz at sy}
-\FProot{\tkz at den}{\tkz at sxy}{2}
-\FPdiv{\tkz at coordx}{\pgf at sys@tonumber{\pgf at x}}{\tkz at den}
-\FPround{\tkz at coordx}{\tkz at coordx}{5}
-\FPdiv{\tkz at coordy}{\pgf at sys@tonumber{\pgf at y}}{\tkz at den}
-\FPround{\tkz at coordy}{\tkz at coordy}{5}
+\edef\tkz at den{\fpeval{sqrt((\pgf at x)^2+(\pgf at y)^2)}}
+\edef\tkz at coordx{\fpeval{\pgf at x/\tkz at den}}
+\edef\tkz at coordx{\fpeval{round(\tkz at coordx,5)}}
+\edef\tkz at coordy{\fpeval{\pgf at y/\tkz at den}}
+\edef\tkz at coordy{\fpeval{round(\tkz at coordy,5)}}
\pgf at x = \tkz at coordx pt
\pgf at y = \tkz at coordy pt
}
-%<--------------------------------------------------------------------------–>
+%<-------------------------------------------------------------------------->
% restaure and save length
\def\tkz at save@length{%
\global\let\tkz at temp@length\tkzLengthResult}%
\def\tkz at restore@length{%
\global\let\tkzLengthResult\tkz at temp@length }%
-%<--------------------------------------------------------------------------–>
-%<--------------------------------------------------------------------------–>
-% \tkzCalcLength Distance entre deux points en pt ou en cm avec FP
+%<-------------------------------------------------------------------------->
+% \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
-%<--------------------------------------------------------------------------–>
-
-\newif\iftkzLengthIncm
-\pgfkeys{
-DefVecLen/.cd,
+% option cm le résultat est en cm sinon en pt
+%<-------------------------------------------------------------------------->
+\pgfkeys{@CalcLength/.cd,
cm/.is if = tkzLengthIncm,
cm/.default = true}
\def\tkzCalcLength{\pgfutil at ifnextchar[{\tkz at CalcLength}{\tkz at CalcLength[]}}
\def\tkz at CalcLength[#1](#2,#3){%
-\pgfkeys{DefVecLen/.cd, cm = false}
-\pgfqkeys{/DefVecLen}{#1}%
+\pgfkeys{@CalcLength/.cd, cm = false}
+\pgfqkeys{/@CalcLength}{#1}%
\begingroup
\tkz@@CalcLength(#2,#3){tkzLengthResult}
-\iftkzLengthIncm
- \FPdiv\tkzFPMathLen{\tkzFPMathLen}{28.45274}
- \FPround\tkzFPMathLen\tkzFPMathLen5\relax%
- \global\let\tkzLengthResult\tkzFPMathLen
+\iftkzLengthIncm
+ \pgfmathparse{\tkz at xfpMathLen pt/1cm}
+ \edef\tkz at xfpMathLen{\fpeval{round(\pgfmathresult,5)}}
+ \global\let\tkzLengthResult\tkz at xfpMathLen
\fi
\endgroup
}%
@@ -275,414 +61,57 @@
\def\tkz@@CalcLength(#1,#2)#3{%
\pgfpointdiff{\pgfpointanchor{#1}{center}}%
{\pgfpointanchor{#2}{center}}%
-\pgf at xa=\pgf at x%
-\pgf at ya=\pgf at y%
-\FPeval\tkz at temp@a{\pgfmath at tonumber{\pgf at xa}}%
-\FPeval\tkz at temp@b{\pgfmath at tonumber{\pgf at ya}}%
-\FPeval\tkz at temp@sum{(\tkz at temp@a*\tkz at temp@a+\tkz at temp@b*\tkz at temp@b)}%
-\FProot{\tkzFPMathLen}{\tkz at temp@sum}{2}%
-\FPround\tkzFPMathLen\tkzFPMathLen5\relax
-\global\expandafter\edef\csname #3\endcsname{\tkzFPMathLen}
+\edef\tkz at xfpMathLen{\fpeval{sqrt((\pgf at x)^2+(\pgf at y)^2)}}
+\edef\tkz at xfpMathLen{\fpeval{round(\tkz at xfpMathLen,5)}}
+\global\expandafter\edef\csname #3\endcsname{\tkz at xfpMathLen}
}
-%<--------------------------------------------------------------------------–>
+%<-------------------------------------------------------------------------->
\def\tkzGetLength#1{%
\global\expandafter\edef\csname #1\endcsname{\tkzLengthResult}}
-%<--------------------------------------------------------------------------–>
-% \tkzpttocm passage de pt à cm div par 28.45274
-%<--------------------------------------------------------------------------–>
+%<-------------------------------------------------------------------------->
+% \tkzpttocm passage de pt cm div par 28.45274
+%<-------------------------------------------------------------------------->
\def\tkzpttocm(#1)#2{%
\begingroup
- \FPdiv\tkz at mathresult{#1}{28.45274}
- \FPround\tkz at mathresult\tkz at mathresult5\relax%
- \global\let\tkz at mathresult\tkz at mathresult
- \global\expandafter\edef\csname #2\endcsname{\tkz at mathresult}%
+ \pgfmathparse{#1/1cm}
+ \edef\tkz at mathresult{\fpeval{round(\pgfmathresult,5)}}
+ \global\let\tkz at mathresult\tkz at mathresult
+ \global\expandafter\edef\csname #2\endcsname{\tkz at mathresult}%
\endgroup
}%
-%<--------------------------------------------------------------------------–>
-% \tkzcmtopt passage de cm à pt mul par 28.45274 %<--------------------------------------------------------------------------–
+%<-------------------------------------------------------------------------->
+% \tkzcmtopt passage de cm pt mul par 28.45274
+%<--------------------------------------------------------------------------
\def\tkzcmtopt(#1)#2{%
\begingroup
- \FPmul\tkz at mathresult{#1}{28.45274}
- \FPround\tkz at mathresult\tkz at mathresult5\relax%
- \global\let\tkz at mathresult\tkz at mathresult
-\global\expandafter\edef\csname #2\endcsname{\tkz at mathresult}%
+ \pgfmathparse{#1/1pt}
+ \edef\tkz at mathresult{\fpeval{round(\pgfmathresult,5)}}
+ \global\let\tkz at mathresult\tkz at mathresult
+ \global\expandafter\edef\csname #2\endcsname{\tkz at mathresult}%
\endgroup
}%
-%<--------------------------------------------------------------------------–>
+%<-------------------------------------------------------------------------->
% Slope
-%<--------------------------------------------------------------------------–>
+%<-------------------------------------------------------------------------->
\def\tkzFindSlope{\tkz at FindSlope}
\def\tkz at FindSlope(#1,#2)#3{%
- \begingroup
- \tkzpointnormalised{\pgfpointdiff{\pgfpointanchor{#1}{center}}%
- {\pgfpointanchor{#2}{center}}}
- \tkz at ax=\pgf at x\relax%
- \tkz at ay=\pgf at y\relax%
- \FPdiv{\tkz at Slope}{\pgfmath at tonumber{\tkz at ay}}{\pgfmath at tonumber{\tkz at ax}}
- \FPround{\tkz at Slope}{\tkz at Slope}{5}
+\begingroup
+ \tkzpointnormalised{\pgfpointdiff{\pgfpointanchor{#1}{center}}%
+ {\pgfpointanchor{#2}{center}}}
+ \edef\tkz at Slope{\fpeval{\pgfmath at tonumber{\pgf at y}/\pgfmath at tonumber{\pgf at x}}}
+ \edef\tkz at Slope{\fpeval{round(\tkz at Slope,5)}}
\global\expandafter\edef\csname #3\endcsname{\tkz at Slope}%
\endgroup
}
-%<--------------------------------------------------------------------------–>
-%<----------------– for compatibility --------------------------------------–>
-%<--------------------------------------------------------------------------–>
-\def\tkzmathanglebetweenpoints#1#2{%
-\begingroup
- \pgf at process{\pgfpointdiff{#1}{#2}}%
- %
- % First approximate the angle of the external point...
- %
- \pgf at xa\pgf at x%
- \pgf at ya\pgf at y%
- \pgf at xb\pgf at x%
- \pgf at yb\pgf at y%
- \ifdim\pgf at xa<0pt\relax%
- \pgf at xa-\pgf at xa%
- \fi
- \ifdim\pgf at ya<0pt\relax%
- \pgf at ya-\pgf at ya%
- \fi
- \ifdim\pgf at ya>\pgf at xa%
- \pgf at x\pgf at xa%
- \pgf at y\pgf at ya%
- \else
- \pgf at x\pgf at ya%
- \pgf at y\pgf at xa%
- \fi
- \ifdim\pgf at y=0pt\relax%
- \pgf at x0pt%
- \else
- \FPdiv\pgfmathresult{1}{\pgfmath at tonumber{\pgf at y}}
- \FPround\pgfmathresult\pgfmathresult5\relax%
- \pgf at x\pgfmathresult\pgf at x%
- \fi
- \multiply\pgf at x1000\relax%
- \afterassignment\pgfmath at gobbletilpgfmath@%
- \expandafter\c at pgf@counta\the\pgf at x\relax\pgfmath@%
-\expandafter\pgf at x\csname pgfmath at atan@\the\c at pgf@counta\endcsname pt\relax%
- \ifdim\pgfmath at ya>\pgfmath at xa\relax%
- \pgf at x-\pgf at x%
- \advance\pgf at x90pt%
- \fi
- \ifdim\pgf at xb<0pt%
- \ifdim\pgf at yb>0pt%
- \pgf at x-\pgf at x%
- \fi
- \advance\pgf at x180pt\relax%
- \else
- \ifdim\pgf at yb<0pt%
- \pgf at x-\pgf at x%
- \advance\pgf at x360pt\relax%
- \fi
- \fi
- \ifdim\pgf at x>180pt%
- \advance\pgf at x-360pt\relax%
- \fi
- \pgfmath at returnone\pgf at x%
- \endgroup
-}
-
-% \tkzmathrotatepointaround
-%
-% Rotate point #1 about point #2 by #3 degrees.
-%
-\def\tkzmathrotatepointaround#1#2#3{%
- \pgf at process{%
- \pgf at process{#1}%
- \pgf at xc=\pgf at x%
- \pgf at yc=\pgf at y%
- \pgf at process{#2}%
- \pgf at xa\pgf at x%
- \pgf at ya\pgf at y%
- \pgf at xb\pgf at x%
- \pgf at yb\pgf at y%
- \pgf at x=\pgf at xc%
- \pgf at y=\pgf at yc%
- \advance\pgf at x-\pgf at xa%
- \advance\pgf at y-\pgf at ya%
- \pgfmathsetmacro\tkz at angle{#3}%
- \pgfmathsin@{\tkz at angle}%
- \let\sineangle\pgfmathresult%
- \pgfmathcos@{\tkz at angle}%
- \let\cosineangle\pgfmathresult%
- \pgf at xa\cosineangle\pgf at x%
- \advance\pgf at xa-\sineangle\pgf at y%
- \pgf at ya\sineangle\pgf at x%
- \advance\pgf at ya\cosineangle\pgf at y%
- \pgf at x\pgf at xb%
- \pgf at y\pgf at yb%
- \advance\pgf at x\pgf at xa%
- \advance\pgf at y\pgf at ya%
- }%
-}
-
-
-% \tkzmathanglebetweenlines
-%
-% Calculate the clockwise angle between a line from point #1
-% to point #2 and a line from #3 to point #4.
-%
-\def\tkzmathanglebetweenlines#1#2#3#4{%
- \begingroup
- \tkzmathanglebetweenpoints{#1}{#2}%
- \let\firstangle\pgfmathresult%
- \tkzmathanglebetweenpoints{#3}{#4}%
- \let\secondangle\pgfmathresult%
- \ifdim\firstangle pt>\secondangle pt\relax%
- \pgfmathadd@{\secondangle}{360}%
- \let\secondangle\pgfmathresult%
- \fi
- \pgfmathsubtract@{\secondangle}{\firstangle}%
- \pgfmath at smuggleone\pgfmathresult%
- \endgroup
-}
-% \pgfmathpointreflectalongaxis
-%
-% Reflects point #2 around an axis centered on #2 at an angle #3.
-%
-\def\tkzmathreflectpointalongaxis#1#2#3{%
- \pgf at process{%
- \pgfmathanglebetweenpoints{#2}{#1}%
- \pgfmath at tempdima\pgfmathresult pt\relax%
- \pgfmathparse{#3}%
- \advance\pgfmath at tempdima-\pgfmathresult pt\relax%
- \pgfmath at tempdima-2.0\pgfmath at tempdima%
- \pgfmathrotatepointaround{#1}{#2}{\pgfmath at tonumber{\pgfmath at tempdima}}%
- }%
-}
-
-
-% \pgfmathpointintersectionoflineandarc
-%
-% A bit experimental at the moment:
-%
-% Locates the point where a line crosses an eliptical arc. If the line
-% does not cross the arc, a meaningless point will result.
-%
-% #1 the point of the line on the "convex" side of the arc.
-% #2 the point of the line on the "concave" side of the arc.
-% #3 the center of the eliptical arc.
-% #4 start angle of the arc.
-% #5 end angle of the arc.
-% #6 radii of the arc.
-%
-\def\tkzmathpointintersectionoflineandarc#1#2#3#4#5#6{%
- \pgf at process{%
- %
- % Get the required angle.
- %
- \pgfmathanglebetweenpoints{#2}{#1}%
- \let\x\pgfmathresult%
- %
- % Get the radii of the arc.
- %
- \pgfmath at in@{and }{#6}%
- \ifpgfmath at in@%
- \pgf at polar@#6\@@%
- \else
- \pgf at polar@#6 and #6\@@%
- \fi
- \edef\xarcradius{\the\pgf at x}%
- \edef\yarcradius{\the\pgf at y}%
- %
- % Get the start and end angles of the arc...
- %
- \pgfmathsetmacro\s{#4}%
- \pgfmathsetmacro\e{#5}%
- %
- % ...and also with rounding.
- %
- \pgfmathmod@{\s}{360}%
- \ifdim\pgfmathresult pt<0pt\relax%
- \pgfmathadd@{\pgfmathresult}{360}%
- \fi
- \let\ss\pgfmathresult%
- \pgfmathmod@{\e}{360}%
- \ifdim\pgfmathresult pt<0pt\relax%
- \pgfmathadd@{\pgfmathresult}{360}%
- \fi
- \let\ee\pgfmathresult%
- %
- % Hackery for when arc straddles zero.
- %
- \ifdim\ee pt<\ss pt\relax%
- \pgfmathadd@{\x}{180}%
- \pgfmathmod@{\pgfmathresult}{360}%
- \let\x\pgfmathresult%
- \fi
- \def\m{360}% Measure of nearness.
- \pgfmathadd@{\s}{\e}%
- \pgfmathdivide@{\pgfmathresult}{2}%
- \let\n\pgfmathresult% The best estimate (default to middle of arc).
- \pgfmathloop%
- \pgfmathadd@{\s}{\e}%
- \pgfmathdivide@{\pgfmathresult}{2}%
- \let\p\pgfmathresult%
- \ifdim\p pt=\s pt\relax%
- \else
- \tkzmathanglebetweenpoints{#2}{%
- \pgfpointadd{#3}{%
- \pgf at x\xarcradius\relax%
- \pgfmathcos@{\p}%
- \pgf at x\pgfmathresult\pgf at x%
- \pgf at y\yarcradius\relax%
- \pgfmathsin@{\p}%
- \pgf at y\pgfmathresult\pgf at y%
- }%
- }%
- %
- % Hackery for when arc straddles zero.
- %
- \ifdim\ee pt<\ss pt\relax%
- \pgfmathadd@{\pgfmathresult}{180}%
- \pgfmathmod@{\pgfmathresult}{360}%
- \fi
- \let\q\pgfmathresult%
- %
- % More hackery...
- %
- \ifdim\x pt>335pt\relax%
- \ifdim\q pt<45pt\relax%
- \pgfmathadd@{\q}{360}%
- \let\q\pgfmathresult%
- \fi
- \fi
- \ifdim\x pt=\q pt% Found it!
- \pgfmathbreakloop% Breaks after current iteration is complete.
- \else
- \ifdim\x pt<\q pt\relax%
- \let\e\p%
- \else
- \let\s\p%
- \fi
- \fi
- \pgfmathsubtract@{\x}{\q}%
- \pgfmathabs@{\pgfmathresult}%
- %
- % Save the estimate if it is better than any previous estimate.
- %
- \ifdim\pgfmathresult pt<\m pt\relax%
- \let\m\pgfmathresult%
- \let\n\p%
- \fi
- \repeatpgfmathloop%
- \pgfpointadd{#3}{\pgfpointpolar{\n}{\xarcradius and \yarcradius}}%
- }%
-}
-
-% \tkzmathangleonellipse
-%
-% Find the angle corresponding to a point on the border of an ellispe.
-%
-% #1 - the point on the border.
-% #2 - the radii of the ellipse.
-%
-\def\tkzmathangleonellipse#1#2{%
- \begingroup
- \pgfmath at in@{and }{#2}%
- \ifpgfmath at in@%
- \pgf at polar@#2\@@%
- \else
- \pgf at polar@#2 and #2\@@%
- \fi
- \pgf at xa\pgf at x%
- \pgf at ya\pgf at y%
- \pgf at process{#1}%
- \ifdim\pgf at x=0pt\relax%
- \pgfutil at tempdima1pt\relax%
- \else
- \pgfutil at tempdima\pgf at x%
-%\pgfmathdivide@{\pgfmath at tonumber{\pgf at xa}}{\pgfmath at tonumber{\pgfutil at tempdima}}%
-\FPdiv\pgfmathresult{\pgfmath at tonumber{\pgf at xa}}{\pgfmath at tonumber{\pgfutil at tempdima}}
-\FPround\pgfmathresult\pgfmathresult5\relax%
- \pgfutil at tempdima\pgfmathresult pt\relax%
- \fi
- \ifdim\pgf at y=0pt\relax%
- \pgfutil at tempdima1pt\relax%
- \else
- % \pgfmathdivide@{\pgfmath at tonumber{\pgf at y}}{\pgfmath at tonumber{\pgf at ya}}%
- \FPdiv\pgfmathresult{\pgfmath at tonumber{\pgf at y}}{%
- \pgfmath at tonumber{\pgf at ya}}%
- \FPround\pgfmathresult\pgfmathresult5\relax%
- \pgfutil at tempdima\pgfmathresult\pgfutil at tempdima%
- \pgfmathatan@{\pgfmath at tonumber{\pgfutil at tempdima}}%
- \fi
- %
- \pgfutil at tempdima\pgfmathresult pt\relax%
- \ifdim\pgfutil at tempdima<0pt\relax%
- \advance\pgfutil at tempdima360pt\relax%
- \fi
- \ifdim\pgf at x<0pt\relax%
- \ifdim\pgf at y=0pt\relax%
- \pgfutil at tempdima180pt\relax%
- \else
- \ifdim\pgf at y<0pt\relax%
- \advance\pgfutil at tempdima180pt\relax%
- \else
- \advance\pgfutil at tempdima-180pt\relax%
- \fi
- \fi
- \else
- \ifdim\pgf at x=0pt\relax%
- \ifdim\pgf at y<0pt\relax%
- \pgfutil at tempdima270pt\relax%
- \else
- \pgfutil at tempdima90pt\relax%
- \fi
- \else
- \ifdim\pgf at y=0pt\relax%
- \pgfutil at tempdima0pt\relax%
- \fi
- \fi
- \fi
- \pgfmath at returnone\pgfutil at tempdima%
- \endgroup
-}
-
-\def\tkzpointborderellipse#1#2{%
- \pgf at process{#2}%
- \pgf at xa=\pgf at x%
- \pgf at ya=\pgf at y%
- \ifdim\pgf at xa=\pgf at ya% circle. that's easy!
- \pgf at process{\pgfpointnormalised{#1}}%
- \pgf at x=\pgf at sys@tonumber{\pgf at xa}\pgf at x%
- \pgf at y=\pgf at sys@tonumber{\pgf at xa}\pgf at y%
- \else
- \ifdim\pgf at xa<\pgf at ya%
- % Ok, first, let's compute x/y:
- \c at pgf@countb=\pgf at ya%
- \divide\c at pgf@countb by65536\relax%
- \divide\pgf at x by\c at pgf@countb%
- \divide\pgf at y by\c at pgf@countb%
- \pgf at xc=\pgf at x%
- \pgf at yc=8192pt%
- \pgf at y=.125\pgf at y%
- \c at pgf@countb=\pgf at y%
- \divide\pgf at yc by\c at pgf@countb%
- \pgf at process{#1}%
- \pgf at y=\pgf at sys@tonumber{\pgf at yc}\pgf at y%
- \pgf at y=\pgf at sys@tonumber{\pgf at xc}\pgf at y%
- \pgf at process{\pgfpointnormalised{}}%
- \pgf at x=\pgf at sys@tonumber{\pgf at xa}\pgf at x%
- \pgf at y=\pgf at sys@tonumber{\pgf at ya}\pgf at y%
- \else
- % Ok, now let's compute y/x:
- \c at pgf@countb=\pgf at xa%
- \divide\c at pgf@countb by65536\relax%
- \divide\pgf at x by\c at pgf@countb%
- \divide\pgf at y by\c at pgf@countb%
- \pgf at yc=\pgf at y%
- \pgf at xc=8192pt%
- \pgf at x=.125\pgf at x%
- \c at pgf@countb=\pgf at x%
- \divide\pgf at xc by\c at pgf@countb%
- \pgf at process{#1}%
- \pgf at x=\pgf at sys@tonumber{\pgf at yc}\pgf at x%
- \pgf at x=\pgf at sys@tonumber{\pgf at xc}\pgf at x%
- \pgf at process{\pgfpointnormalised{}}%
- \pgf at x=\pgf at sys@tonumber{\pgf at xa}\pgf at x%
- \pgf at y=\pgf at sys@tonumber{\pgf at ya}\pgf at y%
- \fi
- \fi
-}
+% Schrodinger's cat idea 03/01/20
+\tikzset{xfp/.code={%
+\pgfmathdeclarefunction*{veclen}{2}{%
+\begingroup%
+ \pgfmath at x##1pt\relax%
+ \pgfmath at y##2pt\relax%
+ \edef\tkz at xfpMathLen{\fpeval{sqrt((\pgf at x)^2+(\pgf at y)^2)}}
+ \pgfmath at returnone\tkz at xfpMathLen pt%
+\endgroup%
+}}}
+ \makeatother
\endinput
\ No newline at end of file
Modified: trunk/Master/texmf-dist/tex/latex/tkz-base/tkz-tools-misc.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tkz-base/tkz-tools-misc.tex 2020-01-24 10:00:38 UTC (rev 53529)
+++ trunk/Master/texmf-dist/tex/latex/tkz-base/tkz-tools-misc.tex 2020-01-24 21:42:09 UTC (rev 53530)
@@ -1,109 +1,20 @@
+% tkz-tools-misc.tex
% Copyright 2011 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{1.16 d}
-\def\filedate{2018/09/19}
-
-
+\def\fileversion{3.01c}
+\def\filedate{2020/01/23}
+\typeout{2020/01/23 3.01c tkz-tools-misc.tex}
+\makeatletter
%<--------------------------------------------------------------------------–>
-% tkzText
-%<--------------------------------------------------------------------------–>
-\newif\iftkz at node\tkz at nodefalse
-
-\def\tkz at parsenode#1{%
-\tkz at getvirg#1,\@nil
-\iftkz at node
-\else
- \tkz at getfromcart#1\@nil
-\fi
-}
-\def\tkz at getvirg#1,#2\@nil{%
-\ifx\tkzempty#2\tkzempty%
- \tkz at nodetrue
-\else
- \tkz at nodefalse
-\fi
-}
-
-
-\def\tkzText{\pgfutil at ifnextchar[{\tkz at Text}{\tkz at Text[]}}
-\def\tkz at Text[#1](#2)#3{%
- \begingroup
- \tkz at parsenode{#2}
- \iftkz at node \node[#1] at (#2){#3};
- \else
- \FPadd{\ptxa}{\tkz at absc}{-\tkz at init@xorigine}
- \FPadd{\ptya}{\tkz at ord}{-\tkz at init@yorigine}
- \FPdiv{\ptxa}{\ptxa}{\tkz at init@xstep}
- \FPdiv{\ptya}{\ptya}{\tkz at init@ystep}
- \node[#1] at (\ptxa,\ptya){#3};%
- \fi
-\endgroup
-}%
-% %<--------------------------------------------------------------------------–>
-% % légende
-% %<--------------------------------------------------------------------------–>
-\newif\iftkz at legend@line
-\pgfkeys{
-/tkzlegend/.cd,
-line/.is if = tkz at legend@line,
-line/.default = true,
-/tkzlegend/.unknown/.code = {\let\searchname=\pgfkeyscurrentname
- \pgfkeysalso{\searchname/.try=#1,
- /tikz/\searchname/.retry=#1}}
-}
-
-\def\tkzLegend{\pgfutil at ifnextchar[{\tkz at Legend}{\tkz at Legend[]}}
-\def\tkz at Legend[#1](#2,#3)#4{%
-\pgfkeys{/tkzlegend/.cd,
-line=false}
- \pgfqkeys{/tkzlegend}{#1}
- \begingroup
-\c at pgfmath@counta=0 %
-\FPadd{\ptxa}{#2}{-\tkz at init@xorigine}
-\FPadd{\ptya}{#3}{-\tkz at init@yorigine}
-\FPdiv{\ptxa}{\ptxa}{\tkz at init@xstep}
-\FPdiv{\ptya}{\ptya}{\tkz at init@ystep}
-\node[/tkzlegend/.cd,#1] at (\ptxa,\ptya) {%
-\begin{tikzpicture}
- \foreach \motif/\size/\col/\mtext in {#4}{%
- \iftkz at legend@line
- \draw[color = \col,
- line width = \size,
- style = \motif,
- text = \tkz at mainlinecolor]%
- (0cm ,\the\c at pgfmath@counta ex)--%
- (\tkz at legend@line at len,\the\c at pgfmath@counta ex)
- \else
- \draw plot[mark size = \size,%
- mark = \motif,%
- mark options = {color=\col}]%
- coordinates{(0 ex,\the\c at pgfmath@counta ex)}%
- \fi
- node[right=1ex] {\mtext};
- \global\advance\c at pgfmath@counta by 3 %
- }%
-
-\end{tikzpicture}%
-};%
-\endgroup
-}
-
-%<--------------------------------------------------------------------------–>
% hline pb avec line
%<--------------------------------------------------------------------------–>
\def\tkzHLine{\pgfutil at ifnextchar[{\tkz at HLine}{\tkz at HLine[]}}
\def\tkz at HLine[#1]#2{%
- \begingroup
- \FPeval{\tkz at valy}{(#2)}%
- \FPadd{\tkz at ptya}{\tkz at valy}{-\tkz at init@yorigine}
- \FPdiv{\tkz at ptya}{\tkz at ptya}{\tkz at init@ystep}
- \draw[#1] (\tkz at xa,\tkz at ptya)--(\tkz at xb,\tkz at ptya);%
+\begingroup
+ \edef\tkz at ptya{\fpeval{(#2-\tkz at init@yorigine)/\tkz at init@ystep}}
+ \draw[#1] (\tkz at xa,\tkz at ptya)--(\tkz at xb,\tkz at ptya);%
\endgroup
}
%<--------------------------------------------------------------------------–>
@@ -113,8 +24,8 @@
\def\tkz at HLines[#1]#2{%
\begingroup
\foreach \tkz at vy in {#2}{%
- \FPeval\my at tkz@vy{\tkz at vy}
- \tkz at HLine[#1]{\my at tkz@vy}}
+ \edef\my at tkz@vy{\fpeval{(\tkz at vy)}}
+ \tkz at HLine[#1]{\my at tkz@vy}}
\endgroup
}
%<--------------------------------------------------------------------------->
@@ -123,13 +34,10 @@
\def\tkzVLine{\pgfutil at ifnextchar[{\tkz at VLine}{\tkz at VLine[]}}
\def\tkz at VLine[#1]#2{%
\begingroup
- \FPeval\tkz at valx{(#2)}%
- \FPadd{\tkz at ptxa}{\tkz at valx}{-\tkz at init@xorigine}
- \FPdiv{\tkz at ptxa}{\tkz at ptxa}{\tkz at init@xstep}
+ \edef\tkz at ptxa{\fpeval{(#2-\tkz at init@xorigine)/\tkz at init@xstep}}
\draw[#1](\tkz at ptxa,\tkz at ya)--(\tkz at ptxa,\tkz at yb);
\endgroup
}
-
%<--------------------------------------------------------------------------->
% vlines
%<--------------------------------------------------------------------------->
@@ -136,8 +44,8 @@
\def\tkzVLines{\pgfutil at ifnextchar[{\tkz at VLines}{\tkz at VLines[]}}
\def\tkz at VLines[#1]#2{%
\begingroup
- \foreach \tkz at vx in {#2}{%
- \FPeval\my at tkz@vx{\tkz at vx}
+ \foreach \tkz at vx in {#2}{%
+ \edef\my at tkz@vx{\fpeval{(\tkz at vx)}}
\tkz at VLine[#1]{\my at tkz@vx}}
\endgroup
}
@@ -145,18 +53,14 @@
\def\tkzHTick{\pgfutil at ifnextchar[{\tkz at HTick}{\tkz at HTick[]}}
\def\tkz at HTick[#1]#2{%
\begingroup
- \FPeval\tkz at ptxa{(#2)}%
- \FPround\tkz at ptxa\tkz at ptxa{5}
- \FPclip\tkz at ptxa\tkz at ptxa
- \FPadd\tkz at ptxa\tkz at ptxa{-\tkz at init@xorigine}
- \FPdiv\tkz at ptxa\tkz at ptxa{\tkz at init@xstep}
- \draw plot[mark style,#1] coordinates {(\tkz at ptxa,0)};
+ \edef\tkz at ptxa{\fpeval{(round(#2,5)-\tkz at init@xorigine)/\tkz at init@xstep}}
+ \draw plot[mark style,#1] coordinates {(\tkz at ptxa,0)};
\endgroup
}
\def\tkzHTicks{\pgfutil at ifnextchar[{\tkz at HTicks}{\tkz at HTicks[]}}
\def\tkz at HTicks[#1]#2{%
\begingroup
-\foreach \tkz at hy in {#2} {\tkz at HTick[#1]{\tkz at hy}}
+ \foreach \tkz at hy in {#2} {\tkz at HTick[#1]{\tkz at hy}}
\endgroup
}
%<--------------------------------------------------------------------------–>
@@ -163,12 +67,8 @@
\def\tkzVTick{\pgfutil at ifnextchar[{\tkz at VTick}{\tkz at VTick[]}}
\def\tkz at VTick[#1]#2{%
\begingroup
- \FPeval\tkz at ptya{(#2)}%
- \FPround\tkz at ptya\tkz at ptya{5}%
- \FPclip\tkz at ptya\tkz at ptya
- \FPadd\tkz at ptya\tkz at ptya{-\tkz at init@yorigine}%
- \FPdiv\tkz at ptya\tkz at ptya{\tkz at init@ystep}%
- \draw plot[mark style,#1] coordinates {(0,\tkz at ptya)};
+ \edef\tkz at ptya{\fpeval{(round(#2,5)-\tkz at init@yorigine)/\tkz at init@ystep}}
+ \draw plot[mark style,#1] coordinates {(0,\tkz at ptya)};
\endgroup
}
%<--------------------------------------------------------------------------–>
@@ -175,7 +75,8 @@
\def\tkzVTicks{\pgfutil at ifnextchar[{\tkz at VTicks}{\tkz at VTicks[]}}
\def\tkz at VTicks[#1]#2{%
\begingroup
-\foreach \tkz at hy in {#2} {\tkz at VTick[#1]{\tkz at hy}}
+ \foreach \tkz at hy in {#2} {\tkz at VTick[#1]{\tkz at hy}}
\endgroup
}
+\makeatother
\endinput
\ No newline at end of file
Added: trunk/Master/texmf-dist/tex/latex/tkz-base/tkz-tools-modules.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tkz-base/tkz-tools-modules.tex (rev 0)
+++ trunk/Master/texmf-dist/tex/latex/tkz-base/tkz-tools-modules.tex 2020-01-24 21:42:09 UTC (rev 53530)
@@ -0,0 +1,60 @@
+% tkz-tools-modules
+% Copyright 2011 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-tools-utilities.tex}
+\makeatletter
+%<------------- % chargement des modules ---------------------------------->
+\def\tkz at obj@all{angles,arcs,compass,defcircles,deflines,defpoints,defpointsby,defpointsrnd,defpointswith,polygons,protractor,sectors,show,triangles}%
+\def\tkz at obj@txt{all}
+\def\usetkzobj{\pgfutil at ifnextchar[{\use at usetkzobj}{\use@@usetkzobj}}%}
+\def\use at usetkzobj[#1]{\use@@usetkzobj{#1}}
+\def\use@@usetkzobj#1{%
+ \def\tkz at list{#1}
+ \ifx\tkz at obj@txt\tkz at list \edef\tkz at list{\tkz at obj@all}%
+ \else
+ \edef\tkz at list{#1}%
+ \fi
+ \pgfutil at for\tkz at temp:=\tkz at list\do{%
+ \expandafter\ifx\csname tkz at library@\tkz at temp @loaded\endcsname\relax%
+ \expandafter\global\expandafter\let\csname tkz at library@\tkz at temp @loaded\endcsname=\pgfutil at empty%
+ \expandafter\edef\csname tkz at obj@#1 at atcode\endcsname{\the\catcode`\@}
+ \expandafter\edef\csname tkz at obj@#1 at barcode\endcsname{\the\catcode`\|}
+ \catcode`\@=11
+ \catcode`\|=12
+ \input tkz-obj-\tkz at temp.tex
+ \catcode`\@=\csname tkz at obj@#1 at atcode\endcsname
+ \catcode`\|=\csname tkz at obj@#1 at barcode\endcsname
+ \fi%
+ }%
+}%
+%<---------------------------------------------------------–>
+\def\tkz at tool@all{math-xfp}
+\def\tkz at tool@txt{all}
+
+\def\usetkztool{\pgfutil at ifnextchar[{\use at usetkztool}{\use@@usetkztool}}%}
+\def\use at usetkztool[#1]{\use@@usetkztool{#1}}
+\def\use@@usetkztool#1{%
+ \def\tkz at list{#1}
+ \ifx\tkz at tool@txt\tkz at list \edef\tkz at list{\tkz at tool@all}%
+ \else
+ \edef\tkz at list{#1}%
+ \fi
+ \pgfutil at for\tkz at temp:=\tkz at list\do{%
+ \expandafter\ifx\csname tkz at library@\tkz at temp @loaded\endcsname\relax%
+ \expandafter\global\expandafter\let\csname tkz at library@\tkz at temp @loaded\endcsname=\pgfutil at empty%
+ \expandafter\edef\csname tkz at tool@#1 at atcode\endcsname{\the\catcode`\@}
+ \expandafter\edef\csname tkz at tool@#1 at barcode\endcsname{\the\catcode`\|}
+ \catcode`\@=11
+ \catcode`\|=12
+ \input tkz-tools-\tkz at temp.tex
+ \catcode`\@=\csname tkz at tool@#1 at atcode\endcsname
+ \catcode`\|=\csname tkz at tool@#1 at barcode\endcsname
+ \fi%
+ }%
+}%
+\makeatother
+\endinput
\ No newline at end of file
Property changes on: trunk/Master/texmf-dist/tex/latex/tkz-base/tkz-tools-modules.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Deleted: trunk/Master/texmf-dist/tex/latex/tkz-base/tkz-tools-obsolete.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tkz-base/tkz-tools-obsolete.tex 2020-01-24 10:00:38 UTC (rev 53529)
+++ trunk/Master/texmf-dist/tex/latex/tkz-base/tkz-tools-obsolete.tex 2020-01-24 21:42:09 UTC (rev 53530)
@@ -1,219 +0,0 @@
-\makeatletter
-\global\edef\tkz at sua@lw{0.4pt}
-\global\edef\tkz at sua@color{black}
-\global\edef\tkz at sua@gradsize{\textstyle}
-\global\edef\tkz at sua@tickwd{0.8 pt}
-\global\edef\tkz at sua@ticka{2 pt}
-\global\edef\tkz at sua@tickb{2 pt}
-
-
-
-\def\tkzX{\pgfutil at ifnextchar[{\tkz at X}{\tkz at X[]}}
-\def\tkz at X[#1]{%
-\begingroup
- \pgfkeys{/tkzX/.cd,
- trig = 0,
- lw = \tkz at sua@lw,
- gradsize = \tkz at sua@gradsize,
- color = \tkz at sua@color,
- tickwd = \tkz at sua@tickwd,
- tickup = \tkz at sua@ticka,
- tickdn = \tkz at sua@tickb,
- pos = {below = 3pt},
- label = $x$,
- poslabel = {below = 3pt},
- noticks = false,
- nograd = false,
-% unit = false,
- orig = false,
- step = \tkz at init@xstep
- }
- \pgfqkeys{/tkzX}{#1}
- \FPtrunc\posmax{\tkz at xb}{\tkz at init@xdec}%
- \FPtrunc\posmin{\tkz at xa}{\tkz at init@xdec}%
- \FPdiv\tkz at posnext{\tkz at posnext}{\tkz at init@xstep}
- \FPadd\posnext{\posmin}{\tkz at posnext}
- \FPadd\tkz at xbsup{\tkz at xb}{\tkz at init@rightspace}
- \path (\tkz at xa,0)--(\tkz at xb,0) node(tkz at xline){};%
- \protected at edef\tkz at temp{%
- \noexpand%
- \draw[xaxe style,line width = \tkz at X@lw,%
- color = \tkz at X@color]%
- (\tkz at xa,0)--(\tkz at xbsup,0)%
- node[xlabel style,\tkz at X@poslabel]}\tkz at temp%
- {\tkz at X@label};%
- \FPtrunc\xtkzero{0.0000000}{\tkz at init@xdec}%
- \iftkz at X@noticks%
- \else
-\ifnum\tkz at X@trig=0%
- \FPtrunc\posmax{\posmax}{\tkz at init@xdec}%
- \foreach \pos in {\posmin,\posnext,...,\posmax}{%
- \FPtrunc\tkz at pos{\pos}{\tkz at init@xdec}%
- \protected at edef\tkz at temp{%
- \noexpand%
- \draw[line width = \tkz at X@tickwd,shift = {(\pos,0)}]%
- (0pt,\tkz at X@tickup)--(0pt,-\tkz at X@tickdn)%
- node[\tkz at X@pos,inner sep = 0pt]}\tkz at temp
- {\FPmul{\xgrad}{\pos}{\tkz at init@xstep}%
- \FPadd{\xgrad}{\xgrad}{\tkz at init@xorigine}%
- \FPtrunc\xgrad{\xgrad}{\tkz at init@xdec}%
- \iftkz at X@orig%
- \iftkz at X@nograd
- \else\tkz at showgrad{\xgrad}%
- $\textcolor{\tkz at sur@colorlabel}{%
- \tkz at X@gradsize{\numprint{\tkz at result}}}$%
- \fi
- \else % orig
- \iftkz at init@NO%
- \ifx\tkz at pos\posmin
- \else
- \tkz at showgrad{\xgrad}%
- $\textcolor{\tkz at sur@colorlabel}{%
- \tkz at X@gradsize{\numprint{\tkz at result}}}$
- \fi
- \else % NO
- \ifx\tkz at pos\xtkzero%
- % \iftkz at X@unit\tkz at showgrad{\xgrad}%
- % $\textcolor{\tkz at sur@colorlabel}{%
- % \tkz at X@gradsize{\numprint{\tkz at result}}}$
- % \fi
- \else
- \iftkz at X@nograd%
- \else\tkz at showgrad{\xgrad}%
- $\textcolor{\tkz at sur@colorlabel}{%
- \tkz at X@gradsize{\numprint{\tkz at result}}}$
- \fi
- \fi%end of xtkzero
- \fi%end of NO
- \fi%end of orig
-};% end of draw
-}% end foreach
- \else %trig affichage
- \FPadd{\posmin}{\posmin}{0.5}%
- \FPdiv\nbtrigticksmax{\posmax}{\FPpi}%
- \FPdiv\nbtrigticksmin{\posmin}{\FPpi}%
- \FPmul\nbtrigticksmax{\nbtrigticksmax}{\tkz at X@trig}%
- \FPmul\nbtrigticksmin{\nbtrigticksmin}{\tkz at X@trig}%
- \FPround\nbtrigticksmin{\nbtrigticksmin}{0}%
- \foreach \pos in {\nbtrigticksmin,...,\nbtrigticksmax}{%
- \FPmul\pospi{\pos}{\FPpi}
- \FPdiv\pospi{\pospi}{\tkz at X@trig}%
- \protected at edef\tkz at temp{%
- \noexpand\draw[line width = \tkz at X@tickwd,%
- shift = {(\pospi,0)}]%
- (0pt,\tkz at X@tickup)--(0pt,-\tkz at X@tickup)%
- node[\tkz at X@pos,%
- text height = 8pt,%
- inner sep = 1pt]}\tkz at temp%
- {\tkzPrintFracWithPi{\pos}{\tkz at X@trig}%
- \tkzprintfrac};%
- }% end foreach
- \fi
-\fi% end ticks
-\endgroup
- }% todo macro pour l'affichage
-
-%<--------------------------------------------------------------------------–>
-% tkzY
-%<--------------------------------------------------------------------------–>
-
-\pgfkeys{
- tkzY/.cd,
- pos/.code = {\def\tkz at Y@pos{#1}},
- trig/.code = {\def\tkz at Y@trig{#1}},
- lw/.code = {\def\tkz at Y@lw{#1}},
- color/.code = {\def\tkz at Y@color{#1}},
- label/.code = {\def\tkz at Y@label{#1}},
- poslabel/.code = {\def\tkz at Y@poslabel{#1}},
- tickwd/.code = {\def\tkz at Y@tickwd{#1}},
- ticklt/.code = {\def\tkz at Y@ticklt{#1}},
- tickrt/.code = {\def\tkz at Y@tickrt{#1}},
- gradsize/.code = {\def\tkz at Y@gradsize{#1}},
- step/.code = {\def\tkz at posnext{#1}},
- noticks/.is if = tkz at Y@noticks,
- noticks/.default = true,
- nograd/.is if = tkz at Y@nograd,
- nograd/.default = true,
- orig/.is if = tkz at Y@orig,
- orig/.default = true,
- unit/.is if = tkz at Y@unit,
- unit/.default = true }
-\def\tkzY{\pgfutil at ifnextchar[{\tkz at Y}{\tkz at Y[]}}
-\def\tkz at Y[#1]{%
- \pgfkeys{/tkzY/.cd,
- trig = 0,
- lw = \tkz at sua@lw,
- gradsize = \tkz at sua@gradsize,
- color = \tkz at sua@color,
- tickwd = \tkz at sua@tickwd,
- tickrt = \tkz at sua@ticka,
- ticklt = \tkz at sua@tickb,
- label = $y$,
- poslabel = {left = 3pt},
- pos = {left = 3pt},
- noticks = false,
- nograd = false,
- unit = false,
- orig = false,
- step = \tkz at init@ystep
- }
- \pgfqkeys{/tkzY}{#1}
- \FPtrunc\posmax{\tkz at yb}{\tkz at init@ydec}%
- \FPtrunc\posmin{\tkz at ya}{\tkz at init@ydec}%
- \FPdiv\tkz at posnext{\tkz at posnext}{\tkz at init@ystep}
- \FPadd\posnext{\posmin}{\tkz at posnext}
- \path (0,\tkz at ya)--(0,\tkz at yb) node(tkz at yline){};%
- \FPadd\tkz at ybsup{\tkz at yb}{\tkz at init@upspace}
- \protected at edef\tkz at temp{%
- \noexpand%
- \draw[line width = \tkz at Y@lw,%
- color = \tkz at Y@color,yaxe style]%
- (0,\tkz at ya)--(0,\tkz at ybsup)%
- node[\tkz at Y@poslabel,ylabel style]}\tkz at temp%
- {\tkz at Y@label};%
- \FPtrunc\ytkzero{0.000000}{\tkz at init@ydec}%
- \iftkz at Y@noticks%
- \else
- \foreach \pos in {\posmin,\posnext,...,\posmax}{%
- \FPtrunc\tkz at pos{\pos}{\tkz at init@ydec}%
- \protected at edef\tkz at temp{%
- \noexpand%
- \draw[line width = \tkz at Y@tickwd,%
- shift = {(0,\pos)}]%
- (\tkz at Y@tickrt,0pt)--(-\tkz at Y@ticklt,0pt)%
- node[\tkz at Y@pos,inner sep = 0pt]}\tkz at temp%
- {\FPmul{\ygrad}{\pos}{\tkz at init@ystep}%
- \FPadd{\ygrad}{\ygrad}{\tkz at init@yorigine}
- \FPtrunc\ygrad{\ygrad}{\tkz at init@ydec}%
- \iftkz at Y@orig%
- \iftkz at Y@nograd\else\tkz at showgrad{\ygrad}%
- $\textcolor{\tkz at sur@colorlabel}{\tkz at Y@gradsize{\numprint{\tkz at result}}}$\fi
- \else
- \iftkz at init@NO%
- \ifx\tkz at pos \posmin\else
- \tkz at showgrad{\ygrad}%
- $\textcolor{\tkz at sur@colorlabel}{\tkz at Y@gradsize{\numprint{\tkz at result}}}$\fi
- \else
- \ifx\tkz at pos \ytkzero
- \iftkz at Y@unit\tkz at showgrad{\ygrad}%
- $\textcolor{\tkz at sur@colorlabel}{\tkz at Y@gradsize{\numprint{\tkz at result}}}$\fi\else
- \iftkz at Y@nograd%
- \else \tkz at showgrad{\ygrad}%
- $\textcolor{\tkz at sur@colorlabel}{\tkz at Y@gradsize{\numprint{\tkz at result}}}$\fi\fi
- \fi
- \fi
- };%
- }%
-\fi
-\iftkz at init@NO\else\iftkz at Y@unit%
- \draw[line width = 1pt,%
- inner sep = 1pt] (0,0) -- (0,1)%
- node[left=3pt]%
- {$\tkz at Y@gradsize{\numprint{\tkz at init@ystep}}$};%
- \draw[line width = \tkz at Y@tickwd,%
- shift = {(0,1)}]%
- (\tkz at Y@tickrt,0pt)--(-\tkz at Y@ticklt,0pt);%
- \fi\fi
-}%
-\makeatother
-\endinput
\ No newline at end of file
Added: trunk/Master/texmf-dist/tex/latex/tkz-base/tkz-tools-print.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tkz-base/tkz-tools-print.tex (rev 0)
+++ trunk/Master/texmf-dist/tex/latex/tkz-base/tkz-tools-print.tex 2020-01-24 21:42:09 UTC (rev 53530)
@@ -0,0 +1,79 @@
+% tkz-tool-print.tex
+% Copyright 2011 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-tools-print.tex}
+\makeatletter
+%<------------- tkzPrintFrac ---------------------------------->
+\def\tkzPrintFrac#1#2{%
+\begingroup
+\tkzReducFrac{#1}{#2}
+\xdef\tkzprintfrac{$ \frac{\tkzMathFirstResult}{\tkzMathSecondResult}$}%
+ \ifnum\tkzMathFirstResult=0%
+ \xdef\tkzprintfrac{$0$}%
+ \else
+ \ifnum\tkzMathSecondResult=1 %
+ \ifnum\tkzMathFirstResult=1 %
+ \xdef\tkzprintfrac{$1$}%
+ \else
+ \ifnum\tkzMathFirstResult=-1%
+ \xdef\tkzprintfrac{$-1$}%
+ \else
+ \xdef\tkzprintfrac{$\tkzMathFirstResult$}%
+ \fi\fi
+ \else
+ \ifnum\tkzMathFirstResult=1 %
+ \xdef\tkzprintfrac{$\tkzmathstyle\frac{1}{\tkzMathSecondResult}$}%
+ \else
+ \ifnum\tkzMathFirstResult=-1 %
+ \xdef\tkzprintfrac{$\tkzmathstyle\frac{-1}{\tkzMathSecondResult}$}%
+ \else
+ \xdef\tkzprintfrac{$\tkzmathstyle\frac{\tkzMathFirstResult}{%
+ \tkzMathSecondResult}$}%
+ \fi\fi\fi\fi
+\endgroup}
+%<------------- tkzPrintFracWithPi ---------------------------------->
+\def\tkzPrintFracWithPi#1#2{%
+\begingroup
+\tkzReducFrac{#1}{#2}
+\xdef\tkzprintfrac{%
+ $\tkzmathstyle\frac{\tkzMathFirstResult\pi}{\tkzMathSecondResult}$}%
+\ifnum\tkzMathFirstResult=0%
+ \xdef\tkzprintfrac{$0$}%
+\else
+ \ifnum\tkzMathSecondResult=1 %
+ \ifnum\tkzMathFirstResult=1 %
+ \xdef\tkzprintfrac{$\pi$}%
+ \else
+ \ifnum\tkzMathFirstResult=-1%
+ \xdef\tkzprintfrac{$-\pi$}%
+ \else
+ \xdef\tkzprintfrac{$\tkzMathFirstResult\pi$}%
+ \fi
+ \fi
+ \else
+ \ifnum\tkzMathFirstResult=1 %
+ \xdef\tkzprintfrac{%
+ $\tkzmathstyle\frac{\pi}{\tkzMathSecondResult}$
+ }%
+ \else
+ \ifnum\tkzMathFirstResult=-1 %
+ \xdef\tkzprintfrac{$\tkzmathstyle\frac{-\pi}{%
+ \tkzMathSecondResult}$}%
+ \else
+ \xdef\tkzprintfrac{$\tkzmathstyle\frac{%
+ \tkzMathFirstResult\pi}{%
+ \tkzMathSecondResult}$
+ }%
+ \fi
+ \fi
+ \fi
+\fi
+\endgroup
+}%
+
+\makeatother
+\endinput
Property changes on: trunk/Master/texmf-dist/tex/latex/tkz-base/tkz-tools-print.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/tex/latex/tkz-base/tkz-tools-text.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tkz-base/tkz-tools-text.tex (rev 0)
+++ trunk/Master/texmf-dist/tex/latex/tkz-base/tkz-tools-text.tex 2020-01-24 21:42:09 UTC (rev 53530)
@@ -0,0 +1,82 @@
+% tkz-tools-text.tex
+% Copyright 2011 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-tools-text.tex}
+\makeatletter
+%<--------------------------------------------------------------------------–>
+% tkzText
+%<--------------------------------------------------------------------------–>
+\def\tkz at parsenode#1{%
+\tkz at getvirg#1,\@nil
+\iftkz at node
+\else
+ \tkz at getfromcart#1\@nil
+\fi
+}
+\def\tkz at getvirg#1,#2\@nil{%
+\ifx\tkzempty#2\tkzempty%
+ \tkz at nodetrue
+\else
+ \tkz at nodefalse
+\fi
+}
+\def\tkzText{\pgfutil at ifnextchar[{\tkz at Text}{\tkz at Text[]}}
+\def\tkz at Text[#1](#2)#3{%
+ \begingroup
+ \tkz at parsenode{#2}
+ \iftkz at node
+ \node[#1] at (#2){#3};
+ \else
+ \edef\tkzpt at xa{\fpeval{(\tkz at absc-\tkz at init@xorigine)/\tkz at init@xstep}}
+ \edef\tkzpt at ya{\fpeval{(\tkz at ord-\tkz at init@yorigine)/\tkz at init@ystep}}
+ \node[#1] at (\tkzpt at xa,\tkzpt at ya){#3};%
+ \fi
+\endgroup
+}%
+% %<--------------------------------------------------------------------------–>
+% % légende
+% %<--------------------------------------------------------------------------–>
+\pgfkeys{/tkzlegend/.cd,
+ line/.is if = tkz at legend@line,
+ line/.default = true,
+ line = false,
+ /tkzlegend/.search also = {/tikz},
+}
+\def\tkzLegend{\pgfutil at ifnextchar[{\tkz at Legend}{\tkz at Legend[]}}
+\def\tkz at Legend[#1](#2,#3)#4{%
+\pgfqkeys{/tkzlegend}{#1}
+\begingroup
+ \c at pgfmath@counta=0 %
+ \edef\tkzpt at xa{\fpeval{(#2-\tkz at init@xorigine)/\tkz at init@xstep}}
+ \edef\tkzpt at ya{\fpeval{(#3-\tkz at init@yorigine)/\tkz at init@ystep}}
+ \node[/tkzlegend/.cd,#1] at (\tkzpt at xa,\tkzpt at ya) {%
+\begin{tikzpicture}
+ \foreach \motif/\size/\col/\mtext in {#4}{%
+ \iftkz at legend@line
+ \draw[color = \col,
+ line width = \size,
+ style = \motif,
+ text = \tkz at mainlinecolor]%
+ (0cm ,\the\c at pgfmath@counta ex)--%
+ (\tkz at legend@line at len,\the\c at pgfmath@counta ex)
+ \else
+ \draw plot[mark size = \size,%
+ mark = \motif,%
+ mark options = {color=\col}]%
+ coordinates{(0 ex,\the\c at pgfmath@counta ex)}%
+ \fi
+ node[right=1ex] {\mtext};
+ \global\advance\c at pgfmath@counta by 3 %
+ }%
+
+\end{tikzpicture}%
+};%
+\endgroup
+}
+
+\makeatother
+\endinput
\ No newline at end of file
Property changes on: trunk/Master/texmf-dist/tex/latex/tkz-base/tkz-tools-text.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Modified: trunk/Master/texmf-dist/tex/latex/tkz-base/tkz-tools-utilities.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tkz-base/tkz-tools-utilities.tex 2020-01-24 10:00:38 UTC (rev 53529)
+++ trunk/Master/texmf-dist/tex/latex/tkz-base/tkz-tools-utilities.tex 2020-01-24 21:42:09 UTC (rev 53530)
@@ -1,15 +1,20 @@
+% tkz-tools-utilities
% Copyright 2011 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-tools-utilities.tex}
+\makeatletter
+% for testing results
+\def\extractxy#1{%
+\pgfextractx{\pgf at x}{\pgfpointanchor{#1}{center}}
+\pgfextracty{\pgf at y}{\pgfpointanchor{#1}{center}}
+\typeout{#1 \the\pgf at x,\the\pgf at y}
+}
-
-\def\fileversion{1.16 d}
-\def\filedate{2018/09/19}
-
-%<--------------------------------------------------------------------------–>
+%<-------------- some tools ------------------------------------------------->
\def\tkzutil at empty{}
\def\tkzutil at firstofone#1{#1}
\def\tkzutil at firstoftwo#1#2{#1}
@@ -22,150 +27,70 @@
\expandafter\tkzutil at secondoftwo
\fi}
%<--------------------------------------------------------------------------–>
+\long\def\iftkznodedefined#1#2#3{%
+ \tkzutil at ifundefined{pgf at sh@ns@#1}{#3}{#2}%
+}
%<--------------------------------------------------------------------------–>
-\global\def\tkzActivOff{%
-\edef\tkzTwoPtCode{\the\catcode`\:}
-\edef\tkzPtExCode{\the\catcode`\!}
-\edef\tkzPtVirCode{\the\catcode`\;}
-\catcode`\:=12 \catcode`\!=12 \catcode`\;=12}%
-\global\def\tkzActivOn{%
-\catcode`\:=\tkzTwoPtCode\relax
-\catcode`\!=\tkzPtExCode\relax
-\catcode`\;=\tkzPtVirCode\relax
+\gdef\tkzActivOff{%
+ \edef\tkzTwoPtCode{\the\catcode`\:}
+ \edef\tkzPtExCode{\the\catcode`\!}
+ \edef\tkzPtVirCode{\the\catcode`\;}
+ \catcode`\:=12 \catcode`\!=12 \catcode`\;=12
+ }%
+\gdef\tkzActivOn{%
+ \catcode`\:=\tkzTwoPtCode\relax
+ \catcode`\!=\tkzPtExCode\relax
+ \catcode`\;=\tkzPtVirCode\relax
}%
-
-%<----------------------------– autres tools -------------------------------->
-%<-------------------------- Initialisation -------------------------------->
-\pgfkeys{
-/tkzsupcol/.cd,
- background/.code = {\global\edef\tkz at suc@bkc{#1}},%
- text/.code = {\global\edef\tkz at suc@txt{#1}},
-}
-\def\tkzSetUpColors{\pgfutil at ifnextchar[{\tkz at SetUpColors}{\tkz at SetUpColors[]}}
-\def\tkz at SetUpColors[#1]{%
-\begingroup
-\pgfkeys{%
-tkzsupcol/.cd,
- background = \tkz at backgroundcolor,
- text = \tkz at textcolor
- }
-\pgfqkeys{/tkzsupcol}{#1}
-\global\edef\tkz at fillcolor{\tkz at suc@bkc}
-\global\edef\tkz at mainlinecolor{\tkz at suc@txt}
-\global\edef\tkz at textcolor{\tkz at suc@txt}
-\global\def\tkz at otherlinecolor{\tkz at suc@txt!50}
-\global\edef\tkz at sua@color{\tkz at mainlinecolor}
-\pagecolor{\tkz at suc@bkc}
-\color{\tkz at suc@txt}
- \InputIfFileExists{tkz-base.cfg}{\typeout{Local configuration file tkz-param.cfg found and used}}{\typeout{tkz-base.cfg not found}
-%<--------- axes cartesian system ---------------------------------------–>
-\global\edef\tkz at init@color{\tkz at textcolor}
-\global\def\tkz at init@lw{0.4 pt}
-\global\def\tkz at init@xlabel{$x$}
-\global\def\tkz at init@ylabel{$y$}
-\global\def\tkz at init@tickwd{0.8 pt}
-\global\def\tkz at init@ticka{2 pt}
-\global\def\tkz at init@tickb{2 pt}
-\global\def\tkz at init@rightspace{.5}
-\global\def\tkz at init@leftspace{0}
-\global\def\tkz at init@upspace{.5}
-\global\def\tkz at init@downspace{0}
-\global\let\tkzmathstyle\displaystyle
-\tikzset{xlabel style/.style={below=3 pt,
- inner sep = 1pt,
- outer sep = 0pt}}
-\tikzset{xaxe style/.style ={>=latex,->}}
-\tikzset{ylabel style/.style={left = 3 pt,
- inner sep = 1pt,
- outer sep = 0pt}}
-\tikzset{yaxe style/.style ={>=latex,->}}
-%<-------------------------- rep ---------------------------------------–>
-\global\edef\tkz at sur@color{\tkz at mainlinecolor}
-\global\edef\tkz at sur@colorlabel{\tkz at mainlinecolor}
-\global\def\tkz at sur@lw{0.8 pt}
-\global\def\tkz at sur@posxlabel{below=2pt}
-\global\def\tkz at sur@posylabel{left=2pt}
-%<-------------------------- grid ---------------------------------------–>
-\global\edef\tkz at grid@color{gray}
-\global\def\tkz at grid@lw{0.4 pt}
-\global\def\tkzCoeffSubColor{50}
-\global\def\tkzCoeffSubLw{0.8}
-\global\def\tkz at grid@xstep{0.2}
-\global\def\tkz at grid@ystep{0.2}
-%<-------------------------- line ---------------------------------------–>
-\global\edef\tkz at euc@linecolor{\tkz at mainlinecolor}
-\global\def\tkz at euc@linewidth{0.6pt}
-\global\def\tkz at euc@linestyle{solid}
-\global\def\tkz at euc@lineleft{.2}
-\global\def\tkz at euc@lineright{.2}
-\global\def\tkz at legend@line at len{1cm}
-\global\edef\tkz at euc@segmentcolor{\tkz at mainlinecolor}
-\global\edef\tkz at euc@circlecolor{\tkz at mainlinecolor}
-\tikzset{line style/.style={%
- line width = \tkz at euc@linewidth,
- color = \tkz at euc@linecolor,
- style = \tkz at euc@linestyle,
- add = {\tkz at euc@lineleft} and {\tkz at euc@lineright}}}
-%<-------------------------- points -----------------------------------–>
-\global\edef\tkz at euc@pointshape{circle}
-\global\edef\tkz at euc@pointcolor{\tkz at mainlinecolor}
-\global\edef\tkz at euc@labelcolor{\tkz at mainlinecolor}
-\global\def\tkz at euc@pointsize{6}
-\global\def\tkz at euc@pointpos{below right}
-\tikzset{point style/.style={draw = \tkz at euc@pointcolor,
- inner sep = 0pt,
- shape = \tkz at euc@pointshape,
- minimum size = \tkz at euc@pointsize*\pgflinewidth,
- fill = \tkz at euc@pointcolor!50}}
-%<---------------------------- mark -----------------------------------–>
-\global\edef\tkz at mk@color{\tkz at mainlinecolor}
-\global\edef\tkz at mk@mark{*}
-\global\edef\tkz at mk@size{3pt}
-\global\edef\tkz at mk@fill{\tkz at otherlinecolor}
-\tikzset{mark style/.style={mark=\tkz at mk@mark,mark size=\tkz at mk@size,mark options={color=\tkz at mk@color,fill=\tkz at mk@fill}}}
-\tikzset{arrow coord style/.style={dashed,
- \tkz at euc@linecolor,
- >=latex',
- ->}}
-\tikzset{xcoord style/.style={\tkz at euc@labelcolor,
- font=\normalsize,text height=1ex,
- inner sep = 0pt,
- outer sep = 0pt,
- fill=\tkz at fillcolor,
- below=3pt}}
-\tikzset{ycoord style/.style={\tkz at euc@labelcolor,
- font=\normalsize,text height=1ex,
- inner sep = 0pt,
- outer sep = 0pt,
- fill=\tkz at fillcolor,
- left=3pt}}
-%<--------------------------- vector --------------------------------------–>
-\tikzset{vector style/.style={>=latex,->}}
-%<------------------------- compass -----------------------------------–>
-\global\edef\tkz at euc@compasscolor{\tkz at otherlinecolor}
-\global\def\tkz at euc@compasswidth{0.4pt}
-\global\def\tkz at euc@compassstyle{solid}
-\tikzset{compass style/.style={color = \tkz at euc@compasscolor,
- line width = \tkz at euc@compasswidth,
- style = \tkz at euc@compassstyle}}
+%<------ Initialisation of the colors with tkzSetUpColors ----------------->
+% Première macro SetUpColors %%%%%%%%%%%%%%%%%%%%%
+%Possible
+\pgfkeys{/setupcolor/.is family}
+\def\setupcolorkeys#1{%
+ \pgfkeys{/setupcolor,#1}}
+\setupcolorkeys{
+ background/.estore in = \setupcolor at background,
+ text/.estore in = \setupcolor at text,
+ @initial/.style = {background=white,text=black},
+ @apply/.code = {\pagecolor{\setupcolor at background}%
+ \color{\setupcolor at text}%
+ },
}
-\endgroup}
+\def\tkzSetUpColors{\pgfutil at ifnextchar[{\tkz at SetUpColors}{\tkz at SetUpColors[]}}
+\def\tkz at SetUpColors[#1]{\setupcolorkeys{@initial,#1, at apply}}
+%<------ Initialisation of all colors ----------------->
+\pgfkeys{/tkzsupallcol/.cd,
+ background/.store in = \tkz at suac@bkc,
+ text/.store in = \tkz at suac@txt,
+ background = \tkz at backgroundcolor,% see tkz-base.cfg
+ text = \tkz at textcolor% idem
+ }
+\def\tkzSetUpAllColors{\pgfutil at ifnextchar[{\tkz at SetUpAllColors}{%
+ \tkz at SetUpAllColors[]}}
+\def\tkz at SetUpAllColors[#1]{%
+ \pgfqkeys{/tkzsupallcol}{#1} % now we redine the based colors
+ \def\tkz at fillcolor{\tkz at suac@bkc}
+ \def\tkz at mainlinecolor{\tkz at suac@txt}
+ \def\tkz at textcolor{\tkz at suac@txt}
+ \def\tkz at otherlinecolor{\tkz at suac@txt!50}
+ \def\tkz at sua@color{\tkz at suac@txt}
+ \tkzSetUpAxis[color=\tkz at suac@txt]
+ \tkzSetUpGrid[color=\tkz at suac@txt]
+ \pagecolor{\tkz at suac@bkc}
+ \color{\tkz at suac@txt}
+}
%<--------------------------------------------------------------------------–>
% Pour savoir le nombre de décimales d'un nombre
% le nombre dans #1 et le résultat dans \c at pgfmath@countb
%<--------------------------------------------------------------------------–>
-
-\newcommand*\tkz at getdecimal[1]{%
- \expandafter\@getdecimal#1.\@nil
-}
-
+\newcommand\tkz at getdecimal[1]{\expandafter\@getdecimal#1.\@nil}
\def\@getdecimal#1.#2\@nil{%
\ifx\empty#2\empty
% Si #2 est vide, c'est qu'il n'y avait pas de point
% dans la chaîne initiale
\c at pgfmath@countb0 %
- \global\def\tkz at decpart{}%
+ \gdef\tkz at decpart{}%
\else
% sinon c'est la chaîne qui suit le point décimal...
\CountToken{#2}%
@@ -174,8 +99,8 @@
\@@getdecimal#2\@nil
\fi
}
-\def\@@getdecimal#1.\@nil{\global\def\tkz at decpart{#1}}
-%<--------------------------------------------------------------------------–>
+\def\@@getdecimal#1.\@nil{\gdef\tkz at decpart{#1}}
+%<---------------------------------------------------------–>
% code from JCC modifi
\newcommand\CountToken[1]{%
\c at pgfmath@countb0 %
@@ -192,12 +117,10 @@
\fi
}
% end code from JCC
-
-%<–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––>
+%<---------------------------------------------------------–>
% Tools
-%<–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––>
+%<---------------------------------------------------------–>
%<–––––––– code from TeX in Practice ––––––––>
-\newif\if at TestSubString
\def\SubStringConditional #1#2{%
TT\fi
\edef\@MainString{#1}%
@@ -210,13 +133,12 @@
}%
\@TestSubS #1#2\\
\ifx\@MainString\@TestTemp
- \@TestSubStringfalse
+ \tkz at TestSubStringfalse
\else
- \@TestSubStringtrue
+ \tkz at TestSubStringtrue
\fi
- \if at TestSubString
+ \iftkz at TestSubString
}
-
\def\RecursionMacroEnd #1#2#3{%
#1\relax
\def\@RecursionMacroEndNext{#2}%
@@ -225,7 +147,6 @@
\fi
\@RecursionMacroEndNext
}
-
\def\ReplaceSubStrings #1#2#3#4{%
\def\@ReplaceResult{#1}%
\edef\@ReplaceMain{#2}%
@@ -250,89 +171,12 @@
\@EndReplaceSubStrings
\@ReplaceSubStrings
}
-\def\tkzPrintFrac#1#2{%
-\begingroup
-\tkzReducFrac{#1}{#2}
-\global\edef\tkzprintfrac{$ \frac{\tkzMathFirstResult}{\tkzMathSecondResult}$}%
- \ifnum\tkzMathFirstResult=0%
- \global\edef\tkzprintfrac{$0$}%
- \else
- \ifnum\tkzMathSecondResult=1 %
- \ifnum\tkzMathFirstResult=1 %
- \global\edef\tkzprintfrac{$1$}%
- \else
- \ifnum\tkzMathFirstResult=-1%
- \global\edef\tkzprintfrac{$-1$}%
- \else
- \global\edef\tkzprintfrac{$\tkzMathFirstResult$}%
- \fi\fi
- \else
- \ifnum\tkzMathFirstResult=1 %
- \global\edef\tkzprintfrac{$\tkzmathstyle\frac{1}{\tkzMathSecondResult}$}%
- \else
- \ifnum\tkzMathFirstResult=-1 %
- \global\edef\tkzprintfrac{$\tkzmathstyle\frac{-1}{\tkzMathSecondResult}$}%
- \else
- \global\edef\tkzprintfrac{$\tkzmathstyle\frac{\tkzMathFirstResult}{%
- \tkzMathSecondResult}$}%
- \fi\fi\fi\fi
-\endgroup}
-%<--------------------------------------------------------------------------->
-\def\tkzPrintFracWithPi#1#2{%
-\begingroup
-\tkzReducFrac{#1}{#2}
-\global\edef\tkzprintfrac{$\tkzmathstyle\frac{\tkzMathFirstResult\pi}{\tkzMathSecondResult}$}%
- \ifnum\tkzMathFirstResult=0%
- \global\edef\tkzprintfrac{$0$}%
- \else
- \ifnum\tkzMathSecondResult=1 %
- \ifnum\tkzMathFirstResult=1 %
- \global\edef\tkzprintfrac{$\pi$}%
- \else
- \ifnum\tkzMathFirstResult=-1%
- \global\edef\tkzprintfrac{$-\pi$}%
- \else
- \global\edef\tkzprintfrac{$\tkzMathFirstResult\pi$}%
- \fi\fi
- \else
- \ifnum\tkzMathFirstResult=1 %
- \global\edef\tkzprintfrac{$\tkzmathstyle\frac{\pi}{\tkzMathSecondResult}$}%
- \else
- \ifnum\tkzMathFirstResult=-1 %
- \global\edef\tkzprintfrac{$\tkzmathstyle\frac{-\pi}{\tkzMathSecondResult}$}%
- \else
- \global\edef\tkzprintfrac{$\tkzmathstyle\frac{\tkzMathFirstResult\pi}{%
- \tkzMathSecondResult}$}%
- \fi\fi\fi\fi
-\endgroup}%
-
-%<--------------------------------------------------------------------------->
-% chargement des modules
-\def\tkz at obj@all{polygons,vectors,arcs,sectors,angles,protractor}
-\def\tkz at obj@txt{all}
-\def\usetkzobj{\pgfutil at ifnextchar[{\use at usetkzobj}{\use@@usetkzobj}}%}
-\def\use at usetkzobj[#1]{\use@@usetkzobj{#1}}
-\def\use@@usetkzobj#1{%
- \def\tkz at list{#1}
- \ifx\tkz at obj@txt\tkz at list \edef\tkz at list{\tkz at obj@all}%
- \else
- \edef\tkz at list{#1}%
- \fi
- %\edef\tkz at list{#1}%
- \pgfutil at for\tkz at temp:=\tkz at list\do{%
- \expandafter\ifx\csname tkz at library@\tkz at temp @loaded\endcsname\relax%
- \expandafter\global\expandafter\let\csname tkz at library@\tkz at temp @loaded\endcsname=\pgfutil at empty%
- \expandafter\edef\csname tkz at obj@#1 at atcode\endcsname{\the\catcode`\@}
- \expandafter\edef\csname tkz at obj@#1 at barcode\endcsname{\the\catcode`\|}
- \catcode`\@=11
- \catcode`\|=12
- \input tkz-obj-\tkz at temp.tex
- \catcode`\@=\csname tkz at obj@#1 at atcode\endcsname
- \catcode`\|=\csname tkz at obj@#1 at barcode\endcsname
- \fi%
- }%
-}%
-\def\DisabledNumprint{\let\tkz at numprint\numprint
-\let\numprint\relax}
+%<---------------------------------------------------------–>
+\def\DisabledNumprint{%
+ \let\tkz at numprint\numprint
+ \let\numprint\relax
+ }
\def\EnabledNumprint{\let\numprint\tkz at numprint}
+%<---------------------------------------------------------–>
+\makeatother
\endinput
\ No newline at end of file
More information about the tex-live-commits
mailing list