texlive[76119] Master/texmf-dist: tkz-grapheur (22aug25)
commits+karl at tug.org
commits+karl at tug.org
Fri Aug 22 23:33:32 CEST 2025
Revision: 76119
https://tug.org/svn/texlive?view=revision&revision=76119
Author: karl
Date: 2025-08-22 23:33:32 +0200 (Fri, 22 Aug 2025)
Log Message:
-----------
tkz-grapheur (22aug25)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/latex/tkz-grapheur/README.md
trunk/Master/texmf-dist/doc/latex/tkz-grapheur/tkz-grapheur-doc-en.pdf
trunk/Master/texmf-dist/doc/latex/tkz-grapheur/tkz-grapheur-doc-en.tex
trunk/Master/texmf-dist/doc/latex/tkz-grapheur/tkz-grapheur-doc-fr.pdf
trunk/Master/texmf-dist/doc/latex/tkz-grapheur/tkz-grapheur-doc-fr.tex
trunk/Master/texmf-dist/tex/latex/tkz-grapheur/tkz-grapheur.sty
Modified: trunk/Master/texmf-dist/doc/latex/tkz-grapheur/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tkz-grapheur/README.md 2025-08-22 21:33:21 UTC (rev 76118)
+++ trunk/Master/texmf-dist/doc/latex/tkz-grapheur/README.md 2025-08-22 21:33:32 UTC (rev 76119)
@@ -1,7 +1,13 @@
tkz-grapheur is a package to work with curves, with TikZ.
+
--------------------------------------------------------------------------------
+
tkz-grapheur un package spécifique pour travailler avec des courbes, en TikZ.
+
--------------------------------------------------------------------------------
+
Author : Cédric Pierquet
+
email : cpierquet at outlook.fr
+
Licence : Released under the LaTeX Project Public License v1.3c or later, see http://www.latex-project.org/lppl.txt
\ No newline at end of file
Modified: trunk/Master/texmf-dist/doc/latex/tkz-grapheur/tkz-grapheur-doc-en.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/tkz-grapheur/tkz-grapheur-doc-en.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tkz-grapheur/tkz-grapheur-doc-en.tex 2025-08-22 21:33:21 UTC (rev 76118)
+++ trunk/Master/texmf-dist/doc/latex/tkz-grapheur/tkz-grapheur-doc-en.tex 2025-08-22 21:33:32 UTC (rev 76119)
@@ -31,8 +31,8 @@
\hypersetup{pdfborder=0 0 0}
\usepackage[margin=2cm]{geometry}
\setlength{\parindent}{0pt}
-\def\TPversion{0.2.5}
-\def\TPdate{30/05/2025}
+\def\TPversion{0.2.6}
+\def\TPdate{21/08/2025}
\usepackage{soul}
\usepackage{codehigh}
\usepackage{tabularray}
@@ -1397,6 +1397,56 @@
% \end{GraphTikz}
%\end{tcblisting}
+\subsection{Linear inequality}
+
+\begin{tcblisting}{listing engine=minted,minted language=latex,colframe=lightgray,colback=lightgray!5,listing only}
+%within graphTike environment
+\LinearInequality[keys]<function name>{expression}{symbol}
+\end{tcblisting}
+
+First argument, \textit{optional} and within \MontreCode{[...]}, gives following keys:
+
+\begin{itemize}
+ \item \MontreCode{opacity=...} (\MontreCode{0.25} by default) ;
+ \item \MontreCode{color=...} (\MontreCode{black} by default) ;
+ \item \MontreCode{style=...} (\MontreCode{hatch} by default) ;
+ \item \MontreCode{hatch} (\MontreCode{north west lines} by default).
+\end{itemize}
+
+\begin{tcblisting}{listing engine=minted,minted language=latex,colframe=lightgray,colback=lightgray!5}
+\begin{GraphTikz}[x=0.4cm,y=0.4cm,Xmin=-5,Xmax=5,Ymin=-5,Ymax=5]
+ \DrawAxisGrids[Font=\tiny]{auto}{auto}
+ \LinearInequality[color=blue]{-3x+2}{>0}
+\end{GraphTikz}
+~~
+\begin{GraphTikz}[x=0.4cm,y=0.4cm,Xmin=-5,Xmax=5,Ymin=-5,Ymax=5]
+ \DrawAxisGrids[Font=\tiny]{auto}{auto}
+ \LinearInequality[color=pink]{-x+y+2}{<=0}
+\end{GraphTikz}
+~~
+\begin{GraphTikz}[x=0.4cm,y=0.4cm,Xmin=-5,Xmax=5,Ymin=-5,Ymax=5]
+ \DrawAxisGrids[Font=\tiny]{auto}{auto}
+ \LinearInequality[color=teal]{-x+y-4}{>0}
+\end{GraphTikz}
+\end{tcblisting}
+
+\begin{tcblisting}{listing engine=minted,minted language=latex,colframe=lightgray,colback=lightgray!5}
+\begin{GraphTikz}[x=0.4cm,y=0.4cm,Xmin=-5,Xmax=5,Ymin=-5,Ymax=5]
+ \DrawAxisGrids[Font=\tiny]{auto}{auto}
+ \LinearInequality[color=blue]{-4*y+5}{<=0}
+\end{GraphTikz}
+~~
+\begin{GraphTikz}[x=0.4cm,y=0.4cm,Xmin=-5,Xmax=5,Ymin=-5,Ymax=5]
+ \DrawAxisGrids[Font=\tiny]{auto}{auto}
+ \LinearInequality[color=pink,hatch={north east lines}]{-x-2y+2}{<=0}
+\end{GraphTikz}
+~~
+\begin{GraphTikz}[x=0.4cm,y=0.4cm,Xmin=-5,Xmax=5,Ymin=-5,Ymax=5]
+ \DrawAxisGrids[Font=\tiny]{auto}{auto}
+ \LinearInequality[style=fill,color=teal]{-x-y-4}{>0}
+\end{GraphTikz}
+\end{tcblisting}
+
\pagebreak
\section{Commands specific to two-variable statistics}
@@ -1796,6 +1846,7 @@
\begin{quote}
\begin{verbatim}
+0.2.6: Linear inequality (work in progress)
0.2.5: Lagrange interpolation ([french] for the moment) + enhancements
0.2.4: Bugfiw with [fr] version
0.2.3: Bugfix with a length
Modified: trunk/Master/texmf-dist/doc/latex/tkz-grapheur/tkz-grapheur-doc-fr.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/tkz-grapheur/tkz-grapheur-doc-fr.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tkz-grapheur/tkz-grapheur-doc-fr.tex 2025-08-22 21:33:21 UTC (rev 76118)
+++ trunk/Master/texmf-dist/doc/latex/tkz-grapheur/tkz-grapheur-doc-fr.tex 2025-08-22 21:33:32 UTC (rev 76119)
@@ -34,8 +34,8 @@
\hypersetup{pdfborder=0 0 0}
\usepackage[margin=2cm]{geometry}
\setlength{\parindent}{0pt}
-\def\TPversion{0.2.5}
-\def\TPdate{30/05/2025}
+\def\TPversion{0.2.6}
+\def\TPdate{21/08/2025}
\usepackage{soul}
\usepackage{codehigh}
\usepackage{tabularray}
@@ -1513,6 +1513,60 @@
\pagebreak
+\subsection{Inégalité linéaire}\label{ineglin}
+
+L'idée (en test) est d'obtenir une commande pour représenter graphiquement une inégalité linéaire.
+
+\begin{tcblisting}{listing engine=minted,minted language=latex,colframe=lightgray,colback=lightgray!5,listing only}
+%dans l'environnement GraphiqueTikz
+\InegaliteLineaire[clés]<nom fct>{expression}{sens inégalité}
+\end{tcblisting}
+
+Le premier argument, \textit{optionnel} et entre \MontreCode{[...]}, contient les \MontreCode{Clés} suivantes :
+
+\begin{itemize}
+ \item \MontreCode{Opacite=...} (\MontreCode{0.25} par défaut) ;
+ \item \MontreCode{Couleur=...} (\MontreCode{black} par défaut) ;
+ \item \MontreCode{Style=...} (\MontreCode{hachures} par défaut) ;
+ \item \MontreCode{Hachures=...} (\MontreCode{north west lines} par défaut).
+\end{itemize}
+
+\begin{tcblisting}{listing engine=minted,minted language=latex,colframe=lightgray,colback=lightgray!5}
+\begin{GraphiqueTikz}[x=0.4cm,y=0.4cm,Xmin=-5,Xmax=5,Ymin=-5,Ymax=5]
+ \TracerAxesGrilles[Police=\tiny]{auto}{auto}
+ \InegaliteLineaire[Couleur=blue]{-3x+2}{>0}
+\end{GraphiqueTikz}
+~~
+\begin{GraphiqueTikz}[x=0.4cm,y=0.4cm,Xmin=-5,Xmax=5,Ymin=-5,Ymax=5]
+ \TracerAxesGrilles[Police=\tiny]{auto}{auto}
+ \InegaliteLineaire[Couleur=pink]{-x+y+2}{<=0}
+\end{GraphiqueTikz}
+~~
+\begin{GraphiqueTikz}[x=0.4cm,y=0.4cm,Xmin=-5,Xmax=5,Ymin=-5,Ymax=5]
+ \TracerAxesGrilles[Police=\tiny]{auto}{auto}
+ \InegaliteLineaire[Couleur=teal]{-x+y-4}{>0}
+\end{GraphiqueTikz}
+\end{tcblisting}
+
+\begin{tcblisting}{listing engine=minted,minted language=latex,colframe=lightgray,colback=lightgray!5}
+\begin{GraphiqueTikz}[x=0.4cm,y=0.4cm,Xmin=-5,Xmax=5,Ymin=-5,Ymax=5]
+ \TracerAxesGrilles[Police=\tiny]{auto}{auto}
+ \InegaliteLineaire[Couleur=blue]{-4*y+5}{<=0}
+\end{GraphiqueTikz}
+~~
+\begin{GraphiqueTikz}[x=0.4cm,y=0.4cm,Xmin=-5,Xmax=5,Ymin=-5,Ymax=5]
+ \TracerAxesGrilles[Police=\tiny]{auto}{auto}
+ \InegaliteLineaire[Couleur=pink,Hachures={north east lines}]{-x-2y+2}{<=0}
+\end{GraphiqueTikz}
+~~
+\begin{GraphiqueTikz}[x=0.4cm,y=0.4cm,Xmin=-5,Xmax=5,Ymin=-5,Ymax=5]
+ \TracerAxesGrilles[Police=\tiny]{auto}{auto}
+ \InegaliteLineaire[Style=remplissage,Couleur=teal]{-x-y-4}{>0}
+\end{GraphiqueTikz}
+\end{tcblisting}
+
+\pagebreak
+
\section{Commandes spécifiques des fonctions de densité}
\subsection{Loi normale}\label{loinormale}
@@ -2204,6 +2258,7 @@
\lstcmd{Monte-Carlo~~~~}{\SimulerMonteCarlo}{montecarlo}
\lstcmd{tangente~~~~~~~}{\TracerTangente}{tgte}
\lstcmd{toile récurr~~~}{\TracerToileRecurrence}{toilerecurr}
+ \lstcmd{inég. linéaire~}{\InegaliteLineaire}{ineglin}
\lstcmd{loi normale~~~~}{\DefinirLoiNormale}{loinormale}
\lstcmd{loi normale~~~~}{\TracerLoiNormale}{loinormale}
\lstcmd{loi khideux~~~~}{\DefinirLoiKhiDeux}{loikhideux}
@@ -2340,6 +2395,7 @@
{\footnotesize \begin{quote}
\begin{verbatim}
+0.2.6 : Inegalité linéaire (en test)
0.2.5 : Interpolation de Lagrange + améliorations
0.2.4 : Clé [StyleTrace] pour des pointillés par exemple
0.2.3 : Bugfix avec une longueur
Modified: trunk/Master/texmf-dist/tex/latex/tkz-grapheur/tkz-grapheur.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tkz-grapheur/tkz-grapheur.sty 2025-08-22 21:33:21 UTC (rev 76118)
+++ trunk/Master/texmf-dist/tex/latex/tkz-grapheur/tkz-grapheur.sty 2025-08-22 21:33:32 UTC (rev 76119)
@@ -2,9 +2,10 @@
% licence : Released under the LaTeX Project Public License v1.3c or later, see http://www.latex-project.org/lppl.txt
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{tkz-grapheur}[2025/05/30 0.2.5 Des outils en TikZ pour travailler comme avec un grapheur]
+\ProvidesPackage{tkz-grapheur}[2025/08/21 0.2.6 Des outils en TikZ pour travailler comme avec un grapheur]
%====HISTORIQUE
+% v 0.2.6 Inégalité linéraire (test)
% v 0.2.5 Interpolation de Lagrange + améliorations
% v 0.2.4 Clé [StyleTrace] pour dotted/dashed par exemple
% v 0.2.3 Bug with length
@@ -4902,4 +4903,236 @@
\draw[#2] #5 ;
}
+%====linear inequality [fr]
+\defKV[GraphiquetikzInegLin]{%
+ Opacite=\def\pflineglinopac{#1},%
+ Nom=\def\pflineglinname{#1},%
+ Style=\def\pflineglintikzstyle{#1},%
+ Hachures=\def\pflineglintikzhatch{#1}
+}
+
+\setKVdefault[GraphiquetikzInegLin]{%
+ Opacite=0.25,
+ Couleur=black,%
+ Style=hachures,
+ Hachures={north west lines}
+}
+
+\NewDocumentCommand\InegaliteLineaire{O{}D<>{f}mm}{%
+ \restoreKV[GraphiquetikzInegLin]%
+ \setKV[GraphiquetikzInegLin]{#1}%
+ %style for filling... ?
+ \IfStrEq{\pflineglintikzstyle}{hachures}%
+ {%
+ \tikzset{dominegallintikzstyle/.style={draw=none,pattern=\pflineglintikzhatch,pattern color={\useKV[GraphiquetikzInegLin]{Couleur}},line join=bevel}}
+ }%
+ {}%
+ \IfStrEq{\pflineglintikzstyle}{remplissage}%
+ {%
+ \tikzset{dominegallintikzstyle/.style={draw=none,fill={\useKV[GraphiquetikzInegLin]{Couleur}},fill opacity=\pflineglinopac,line join=bevel}}
+ }%
+ {}%
+ %dummy equation
+ \xintdeffloatfunc pfldummy(x,y) := #3;
+ %coeffc
+ \xdef\coeffc{\xintfloateval{pfldummy(0,0)}}%
+ %coeffa
+ \xdef\coeffa{\xintfloateval{pfldummy(1,0)-pfldummy(0,0)}}%
+ %coeffb
+ \xdef\coeffb{\xintfloateval{pfldummy(0,1)-pfldummy(0,0)}}%
+ %particular part
+ \xintifboolexpr{ \coeffb == 0 }%vertical
+ {%
+ \begin{scope}
+ \clip ({\pflxmin},{\pflymin}) rectangle ({\pflxmax},{\pflymax}) ;
+ \xintifboolexpr{ \coeffa > 0 }%
+ {%
+ \IfBeginWith{#4}{>}%
+ {%
+ \draw[pfltrait,dominegallintikzstyle] ({-(\coeffc)/(\coeffa)},{\pflymin}) rectangle ({\pflxmax},{\pflymax}) ;
+ }%
+ {%
+ \draw[pfltrait,dominegallintikzstyle] ({-(\coeffc)/(\coeffa)},{\pflymin}) rectangle ({\pflxmin},{\pflymax}) ;
+ }%
+ }%
+ {%
+ \IfBeginWith{#4}{>}%
+ {%
+ \draw[pfltrait,dominegallintikzstyle] ({-(\coeffc)/(\coeffa)},{\pflymin}) rectangle ({\pflxmin},{\pflymax}) ;
+ }%
+ {%
+ \draw[pfltrait,dominegallintikzstyle] ({-(\coeffc)/(\coeffa)},{\pflymin}) rectangle ({\pflxmax},{\pflymax}) ;
+ }%
+ }%
+ \draw[pfltrait,{\useKV[GraphiquetikzInegLin]{Couleur}}] ({-(\coeffc)/(\coeffa)},{\pflymin}) -- ({-(\coeffc)/(\coeffa)},{\pflymax}) ;
+ \end{scope}
+ }%
+ {% b!=0 ()
+ \xdef\tmpvalzzyxmin{\xintfloateval{(-\coeffc-\coeffa*(\pflxmin))/(\coeffb)}}%
+ \xdef\tmpvalzzyxmax{\xintfloateval{(-\coeffc-\coeffa*(\pflxmax))/(\coeffb)}}%
+ \begin{scope}
+ \clip ({\pflxmin},{\pflymin}) rectangle ({\pflxmax},{\pflymax}) ;
+ %---
+ \xintifboolexpr{ \coeffb > 0 }%
+ {%
+ \IfBeginWith{#4}{>}%
+ {%
+ \draw[pfltrait,dominegallintikzstyle] ({\pflxmin},{\tmpvalzzyxmin}) |- ({\pflxmax},{\tmpvalzzyxmax}) ;
+ \xintifboolexpr{\tmpvalzzyxmax < \pflymax}%
+ {%
+ \filldraw[pfltrait,dominegallintikzstyle] ({\pflxmin},{\pflxmax}) rectangle ({\pflxmax},{\tmpvalzzyxmax}) ;
+ }%
+ {}%
+ }%
+ {%
+ \draw[pfltrait,dominegallintikzstyle] ({\pflxmin},{\tmpvalzzyxmin}) -| ({\pflxmax},{\tmpvalzzyxmax}) ;
+ \xintifboolexpr{\tmpvalzzyxmin > \pflymin}%
+ {%
+ \filldraw[pfltrait,dominegallintikzstyle] ({\pflxmax},{\pflymin}) rectangle ({\pflxmin},{\tmpvalzzyxmin}) ;
+ }%
+ {}%
+ }%
+ }%
+ {%
+ \IfBeginWith{#4}{>}%
+ {%
+ \draw[pfltrait,dominegallintikzstyle] ({\pflxmin},{\tmpvalzzyxmin}) |- ({\pflxmax},{\tmpvalzzyxmax}) ;
+ \xintifboolexpr{\tmpvalzzyxmax > \pflymin}%
+ {%
+ \filldraw[pfltrait,dominegallintikzstyle] ({\pflxmin},{\pflymin}) rectangle ({\pflxmax},{\tmpvalzzyxmax}) ;
+ }%
+ {}%
+ }%
+ {%
+ \draw[pfltrait,dominegallintikzstyle] ({\pflxmin},{\tmpvalzzyxmin}) -| ({\pflxmax},{\tmpvalzzyxmax}) ;
+ \xintifboolexpr{\tmpvalzzyxmin < \pflymax}%
+ {%
+ \filldraw[pfltrait,dominegallintikzstyle] ({\pflxmin},{\tmpvalzzyxmin}) rectangle ({\pflxmax},{\pflymax}) ;
+ }%
+ {}%
+ }%
+ }%
+ %---
+ \draw[pfltrait,{\useKV[GraphiquetikzInegLin]{Couleur}}] ({\pflymin},{(-\coeffc-\coeffa*(\pflxmin))/(\coeffb)}) -- ({\pflymax},{(-\coeffc-\coeffa*(\pflxmax))/(\coeffb)}) ;
+ \end{scope}
+ }%
+
+}
+
+%====linear inequality [en]
+\defKV[GraphiquetikzInegLinEN]{%
+ opacity=\def\pflineglinopac{#1},%
+ name=\def\pflineglinname{#1},%
+ style=\def\pflineglintikzstyle{#1},%
+ hatch=\def\pflineglintikzhatch{#1}
+}
+
+\setKVdefault[GraphiquetikzInegLinEN]{%
+ opacity=0.25,
+ color=black,
+ style=hatch,
+ hatch={north west lines}
+}
+
+\NewDocumentCommand\LinearInequality{O{}D<>{f}mm}{%
+ \restoreKV[GraphiquetikzInegLinEN]%
+ \setKV[GraphiquetikzInegLinEN]{#1}%
+ %style for filling... ?
+ \IfStrEq{\pflineglintikzstyle}{hatch}%
+ {%
+ \tikzset{dominegallintikzstyle/.style={draw=none,pattern=\pflineglintikzhatch,pattern color={\useKV[GraphiquetikzInegLinEN]{color}},line join=bevel}}
+ }%
+ {}%
+ \IfStrEq{\pflineglintikzstyle}{fill}%
+ {%
+ \tikzset{dominegallintikzstyle/.style={draw=none,fill={\useKV[GraphiquetikzInegLinEN]{color}},fill opacity=\pflineglinopac,line join=bevel}}
+ }%
+ {}%
+ %dummy equation
+ \xintdeffloatfunc pfldummy(x,y) := #3;
+ %coeffc
+ \xdef\coeffc{\xintfloateval{pfldummy(0,0)}}%
+ %coeffa
+ \xdef\coeffa{\xintfloateval{pfldummy(1,0)-pfldummy(0,0)}}%
+ %coeffb
+ \xdef\coeffb{\xintfloateval{pfldummy(0,1)-pfldummy(0,0)}}%
+ %particular part
+ \xintifboolexpr{ \coeffb == 0 }%vertical
+ {%
+ \begin{scope}
+ \clip ({\pflxmin},{\pflymin}) rectangle ({\pflxmax},{\pflymax}) ;
+ \xintifboolexpr{ \coeffa > 0 }%
+ {%
+ \IfBeginWith{#4}{>}%
+ {%
+ \draw[tkzgrphline,dominegallintikzstyle] ({-(\coeffc)/(\coeffa)},{\pflymin}) rectangle ({\pflxmax},{\pflymax}) ;
+ }%
+ {%
+ \draw[tkzgrphline,dominegallintikzstyle] ({-(\coeffc)/(\coeffa)},{\pflymin}) rectangle ({\pflxmin},{\pflymax}) ;
+ }%
+ }%
+ {%
+ \IfBeginWith{#4}{>}%
+ {%
+ \draw[tkzgrphline,dominegallintikzstyle] ({-(\coeffc)/(\coeffa)},{\pflymin}) rectangle ({\pflxmin},{\pflymax}) ;
+ }%
+ {%
+ \draw[tkzgrphline,dominegallintikzstyle] ({-(\coeffc)/(\coeffa)},{\pflymin}) rectangle ({\pflxmax},{\pflymax}) ;
+ }%
+ }%
+ \draw[tkzgrphline,{\useKV[GraphiquetikzInegLinEN]{color}}] ({-(\coeffc)/(\coeffa)},{\pflymin}) -- ({-(\coeffc)/(\coeffa)},{\pflymax}) ;
+ \end{scope}
+ }%
+ {% b!=0 ()
+ \xdef\tmpvalzzyxmin{\xintfloateval{(-\coeffc-\coeffa*(\pflxmin))/(\coeffb)}}%
+ \xdef\tmpvalzzyxmax{\xintfloateval{(-\coeffc-\coeffa*(\pflxmax))/(\coeffb)}}%
+ \begin{scope}
+ \clip ({\pflxmin},{\pflymin}) rectangle ({\pflxmax},{\pflymax}) ;
+ %---
+ \xintifboolexpr{ \coeffb > 0 }%
+ {%
+ \IfBeginWith{#4}{>}%
+ {%
+ \draw[tkzgrphline,dominegallintikzstyle] ({\pflxmin},{\tmpvalzzyxmin}) |- ({\pflxmax},{\tmpvalzzyxmax}) ;
+ \xintifboolexpr{\tmpvalzzyxmax < \pflymax}%
+ {%
+ \filldraw[tkzgrphline,dominegallintikzstyle] ({\pflxmin},{\pflxmax}) rectangle ({\pflxmax},{\tmpvalzzyxmax}) ;
+ }%
+ {}%
+ }%
+ {%
+ \draw[tkzgrphline,dominegallintikzstyle] ({\pflxmin},{\tmpvalzzyxmin}) -| ({\pflxmax},{\tmpvalzzyxmax}) ;
+ \xintifboolexpr{\tmpvalzzyxmin > \pflymin}%
+ {%
+ \filldraw[tkzgrphline,dominegallintikzstyle] ({\pflxmax},{\pflymin}) rectangle ({\pflxmin},{\tmpvalzzyxmin}) ;
+ }%
+ {}%
+ }%
+ }%
+ {%
+ \IfBeginWith{#4}{>}%
+ {%
+ \draw[tkzgrphline,dominegallintikzstyle] ({\pflxmin},{\tmpvalzzyxmin}) |- ({\pflxmax},{\tmpvalzzyxmax}) ;
+ \xintifboolexpr{\tmpvalzzyxmax > \pflymin}%
+ {%
+ \filldraw[tkzgrphline,dominegallintikzstyle] ({\pflxmin},{\pflymin}) rectangle ({\pflxmax},{\tmpvalzzyxmax}) ;
+ }%
+ {}%
+ }%
+ {%
+ \draw[tkzgrphline,dominegallintikzstyle] ({\pflxmin},{\tmpvalzzyxmin}) -| ({\pflxmax},{\tmpvalzzyxmax}) ;
+ \xintifboolexpr{\tmpvalzzyxmin < \pflymax}%
+ {%
+ \filldraw[tkzgrphline,dominegallintikzstyle] ({\pflxmin},{\tmpvalzzyxmin}) rectangle ({\pflxmax},{\pflymax}) ;
+ }%
+ {}%
+ }%
+ }%
+ %---
+ \draw[tkzgrphline,{\useKV[GraphiquetikzInegLinEN]{color}}] ({\pflymin},{(-\coeffc-\coeffa*(\pflxmin))/(\coeffb)}) -- ({\pflymax},{(-\coeffc-\coeffa*(\pflxmax))/(\coeffb)}) ;
+ \end{scope}
+ }%
+
+}
+
\endinput
\ No newline at end of file
More information about the tex-live-commits
mailing list.