summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/tkz-fct
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2022-01-26 21:07:10 +0000
committerKarl Berry <karl@freefriends.org>2022-01-26 21:07:10 +0000
commit385278ff3cbd9c60e27e500807b3db97102b2d7f (patch)
treed4a26cb8a3b57ebd34968dd4091aad596e283112 /Master/texmf-dist/tex/latex/tkz-fct
parent2bc75edcb41d1753bb0a6c08524226af14b7b8ac (diff)
tkz-fct (26jan22)
git-svn-id: svn://tug.org/texlive/trunk@61747 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/tkz-fct')
-rw-r--r--Master/texmf-dist/tex/latex/tkz-fct/tkz-fct.sty68
1 files changed, 8 insertions, 60 deletions
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