summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Master/texmf-dist/doc/latex/tkz-fct/README.md4
-rw-r--r--Master/texmf-dist/doc/latex/tkz-fct/TKZdoc-fct-example.tex30
-rw-r--r--Master/texmf-dist/doc/latex/tkz-fct/TKZdoc-fct-main.pdfbin732338 -> 0 bytes
-rw-r--r--Master/texmf-dist/doc/latex/tkz-fct/TKZdoc-fct-main.tex17
-rw-r--r--Master/texmf-dist/doc/latex/tkz-fct/tkz-fct.pdfbin0 -> 728705 bytes
-rw-r--r--Master/texmf-dist/tex/latex/tkz-fct/tkz-fct.sty68
6 files changed, 33 insertions, 86 deletions
diff --git a/Master/texmf-dist/doc/latex/tkz-fct/README.md b/Master/texmf-dist/doc/latex/tkz-fct/README.md
index 58db1ab82d7..a82a5bb46a9 100644
--- a/Master/texmf-dist/doc/latex/tkz-fct/README.md
+++ b/Master/texmf-dist/doc/latex/tkz-fct/README.md
@@ -1,6 +1,6 @@
# tkz-fct – Tools for drawing graphs of functions
-Release 1.4c 2020/05/05
+Release 1.5c 2022/01/25
## Description
@@ -52,7 +52,7 @@ In order to format the numbers correctly, you place the following two lines
Documentation for `tkz-fct` is available on CTAN and in your TeX distribution.
## History
-
+- 1.5c Added a warning message that tkz-fct must be loaded before tkz-euclide
- 1.4c Correction of a bug in the macro \tkzFct. Correction of the documentation.
- 1.3c Correction of a bug ( incompatibility between tkz-fct and tkzexample).
diff --git a/Master/texmf-dist/doc/latex/tkz-fct/TKZdoc-fct-example.tex b/Master/texmf-dist/doc/latex/tkz-fct/TKZdoc-fct-example.tex
index d7207dd7c3b..375cf26b596 100644
--- a/Master/texmf-dist/doc/latex/tkz-fct/TKZdoc-fct-example.tex
+++ b/Master/texmf-dist/doc/latex/tkz-fct/TKZdoc-fct-example.tex
@@ -6,21 +6,21 @@ Les codes de \TIKZ\ et de \tkzname{tkz-fct} peuvent se compléter. Ainsi les axe
\bigskip
\begin{center}
- \begin{tkzexample}[]
- \begin{tikzpicture}[scale=3]
- \tkzInit[xmin=0,xmax=4,ymin=-1.5,ymax=1.5]
- \tkzAxeY[label=$f(x)$]
- \tkzDefPoint(1,0){x} \tkzDrawPoint[color=blue,size=0.6pt](x)
- \shade[top color=gray!80,bottom color=gray!20] (1,0)%
- plot[id=ln,domain=1:2.718] function{log(x)} |-(1,0);
- \draw[color=blue] plot[id=ln,domain=0.2:4,samples=200]function{log(x)};
- \tkzAxeX
- \tkzText[draw,color= black,fill=brown!50](2,-1)%
- {$\mathcal{A} = \int_1^{\text{e}}\ln(x)\text{d}x =%
- \big[x\ln(x)\big]_{1}^{\text{e}} = \text{e}$}
- \tkzText[draw,color= black,fill=brown!50](2,0.3){$\mathcal{A}$}
- \end{tikzpicture}
- \end{tkzexample}
+ \begin{tkzexample}[]
+ \begin{tikzpicture}[scale=3]
+ \tkzInit[xmin=0,xmax=4,ymin=-1.5,ymax=1.5]
+ \tkzAxeY
+ \tkzDefPoint(1,0){x} \tkzDrawPoint[color=blue,size=0.6pt](x)
+ \shade[top color=gray!80,bottom color=gray!20] (1,0)%
+ plot[id=ln,domain=1:2.718] function{log(x)} |-(1,0);
+ \draw[color=blue] plot[id=ln,domain=0.2:4,samples=200]function{log(x)};
+ \tkzAxeX
+ \tkzText[draw,color= black,fill=brown!50](2,-1)%
+ {$\mathcal{A} = \int_1^{\text{e}}\ln(x)\text{d}x =%
+ \big[x\ln(x)\big]_{1}^{\text{e}} = \text{e}$}
+ \tkzText[draw,color= black,fill=brown!50](2,0.3){$\mathcal{A}$}
+ \end{tikzpicture}
+ \end{tkzexample}
\end{center}
\newpage
diff --git a/Master/texmf-dist/doc/latex/tkz-fct/TKZdoc-fct-main.pdf b/Master/texmf-dist/doc/latex/tkz-fct/TKZdoc-fct-main.pdf
deleted file mode 100644
index f89652cfb2d..00000000000
--- a/Master/texmf-dist/doc/latex/tkz-fct/TKZdoc-fct-main.pdf
+++ /dev/null
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/tkz-fct/TKZdoc-fct-main.tex b/Master/texmf-dist/doc/latex/tkz-fct/TKZdoc-fct-main.tex
index ccb27755618..f0f647d92cf 100644
--- a/Master/texmf-dist/doc/latex/tkz-fct/TKZdoc-fct-main.tex
+++ b/Master/texmf-dist/doc/latex/tkz-fct/TKZdoc-fct-main.tex
@@ -13,19 +13,17 @@
\documentclass[DIV = 14,
fontsize = 10,
- headinclude = false,
index = totoc,
- footinclude = false,
twoside,
headings = small
]{tkz-doc}
\usepackage{etoc}
\gdef\tkznameofpack{tkz-fct}
-\gdef\tkzversionofpack{1.4c}
-\gdef\tkzdateofpack{2020/05/01}
+\gdef\tkzversionofpack{1.5c}
+\gdef\tkzdateofpack{2022/01/25}
\gdef\tkznameofdoc{doc-tkz-tab}
-\gdef\tkzdateofdoc{2020/05/01}
-\gdef\tkzversionofdoc{1.4c}
+\gdef\tkzdateofdoc{2022/01/25}
+\gdef\tkzversionofdoc{1.5c}
\gdef\tkzauthorofpack{Alain Matthes}
\gdef\tkzadressofauthor{}
\gdef\tkznamecollection{AlterMundus}
@@ -125,7 +123,7 @@
\nameoffile{\tkznameofpack}
-\defoffile{\textbf{tkz-fct.sty (v1.4c)} est un package pour créer à l'aide de \TIKZ, des représentations graphiques de fonctions en 2D le plus simplement possible. Il est dépendant de \TIKZ\ et fera partie d'une série de modules ayant comme point commun, La création de dessins utiles dans l’enseignement des mathématiques. Ce sont des représentations du type scolaire qui correspondent à l’enseignement proposé dans les lycées français.}
+\defoffile{\textbf{tkz-fct.sty (v1.5c)} est un package pour créer à l'aide de \TIKZ, des représentations graphiques de fonctions en 2D le plus simplement possible. Il est dépendant de \TIKZ\ et fera partie d'une série de modules ayant comme point commun, La création de dessins utiles dans l’enseignement des mathématiques. Ce sont des représentations du type scolaire qui correspondent à l’enseignement proposé dans les lycées français. {\color{red} Vous devez charger \tkzimp{tkz-base} avant \tkzimp{tkz-euclide} et \tkzimp{tkz-fct}.}. }
\presentation
@@ -134,10 +132,11 @@
\vspace*{12pt}
-\noindent\lefthand\ Je souhaite remercier aussi \tkzimp{David Arnold} qui a corrigé un grand nombre d'erreurs et qui a testé de nombreux exemples, \tkzimp{Pablo González Luengo } pour son aide sur la documentation et la gestion du dépôt "GitHub", \tkzimp{Wolfgang Büchel} qui a corrigé également des erreurs et a construit de superbes scripts pour obtenir les fichiers d'exemples, \tkzimp{John Kitzmiller} et ses exemples, et enfin \tkzimp{Gaétan Marris} pour ses remarques.
+\noindent\lefthand\ Je souhaite remercier aussi \tkzimp{David Arnold} qui a corrigé un grand nombre d'erreurs et qui a testé de nombreux exemples, \tkzimp{Pablo González Luengo } pour son aide sur la documentation et la gestion du dépôt "GitHub", \tkzimp{Wolfgang Büchel} qui a corrigé également des erreurs et a construit de superbes scripts pour obtenir les fichiers d'exemples, \tkzimp{John Kitzmiller} et ses exemples, et enfin \tkzimp{Gaétan Marris} pour ses remarques.
+
\vspace*{12pt}
-\noindent\lefthand\ Vous trouverez bientôt de nombreux exemples sur mon site~:
+\noindent\lefthand\ Vous trouverez bientôt de nombreux exemples sur mon site~: (You will soon find many examples on my site~:)
\href{http://altermundus.fr}{altermundus.fr}
\vfill
diff --git a/Master/texmf-dist/doc/latex/tkz-fct/tkz-fct.pdf b/Master/texmf-dist/doc/latex/tkz-fct/tkz-fct.pdf
new file mode 100644
index 00000000000..c925fc12508
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/tkz-fct/tkz-fct.pdf
Binary files differ
diff --git a/Master/texmf-dist/tex/latex/tkz-fct/tkz-fct.sty b/Master/texmf-dist/tex/latex/tkz-fct/tkz-fct.sty
index 401fa985bfc..d8153b503eb 100644
--- a/Master/texmf-dist/tex/latex/tkz-fct/tkz-fct.sty
+++ b/Master/texmf-dist/tex/latex/tkz-fct/tkz-fct.sty
@@ -13,10 +13,14 @@
% constants from tkz-base
% \tkz@init@xstep
% \tkz@init@ystep
-\typeout{2020/05/01 1.4c function tkz-fct}
+\typeout{2022/01/25 1.5c function tkz-fct}
%<--------------------------------------------------------------------------->
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{tkz-fct}[2020/05/01 1.4c function ]
+\ProvidesPackage{tkz-fct}[2022/01/25 1.5c function ]
+\@ifpackageloaded{tkz-fct}{\typeout{tkz-base and tkz-fct must be loaded before tkz-euclide}
+\PackageError{tkz-fct}{tkz-base must be loaded before tkz-euclide}{tkz-base must be loaded before tkz-euclide}%
+\endinput}{}
+
\newcount\tkz@tkzf@fct
\edef\tkzTWOPTCode{\the\catcode`\:}
\tkz@tkzf@fct=0 %
@@ -117,10 +121,9 @@
\begin{scope}
\clip (\tkz@xa,\tkz@ya) rectangle (\tkz@xb,\tkz@yb);
% \draw[#1, xshift = -\tkz@x@delta cm,yshift = -\tkz@y@delta cm]
- \draw[#1, xshift = -\tkz@x@delta cm,]
+ \draw[#1, xshift = -\tkz@x@delta cm]%0 5/2020
plot[samples = \tkz@fct@samples,id=\tkz@fct@id,
domain= \tkz@ba:\tkz@bb] function{((#2)-\tkz@init@yorigine)/\tkz@init@ystep};
- % \node {-\tkz@y@delta cm };
\end{scope}
% %%%%%%%
\let\tkz@tmp@xstep\tkz@init@xstep
@@ -630,59 +633,6 @@
}%
\endgroup
}%
-% %<--------------------------------------------------------------------------->
-% % tangente obsolete
-% %<--------------------------------------------------------------------------->
-% \def\tkzTan{\pgfutil@ifnextchar[{\tkz@Tan}{\tkz@Tan[]}}
-%
-% \def\tkz@Tan[#1]#2(#3)#{
-% \pgfkeys{/@tkztan/.cd,
-% draw = false,
-% with = {},
-% kr = 1,
-% kl = 1
-% }
-% \pgfqkeys{/@tkztan}{#1}
-% \global\edef\tkz@opttan{#1}
-% \FPeval\x{(#3)}%
-% \FPeval\tkz@img{#2}
-% \let\tkz@yy #2%
-% \let\tkz@xx\x%
-% \let\tkz@old@img\tkz@img
-% \tkz@@Tan
-% }
-% \def\tkz@@Tan#1{%
-% \FPdiv{\tkz@old@x}{\x}{1}
-% \let\tkz@nexpty\tkz@img
-% \tkz@ptStar[](\tkz@old@x,\tkz@nexpty){#1}
-% \FPdiv{\tkz@krx}{\tkz@tan@kr}{\tkz@tmp@xstep}
-% \FPdiv{\tkz@kry}{\tkz@tan@kr}{\tkz@init@ystep}
-% \FPdiv{\tkz@klx}{\tkz@tan@kl}{\tkz@tmp@xstep}
-% \FPdiv{\tkz@kly}{\tkz@tan@kl}{\tkz@init@ystep}
-% % demi tgt--> droite
-% \FPifzero{\tkz@tan@kr}%
-% \else
-% \FPadd{\x}{\tkz@xx}{0.000001}%
-% \FPeval\tkz@img{\tkz@yy}%
-% \FPadd{\tkz@deltay}{\tkz@old@img}{-\tkz@img}%
-% \FPmul{\tkz@slope}{\tkz@deltay}{1000000}%
-% \protected@edef\tkz@temp{
-% \noexpand\draw[tan style,/@tkztan/.cd,\tkz@opttan,-]}\tkz@temp%
-% (#1)--++(\tkz@krx,-\tkz@kry*\tkz@slope);
-% \fi
-% % demi tgt --> gauche
-% \FPifzero{\tkz@tan@kl}%
-% \else
-% \FPadd{\x}{\tkz@xx}{-0.000001}
-% \FPeval\tkz@img{\tkz@yy}%
-% \FPadd{\tkz@deltay}{\tkz@old@img}{-\tkz@img}
-% \FPmul{\tkz@slope}{\tkz@deltay}{-1000000}
-% \protected@edef\tkz@temp{
-% \noexpand
-% \draw[tan style,/@tkztan/.cd,\tkz@opttan,-]}\tkz@temp%
-% (#1)--++(-\tkz@klx,\tkz@kly*\tkz@slope);
-% \fi
-% }
%<--------------------------------------------------------------------------->
% point d'une courbe obsolete
%<--------------------------------------------------------------------------->
@@ -700,6 +650,4 @@
\let\tkz@init@xstep\tkz@tmp@xstep
}
%<-------------------------- the end --------------------------------------->
-\endinput
-
- \ No newline at end of file
+\endinput \ No newline at end of file