From 385278ff3cbd9c60e27e500807b3db97102b2d7f Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Wed, 26 Jan 2022 21:07:10 +0000 Subject: tkz-fct (26jan22) git-svn-id: svn://tug.org/texlive/trunk@61747 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/tkz-fct/tkz-fct.sty | 68 +++---------------------- 1 file changed, 8 insertions(+), 60 deletions(-) (limited to 'Master/texmf-dist/tex') 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 -- cgit v1.2.3