texlive[69804] branches/branch2023.final/Master/texmf-dist: proflycee

commits+karl at tug.org commits+karl at tug.org
Sun Feb 11 22:26:09 CET 2024


Revision: 69804
          https://tug.org/svn/texlive?view=revision&revision=69804
Author:   karl
Date:     2024-02-11 22:26:08 +0100 (Sun, 11 Feb 2024)
Log Message:
-----------
proflycee (branch) (11feb24)

Modified Paths:
--------------
    branches/branch2023.final/Master/texmf-dist/doc/latex/proflycee/ProfLycee-doc.pdf
    branches/branch2023.final/Master/texmf-dist/doc/latex/proflycee/ProfLycee-doc.tex
    branches/branch2023.final/Master/texmf-dist/doc/latex/proflycee/ProfLycee-docctan.zip
    branches/branch2023.final/Master/texmf-dist/tex/latex/proflycee/ProfLycee.sty
    branches/branch2023.final/Master/texmf-dist/tex/latex/proflycee/proflycee-tools-ecritures.tex
    branches/branch2023.final/Master/texmf-dist/tex/latex/proflycee/proflycee-tools-probas.tex

Modified: branches/branch2023.final/Master/texmf-dist/doc/latex/proflycee/ProfLycee-doc.pdf
===================================================================
(Binary files differ)

Modified: branches/branch2023.final/Master/texmf-dist/doc/latex/proflycee/ProfLycee-doc.tex
===================================================================
--- branches/branch2023.final/Master/texmf-dist/doc/latex/proflycee/ProfLycee-doc.tex	2024-02-11 21:25:57 UTC (rev 69803)
+++ branches/branch2023.final/Master/texmf-dist/doc/latex/proflycee/ProfLycee-doc.tex	2024-02-11 21:26:08 UTC (rev 69804)
@@ -5,8 +5,8 @@
 % arara: lualatex: {shell: yes, synctex: no, interaction: batchmode} if found('log', '(undefined references|Please rerun|Rerun to get)')
 
 \documentclass[a4paper,french,11pt]{article}
-\def\PLversion{3.02a}
-\def\PLdate{7 février 2024}
+\def\PLversion{3.02b}
+\def\PLdate{9 février 2024}
 \usepackage{amsfonts}
 \usepackage{ProfLycee}
 \useproflyclib{piton,minted,pythontex,ecritures}

Modified: branches/branch2023.final/Master/texmf-dist/doc/latex/proflycee/ProfLycee-docctan.zip
===================================================================
(Binary files differ)

Modified: branches/branch2023.final/Master/texmf-dist/tex/latex/proflycee/ProfLycee.sty
===================================================================
--- branches/branch2023.final/Master/texmf-dist/tex/latex/proflycee/ProfLycee.sty	2024-02-11 21:25:57 UTC (rev 69803)
+++ branches/branch2023.final/Master/texmf-dist/tex/latex/proflycee/ProfLycee.sty	2024-02-11 21:26:08 UTC (rev 69804)
@@ -3,7 +3,8 @@
 % or later, see http://www.latex-project.org/lppl.txtf
 
 \NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{ProfLycee}[2024/02/07 3.02a Aide pour l'utilisation de LaTeX en lycee]
+\ProvidesPackage{ProfLycee}[2024/02/09 3.02b Aide pour l'utilisation de LaTeX en lycee]
+% 3.02b	Amélioration du code pour les arbres de probas (tks M. Degrange pour les suggestions)
 % 3.02a	Ajout des [ecritures] proba conditionnelle, norme, valeur absolue et IF/IC
 % 3.01g	Ajout de commandes internes, en phase de test (et non documentées à 100%...)
 % 3.01f	PseudoCode avec piton (avec langage=minimal de FP ^^) + Suppression Terminal (doublon avec sim-os-menus)

Modified: branches/branch2023.final/Master/texmf-dist/tex/latex/proflycee/proflycee-tools-ecritures.tex
===================================================================
--- branches/branch2023.final/Master/texmf-dist/tex/latex/proflycee/proflycee-tools-ecritures.tex	2024-02-11 21:25:57 UTC (rev 69803)
+++ branches/branch2023.final/Master/texmf-dist/tex/latex/proflycee/proflycee-tools-ecritures.tex	2024-02-11 21:26:08 UTC (rev 69804)
@@ -345,8 +345,8 @@
 		}%
 		=
 		\IfStrEqCase{\intflucconfNiv}{%
-			{2de}{\IntervalleFF{ \ValIFpD - \dfrac{1}{\sqrt{\intflucconfN}} }{ \ValIFpD + \dfrac{1}{\sqrt{\intflucconfN}}}}%
-			{Term}{\IntervalleFF{ \ValIFpD-\num{\ualpha}\dfrac{\sqrt{\ValIFp\mleft(1-\ValIFp\mright)}}{\sqrt{\intflucconfN}} }{ \ValIFpD+\num{\ualpha}\dfrac{\sqrt{\ValIFp\mleft(1-\ValIFp\mright)}}{\sqrt{\intflucconfN}} }}%
+			{2de}{\IntervalleFF{ \ValIFpD - \dfrac{1}{\sqrt{\num{\intflucconfN}}} }{ \ValIFpD + \dfrac{1}{\sqrt{\num{\intflucconfN}}}}}%
+			{Term}{\IntervalleFF{ \ValIFpD-\num{\ualpha}\dfrac{\sqrt{\ValIFp\mleft(1-\ValIFp\mright)}}{\sqrt{\num{\intflucconfN}}} }{ \ValIFpD+\num{\ualpha}\dfrac{\sqrt{\ValIFp\mleft(1-\ValIFp\mright)}}{\sqrt{\num{\intflucconfN}}} }}%
 		}%
 	}%
 	{}%

Modified: branches/branch2023.final/Master/texmf-dist/tex/latex/proflycee/proflycee-tools-probas.tex
===================================================================
--- branches/branch2023.final/Master/texmf-dist/tex/latex/proflycee/proflycee-tools-probas.tex	2024-02-11 21:25:57 UTC (rev 69803)
+++ branches/branch2023.final/Master/texmf-dist/tex/latex/proflycee/proflycee-tools-probas.tex	2024-02-11 21:26:08 UTC (rev 69804)
@@ -233,6 +233,8 @@
 }
 
 %%------ARBRESPROBAS
+\NewDocumentCommand\numdots{}{\vphantom{0,5}\ldots}
+
 \defKV[PLTIKZARBRE]{%
 	Unite=\def\PLAPunite{#1},%
 	EspaceNiveau=\def\PLAPespniv{#1},%
@@ -241,7 +243,9 @@
 	Police=\def\PLAPfont{#1},%
 	PoliceProbas=\def\PLAPfontproba{#1},%
 	StyleTrait=\def\PLAPtypetrait{#1},%
-	EpaisseurTrait=\def\PLAPeptrait{#1}
+	EpaisseurTrait=\def\PLAPeptrait{#1},%
+	PositionProbas=\def\PLAPposprob{#1},%
+	CouleurFond=\def\PLAPcolback{#1}
 }
 
 \setKVdefault[PLTIKZARBRE]{%
@@ -254,9 +258,26 @@
 	InclineProbas=true,%
 	Fleche=false,%
 	StyleTrait={},%
-	EpaisseurTrait=semithick
+	EpaisseurTrait=semithick,%
+	PositionProbas={},%
+	CouleurFond=white
 }
 
+\NewDocumentCommand\IntPlaceProbasArbre{ m m m m m }{%
+	%1=nœud initial
+	%2=nœud final
+	%3=positionlistofitems
+	%4=probaslistofitems
+	%5=auto
+	\IfStrEqCase{\PLAPposprob}{%
+		{}{\draw[PLfleche] (#1)--(#2) node[probas,PLetiquette,{#3},fill=\PLAPcolback] {{#4}} ;}%PositionProbas vide = on lit
+		{auto}{\draw[PLfleche] (#1)--(#2) node[probas,PLetiquette,#5] {{#4}} ;}%
+		{dessus}{\draw[PLfleche] (#1)--(#2) node[probas,PLetiquette,above=1pt] {{#4}} ;}%
+		{dessous}{\draw[PLfleche] (#1)--(#2) node[probas,PLetiquette,below=1pt] {{#4}} ;}%
+		{sur}{\draw[PLfleche] (#1)--(#2) node[probas,PLetiquette,fill=\PLAPcolback] {{#4}} ;}%
+	}%
+}
+
 \NewDocumentCommand\ArbreProbasTikz{ O{} m }{%1=options,2=libellés
 	\useKVdefault[PLTIKZARBRE]%
 	\setKV[PLTIKZARBRE]{#1}%
@@ -267,8 +288,8 @@
 		\tikzstyle{noeud} = [font=\PLAPfont]
 		\tikzstyle{probas}= [font=\PLAPfontproba]
 		\ifboolKV[PLTIKZARBRE]{InclineProbas}
-			{\tikzstyle{PLetiquette}=[pos=0.525,sloped,fill=white]}
-			{\tikzstyle{PLetiquette}=[pos=0.525,fill=white]}
+			{\tikzstyle{PLetiquette}=[pos=0.525,sloped,inner sep=2pt,outer sep=2pt,rectangle]}
+			{\tikzstyle{PLetiquette}=[pos=0.525,inner sep=2pt,outer sep=2pt,rectangle]}
 		\ifboolKV[PLTIKZARBRE]{Fleche}
 			{\tikzstyle{PLfleche}=[->,>=latex,\PLAPtypetrait,\PLAPeptrait]}
 			{\tikzstyle{PLfleche}=[\PLAPtypetrait,\PLAPeptrait]}
@@ -284,22 +305,40 @@
 			\node[noeud] (A24) at ({2*\PLAPespniv},{-3*\PLAPespfeuille}) {\PLARBREDONNES[6,1]};
 			\ifstrempty{\PLARBREDONNES[1,2]}
 				{\draw[PLfleche] (R)--(A11) ;}
-				{\draw[PLfleche] (R)--(A11) node[probas,PLetiquette,{\PLARBREDONNES[1,3]}] {{\PLARBREDONNES[1,2]}} ;}
+				{%
+					\IntPlaceProbasArbre{R}{A11}{\PLARBREDONNES[1,3]}{\PLARBREDONNES[1,2]}{above=1pt}
+					%\draw[PLfleche] (R)--(A11) node[probas,PLetiquette,{\PLARBREDONNES[1,3]}] {{\PLARBREDONNES[1,2]}} ;%
+				}%
 			\ifstrempty{\PLARBREDONNES[2,2]}
 				{\draw[PLfleche] (A11)--(A21) ;}
-				{\draw[PLfleche] (A11)--(A21) node[probas,PLetiquette,{\PLARBREDONNES[2,3]}] {{\PLARBREDONNES[2,2]}} ;}
+				{%
+					\IntPlaceProbasArbre{A11}{A21}{\PLARBREDONNES[2,3]}{\PLARBREDONNES[2,2]}{above=1pt}
+					%\draw[PLfleche] (A11)--(A21) node[probas,PLetiquette,{\PLARBREDONNES[2,3]}] {{\PLARBREDONNES[2,2]}} ;%
+				}%
 			\ifstrempty{\PLARBREDONNES[3,2]}
 				{\draw[PLfleche] (A11)--(A22) ;}
-				{\draw[PLfleche] (A11)--(A22) node[probas,PLetiquette,{\PLARBREDONNES[3,3]}] {{\PLARBREDONNES[3,2]}} ;}
+				{%
+					\IntPlaceProbasArbre{A11}{A22}{\PLARBREDONNES[2,3]}{\PLARBREDONNES[3,2]}{below=1pt}
+					%\draw[PLfleche] (A11)--(A22) node[probas,PLetiquette,{\PLARBREDONNES[3,3]}] {{\PLARBREDONNES[3,2]}} ;
+				}%
 			\ifstrempty{\PLARBREDONNES[4,2]}
 				{\draw[PLfleche] (R)--(A12) ;}
-				{\draw[PLfleche] (R)--(A12) node[probas,PLetiquette,{\PLARBREDONNES[4,3]}] {{\PLARBREDONNES[4,2]}} ;}
+				{%
+					\IntPlaceProbasArbre{R}{A12}{\PLARBREDONNES[4,3]}{\PLARBREDONNES[4,2]}{below=1pt}
+					%\draw[PLfleche] (R)--(A12) node[probas,PLetiquette,{\PLARBREDONNES[4,3]}] {{\PLARBREDONNES[4,2]}} ;%
+				}%
 			\ifstrempty{\PLARBREDONNES[5,2]}
 				{\draw[PLfleche] (A12)--(A23) ;}
-				{\draw[PLfleche] (A12)--(A23) node[probas,PLetiquette,{\PLARBREDONNES[5,3]}] {{\PLARBREDONNES[5,2]}} ;}
+				{%
+					\IntPlaceProbasArbre{A12}{A23}{\PLARBREDONNES[5,3]}{\PLARBREDONNES[5,2]}{above=1pt}
+					%\draw[PLfleche] (A12)--(A23) node[probas,PLetiquette,{\PLARBREDONNES[5,3]}] {{\PLARBREDONNES[5,2]}} ;%
+				}%
 			\ifstrempty{\PLARBREDONNES[6,2]}
 				{\draw[PLfleche] (A12)--(A24) ;}
-				{\draw[PLfleche] (A12)--(A24) node[probas,PLetiquette,{\PLARBREDONNES[6,3]}] {{\PLARBREDONNES[6,2]}} ;}
+				{%
+					\IntPlaceProbasArbre{A12}{A24}{\PLARBREDONNES[6,3]}{\PLARBREDONNES[6,2]}{below=1pt}
+					%\draw[PLfleche] (A12)--(A24) node[probas,PLetiquette,{\PLARBREDONNES[6,3]}] {{\PLARBREDONNES[6,2]}} ;%
+				}%
 		}{}
 		%arbre3x2
 		\IfEq{\PLAPtype}{3x2}
@@ -318,31 +357,58 @@
 			%branches
 			\ifstrempty{\PLARBREDONNES[1,2]}
 				{\draw[PLfleche] (R)--(A11) ;}
-				{\draw[PLfleche] (R)--(A11) node[probas,PLetiquette,{\PLARBREDONNES[1,3]}] {{\PLARBREDONNES[1,2]}} ;}
+				{%
+					\IntPlaceProbasArbre{R}{A11}{\PLARBREDONNES[1,3]}{\PLARBREDONNES[1,2]}{above=1pt}
+					%\draw[PLfleche] (R)--(A11) node[probas,PLetiquette,{\PLARBREDONNES[1,3]}] {{\PLARBREDONNES[1,2]}} ;%
+				}%
 			\ifstrempty{\PLARBREDONNES[2,2]}
 				{\draw[PLfleche] (A11)--(A21) ;}
-				{\draw[PLfleche] (A11)--(A21) node[probas,PLetiquette,{\PLARBREDONNES[2,3]}] {{\PLARBREDONNES[2,2]}} ;}
+				{%
+					\IntPlaceProbasArbre{A11}{A21}{\PLARBREDONNES[2,3]}{\PLARBREDONNES[2,2]}{above=1pt}
+					%\draw[PLfleche] (A11)--(A21) node[probas,PLetiquette,{\PLARBREDONNES[2,3]}] {{\PLARBREDONNES[2,2]}} ;
+				}%
 			\ifstrempty{\PLARBREDONNES[3,2]}
 				{\draw[PLfleche] (A11)--(A22) ;}
-				{\draw[PLfleche] (A11)--(A22) node[probas,PLetiquette,{\PLARBREDONNES[3,3]}] {{\PLARBREDONNES[3,2]}} ;}
+				{
+					\IntPlaceProbasArbre{A11}{A22}{\PLARBREDONNES[3,3]}{\PLARBREDONNES[3,2]}{below=1pt}
+					%\draw[PLfleche] (A11)--(A22) node[probas,PLetiquette,{\PLARBREDONNES[3,3]}] {{\PLARBREDONNES[3,2]}} ;%
+				}
 			\ifstrempty{\PLARBREDONNES[4,2]}
 				{\draw[PLfleche] (R)--(A12) ;}
-				{\draw[PLfleche] (R)--(A12) node[probas,PLetiquette,{\PLARBREDONNES[4,3]}] {{\PLARBREDONNES[4,2]}} ;}
+				{
+					\IntPlaceProbasArbre{R}{A12}{\PLARBREDONNES[4,3]}{\PLARBREDONNES[4,2]}{above=-1pt}
+					%\draw[PLfleche] (R)--(A12) node[probas,PLetiquette,{\PLARBREDONNES[4,3]}] {{\PLARBREDONNES[4,2]}} ;
+				}
 			\ifstrempty{\PLARBREDONNES[5,2]}
 				{\draw[PLfleche] (A12)--(A23) ;}
-				{\draw[PLfleche] (A12)--(A23) node[probas,PLetiquette,{\PLARBREDONNES[5,3]}] {{\PLARBREDONNES[5,2]}} ;}
+				{
+					\IntPlaceProbasArbre{A12}{A23}{\PLARBREDONNES[5,3]}{\PLARBREDONNES[5,2]}{above=1pt}
+					%\draw[PLfleche] (A12)--(A23) node[probas,PLetiquette,{\PLARBREDONNES[5,3]}] {{\PLARBREDONNES[5,2]}} ;
+				}
 			\ifstrempty{\PLARBREDONNES[6,2]}
 				{\draw[PLfleche] (A12)--(A24) ;}
-				{\draw[PLfleche] (A12)--(A24) node[probas,PLetiquette,{\PLARBREDONNES[6,3]}] {{\PLARBREDONNES[6,2]}} ;}
+				{
+					\IntPlaceProbasArbre{A12}{A24}{\PLARBREDONNES[6,3]}{\PLARBREDONNES[6,2]}{below=1pt}
+					%\draw[PLfleche] (A12)--(A24) node[probas,PLetiquette,{\PLARBREDONNES[6,3]}] {{\PLARBREDONNES[6,2]}} ;
+				}
 			\ifstrempty{\PLARBREDONNES[7,2]}
 				{\draw[PLfleche] (R)--(A13) ;}
-				{\draw[PLfleche] (R)--(A13) node[probas,PLetiquette,{\PLARBREDONNES[7,3]}] {{\PLARBREDONNES[7,2]}} ;}
+				{
+					\IntPlaceProbasArbre{R}{A13}{\PLARBREDONNES[7,3]}{\PLARBREDONNES[7,2]}{below=1pt}
+					%\draw[PLfleche] (R)--(A13) node[probas,PLetiquette,{\PLARBREDONNES[7,3]}] {{\PLARBREDONNES[7,2]}} ;
+				}
 			\ifstrempty{\PLARBREDONNES[8,2]}
 				{\draw[PLfleche] (A13)--(A25) ;}
-				{\draw[PLfleche] (A13)--(A25) node[probas,PLetiquette,{\PLARBREDONNES[8,3]}] {{\PLARBREDONNES[8,2]}} ;}
+				{
+					\IntPlaceProbasArbre{A13}{A25}{\PLARBREDONNES[8,3]}{\PLARBREDONNES[8,2]}{above=1pt}
+					%\draw[PLfleche] (A13)--(A25) node[probas,PLetiquette,{\PLARBREDONNES[8,3]}] {{\PLARBREDONNES[8,2]}} ;
+				}
 			\ifstrempty{\PLARBREDONNES[9,2]}
 				{\draw[PLfleche] (A13)--(A26) ;}
-				{\draw[PLfleche] (A13)--(A26) node[probas,PLetiquette,{\PLARBREDONNES[9,3]}] {{\PLARBREDONNES[9,2]}} ;}
+				{
+					\IntPlaceProbasArbre{A13}{A26}{\PLARBREDONNES[9,3]}{\PLARBREDONNES[9,2]}{below=1pt}
+					%\draw[PLfleche] (A13)--(A26) node[probas,PLetiquette,{\PLARBREDONNES[9,3]}] {{\PLARBREDONNES[9,2]}} ;
+				}
 		}{}
 		%arbre2x3
 		\IfEq{\PLAPtype}{2x3}
@@ -360,28 +426,52 @@
 			%branches
 			\ifstrempty{\PLARBREDONNES[1,2]}
 				{\draw[PLfleche] (R)--(A11) ;}
-				{\draw[PLfleche] (R)--(A11) node[probas,PLetiquette,{\PLARBREDONNES[1,3]}] {{\PLARBREDONNES[1,2]}} ;}
+				{
+					\IntPlaceProbasArbre{R}{A11}{\PLARBREDONNES[1,3]}{\PLARBREDONNES[1,2]}{above=1pt}
+					%\draw[PLfleche] (R)--(A11) node[probas,PLetiquette,{\PLARBREDONNES[1,3]}] {{\PLARBREDONNES[1,2]}} ;
+				}
 			\ifstrempty{\PLARBREDONNES[5,2]}
 				{\draw[PLfleche] (R)--(A12) ;}
-				{\draw[PLfleche] (R)--(A12) node[probas,PLetiquette,{\PLARBREDONNES[5,3]}] {{\PLARBREDONNES[5,2]}} ;}
+				{
+					\IntPlaceProbasArbre{R}{A12}{\PLARBREDONNES[5,3]}{\PLARBREDONNES[5,2]}{below=1pt}
+					%\draw[PLfleche] (R)--(A12) node[probas,PLetiquette,{\PLARBREDONNES[5,3]}] {{\PLARBREDONNES[5,2]}} ;
+				}
 			\ifstrempty{\PLARBREDONNES[2,2]}
 				{\draw[PLfleche] (A11)--(A21) ;}
-				{\draw[PLfleche] (A11)--(A21) node[probas,PLetiquette,{\PLARBREDONNES[2,3]}] {{\PLARBREDONNES[2,2]}} ;}
+				{
+					\IntPlaceProbasArbre{A11}{A21}{\PLARBREDONNES[2,3]}{\PLARBREDONNES[2,2]}{above=1pt}
+					%\draw[PLfleche] (A11)--(A21) node[probas,PLetiquette,{\PLARBREDONNES[2,3]}] {{\PLARBREDONNES[2,2]}} ;
+				}
 			\ifstrempty{\PLARBREDONNES[3,2]}
 				{\draw[PLfleche] (A11)--(A22) ;}
-				{\draw[PLfleche] (A11)--(A22) node[probas,PLetiquette,{\PLARBREDONNES[3,3]}] {{\PLARBREDONNES[3,2]}} ;}
+				{
+					\IntPlaceProbasArbre{A11}{A22}{\PLARBREDONNES[2,3]}{\PLARBREDONNES[2,2]}{above=-1pt}
+					%\draw[PLfleche] (A11)--(A22) node[probas,PLetiquette,{\PLARBREDONNES[3,3]}] {{\PLARBREDONNES[3,2]}} ;
+				}
 			\ifstrempty{\PLARBREDONNES[4,2]}
 				{\draw[PLfleche] (A11)--(A23) ;}
-				{\draw[PLfleche] (A11)--(A23) node[probas,PLetiquette,{\PLARBREDONNES[4,3]}] {{\PLARBREDONNES[4,2]}} ;}
+				{
+					\IntPlaceProbasArbre{A11}{A23}{\PLARBREDONNES[4,3]}{\PLARBREDONNES[4,2]}{below=1pt}
+					%\draw[PLfleche] (A11)--(A23) node[probas,PLetiquette,{\PLARBREDONNES[4,3]}] {{\PLARBREDONNES[4,2]}} ;
+				}
 			\ifstrempty{\PLARBREDONNES[6,2]}
 				{\draw[PLfleche] (A12)--(A24) ;}
-				{\draw[PLfleche] (A12)--(A24) node[probas,PLetiquette,{\PLARBREDONNES[6,3]}] {{\PLARBREDONNES[6,2]}} ;}
+				{
+					\IntPlaceProbasArbre{A12}{A24}{\PLARBREDONNES[6,3]}{\PLARBREDONNES[6,2]}{above=1pt}
+					%\draw[PLfleche] (A12)--(A24) node[probas,PLetiquette,{\PLARBREDONNES[6,3]}] {{\PLARBREDONNES[6,2]}} ;
+				}
 			\ifstrempty{\PLARBREDONNES[7,2]}
 				{\draw[PLfleche] (A12)--(A25) ;}
-				{\draw[PLfleche] (A12)--(A25) node[probas,PLetiquette,{\PLARBREDONNES[7,3]}] {{\PLARBREDONNES[7,2]}} ;}
+				{
+					\IntPlaceProbasArbre{A12}{A25}{\PLARBREDONNES[7,3]}{\PLARBREDONNES[7,2]}{above=-1pt}
+					%\draw[PLfleche] (A12)--(A25) node[probas,PLetiquette,{\PLARBREDONNES[7,3]}] {{\PLARBREDONNES[7,2]}} ;
+				}
 			\ifstrempty{\PLARBREDONNES[8,2]}
 				{\draw[PLfleche] (A12)--(A26) ;}
-				{\draw[PLfleche] (A12)--(A26) node[probas,PLetiquette,{\PLARBREDONNES[8,3]}] {{\PLARBREDONNES[8,2]}} ;}
+				{
+					\IntPlaceProbasArbre{A12}{A26}{\PLARBREDONNES[8,3]}{\PLARBREDONNES[8,2]}{below=1pt}
+					%\draw[PLfleche] (A12)--(A26) node[probas,PLetiquette,{\PLARBREDONNES[8,3]}] {{\PLARBREDONNES[8,2]}} ;
+				}
 		}{}
 		%arbre2x3
 		\IfEq{\PLAPtype}{3x3}
@@ -403,41 +493,77 @@
 			%branches
 			\ifstrempty{\PLARBREDONNES[1,2]}
 				{\draw[PLfleche] (R)--(A11) ;}
-				{\draw[PLfleche] (R)--(A11) node[probas,PLetiquette,{\PLARBREDONNES[1,3]}] {{\PLARBREDONNES[1,2]}} ;}
+				{
+					\IntPlaceProbasArbre{R}{A11}{\PLARBREDONNES[1,3]}{\PLARBREDONNES[1,2]}{above=1pt}
+					%\draw[PLfleche] (R)--(A11) node[probas,PLetiquette,{\PLARBREDONNES[1,3]}] {{\PLARBREDONNES[1,2]}} ;
+				}
 			\ifstrempty{\PLARBREDONNES[5,2]}
 				{\draw[PLfleche] (R)--(A12) ;}
-				{\draw[PLfleche] (R)--(A12) node[probas,PLetiquette,{\PLARBREDONNES[5,3]}] {{\PLARBREDONNES[5,2]}} ;}
+				{
+					\IntPlaceProbasArbre{R}{A12}{\PLARBREDONNES[5,3]}{\PLARBREDONNES[5,2]}{above=-1pt}
+					%\draw[PLfleche] (R)--(A12) node[probas,PLetiquette,{\PLARBREDONNES[5,3]}] {{\PLARBREDONNES[5,2]}} ;
+				}
 			\ifstrempty{\PLARBREDONNES[9,2]}
 				{\draw[PLfleche] (R)--(A13) ;}
-				{\draw[PLfleche] (R)--(A13) node[probas,PLetiquette,{\PLARBREDONNES[9,3]}] {{\PLARBREDONNES[9,2]}} ;}
+				{
+					\IntPlaceProbasArbre{R}{A13}{\PLARBREDONNES[9,3]}{\PLARBREDONNES[9,2]}{below=1pt}
+					%\draw[PLfleche] (R)--(A13) node[probas,PLetiquette,{\PLARBREDONNES[9,3]}] {{\PLARBREDONNES[9,2]}} ;
+				}
 			%N2
 			\ifstrempty{\PLARBREDONNES[2,2]}
 				{\draw[PLfleche] (A11)--(A21) ;}
-				{\draw[PLfleche] (A11)--(A21) node[probas,PLetiquette,{\PLARBREDONNES[2,3]}] {{\PLARBREDONNES[2,2]}} ;}
+				{
+					\IntPlaceProbasArbre{A11}{A21}{\PLARBREDONNES[2,3]}{\PLARBREDONNES[2,2]}{above=1pt}
+					%\draw[PLfleche] (A11)--(A21) node[probas,PLetiquette,{\PLARBREDONNES[2,3]}] {{\PLARBREDONNES[2,2]}} ;
+				}
 			\ifstrempty{\PLARBREDONNES[3,2]}
 				{\draw[PLfleche] (A11)--(A22) ;}
-				{\draw[PLfleche] (A11)--(A22) node[probas,PLetiquette,{\PLARBREDONNES[3,3]}] {{\PLARBREDONNES[3,2]}} ;}
+				{
+					\IntPlaceProbasArbre{A11}{A22}{\PLARBREDONNES[3,3]}{\PLARBREDONNES[3,2]}{above=-1pt}
+					%\draw[PLfleche] (A11)--(A22) node[probas,PLetiquette,{\PLARBREDONNES[3,3]}] {{\PLARBREDONNES[3,2]}} ;
+				}
 			\ifstrempty{\PLARBREDONNES[4,2]}
 				{\draw[PLfleche] (A11)--(A23) ;}
-				{\draw[PLfleche] (A11)--(A23) node[probas,PLetiquette,{\PLARBREDONNES[4,3]}] {{\PLARBREDONNES[4,2]}} ;}
+				{
+					\IntPlaceProbasArbre{A11}{A23}{\PLARBREDONNES[4,3]}{\PLARBREDONNES[4,2]}{below=1pt}
+					%\draw[PLfleche] (A11)--(A23) node[probas,PLetiquette,{\PLARBREDONNES[4,3]}] {{\PLARBREDONNES[4,2]}} ;
+				}
 			\ifstrempty{\PLARBREDONNES[6,2]}
 				{\draw[PLfleche] (A12)--(A24) ;}
-				{\draw[PLfleche] (A12)--(A24) node[probas,PLetiquette,{\PLARBREDONNES[6,3]}] {{\PLARBREDONNES[6,2]}} ;}
+				{
+					\IntPlaceProbasArbre{A12}{A24}{\PLARBREDONNES[6,3]}{\PLARBREDONNES[6,2]}{above=1pt}
+					%\draw[PLfleche] (A12)--(A24) node[probas,PLetiquette,{\PLARBREDONNES[6,3]}] {{\PLARBREDONNES[6,2]}} ;
+				}
 			\ifstrempty{\PLARBREDONNES[7,2]}
 				{\draw[PLfleche] (A12)--(A25) ;}
-				{\draw[PLfleche] (A12)--(A25) node[probas,PLetiquette,{\PLARBREDONNES[7,3]}] {{\PLARBREDONNES[7,2]}} ;}
+				{
+					\IntPlaceProbasArbre{A12}{A25}{\PLARBREDONNES[7,3]}{\PLARBREDONNES[7,2]}{above=-1pt}
+					%\draw[PLfleche] (A12)--(A25) node[probas,PLetiquette,{\PLARBREDONNES[7,3]}] {{\PLARBREDONNES[7,2]}} ;
+				}
 			\ifstrempty{\PLARBREDONNES[8,2]}
 				{\draw[PLfleche] (A12)--(A26) ;}
-				{\draw[PLfleche] (A12)--(A26) node[probas,PLetiquette,{\PLARBREDONNES[8,3]}] {{\PLARBREDONNES[8,2]}} ;}
+				{
+					\IntPlaceProbasArbre{A12}{A26}{\PLARBREDONNES[8,3]}{\PLARBREDONNES[8,2]}{below=1pt}
+					%\draw[PLfleche] (A12)--(A26) node[probas,PLetiquette,{\PLARBREDONNES[8,3]}] {{\PLARBREDONNES[8,2]}} ;
+				}
 			\ifstrempty{\PLARBREDONNES[10,2]}
 				{\draw[PLfleche] (A13)--(A27) ;}
-				{\draw[PLfleche] (A13)--(A27) node[probas,PLetiquette,{\PLARBREDONNES[10,3]}] {{\PLARBREDONNES[10,2]}} ;}
+				{
+					\IntPlaceProbasArbre{A13}{A27}{\PLARBREDONNES[10,3]}{\PLARBREDONNES[10,2]}{above=1pt}
+					%\draw[PLfleche] (A13)--(A27) node[probas,PLetiquette,{\PLARBREDONNES[10,3]}] {{\PLARBREDONNES[10,2]}} ;
+				}
 			\ifstrempty{\PLARBREDONNES[11,2]}
 				{\draw[PLfleche] (A13)--(A28) ;}
-				{\draw[PLfleche] (A13)--(A28) node[probas,PLetiquette,{\PLARBREDONNES[11,3]}] {{\PLARBREDONNES[11,2]}} ;}
+				{
+					\IntPlaceProbasArbre{A13}{A28}{\PLARBREDONNES[11,3]}{\PLARBREDONNES[11,2]}{above=-1pt}
+					%\draw[PLfleche] (A13)--(A28) node[probas,PLetiquette,{\PLARBREDONNES[11,3]}] {{\PLARBREDONNES[11,2]}} ;
+				}
 			\ifstrempty{\PLARBREDONNES[12,2]}
 				{\draw[PLfleche] (A13)--(A29) ;}
-				{\draw[PLfleche] (A13)--(A29) node[probas,PLetiquette,{\PLARBREDONNES[12,3]}] {{\PLARBREDONNES[12,2]}} ;}
+				{
+					\IntPlaceProbasArbre{A13}{A29}{\PLARBREDONNES[12,3]}{\PLARBREDONNES[12,2]}{below=1pt}
+					%\draw[PLfleche] (A13)--(A29) node[probas,PLetiquette,{\PLARBREDONNES[12,3]}] {{\PLARBREDONNES[12,2]}} ;
+				}
 		}{}
 	\end{tikzpicture}
 }
@@ -453,8 +579,8 @@
 		\tikzstyle{noeud} = [font=\PLAPfont]
 		\tikzstyle{probas}= [font=\PLAPfontproba]
 		\ifboolKV[PLTIKZARBRE]{InclineProbas}
-			{\tikzstyle{PLetiquette}=[pos=0.525,sloped,fill=white]}
-			{\tikzstyle{PLetiquette}=[pos=0.525,fill=white]}
+			{\tikzstyle{PLetiquette}=[pos=0.525,sloped,inner sep=2pt,outer sep=2pt,rectangle]}
+			{\tikzstyle{PLetiquette}=[pos=0.525,inner sep=2pt,outer sep=2pt,rectangle]}
 		\ifboolKV[PLTIKZARBRE]{Fleche}
 			{\tikzstyle{PLfleche}=[->,>=latex,\PLAPtypetrait,\PLAPeptrait]}
 			{\tikzstyle{PLfleche}=[\PLAPtypetrait,\PLAPeptrait]}
@@ -470,22 +596,40 @@
 			\node[noeud] (A24) at ({2*\PLAPespniv},{-3*\PLAPespfeuille}) {\PLARBREDONNES[6,1]};
 			\ifstrempty{\PLARBREDONNES[1,2]}
 				{\draw[PLfleche] (R)--(A11) ;}
-				{\draw[PLfleche] (R)--(A11) node[probas,PLetiquette,{\PLARBREDONNES[1,3]}] {{\PLARBREDONNES[1,2]}} ;}
+				{%
+					\IntPlaceProbasArbre{R}{A11}{\PLARBREDONNES[1,3]}{\PLARBREDONNES[1,2]}{above=1pt}
+					%\draw[PLfleche] (R)--(A11) node[probas,PLetiquette,{\PLARBREDONNES[1,3]}] {{\PLARBREDONNES[1,2]}} ;%
+				}%
 			\ifstrempty{\PLARBREDONNES[2,2]}
 				{\draw[PLfleche] (A11)--(A21) ;}
-				{\draw[PLfleche] (A11)--(A21) node[probas,PLetiquette,{\PLARBREDONNES[2,3]}] {{\PLARBREDONNES[2,2]}} ;}
+				{%
+					\IntPlaceProbasArbre{A11}{A21}{\PLARBREDONNES[2,3]}{\PLARBREDONNES[2,2]}{above=1pt}
+					%\draw[PLfleche] (A11)--(A21) node[probas,PLetiquette,{\PLARBREDONNES[2,3]}] {{\PLARBREDONNES[2,2]}} ;%
+				}%
 			\ifstrempty{\PLARBREDONNES[3,2]}
 				{\draw[PLfleche] (A11)--(A22) ;}
-				{\draw[PLfleche] (A11)--(A22) node[probas,PLetiquette,{\PLARBREDONNES[3,3]}] {{\PLARBREDONNES[3,2]}} ;}
+				{%
+					\IntPlaceProbasArbre{A11}{A22}{\PLARBREDONNES[2,3]}{\PLARBREDONNES[3,2]}{below=1pt}
+					%\draw[PLfleche] (A11)--(A22) node[probas,PLetiquette,{\PLARBREDONNES[3,3]}] {{\PLARBREDONNES[3,2]}} ;
+				}%
 			\ifstrempty{\PLARBREDONNES[4,2]}
 				{\draw[PLfleche] (R)--(A12) ;}
-				{\draw[PLfleche] (R)--(A12) node[probas,PLetiquette,{\PLARBREDONNES[4,3]}] {{\PLARBREDONNES[4,2]}} ;}
+				{%
+					\IntPlaceProbasArbre{R}{A12}{\PLARBREDONNES[4,3]}{\PLARBREDONNES[4,2]}{below=1pt}
+					%\draw[PLfleche] (R)--(A12) node[probas,PLetiquette,{\PLARBREDONNES[4,3]}] {{\PLARBREDONNES[4,2]}} ;%
+				}%
 			\ifstrempty{\PLARBREDONNES[5,2]}
 				{\draw[PLfleche] (A12)--(A23) ;}
-				{\draw[PLfleche] (A12)--(A23) node[probas,PLetiquette,{\PLARBREDONNES[5,3]}] {{\PLARBREDONNES[5,2]}} ;}
+				{%
+					\IntPlaceProbasArbre{A12}{A23}{\PLARBREDONNES[5,3]}{\PLARBREDONNES[5,2]}{above=1pt}
+					%\draw[PLfleche] (A12)--(A23) node[probas,PLetiquette,{\PLARBREDONNES[5,3]}] {{\PLARBREDONNES[5,2]}} ;%
+				}%
 			\ifstrempty{\PLARBREDONNES[6,2]}
 				{\draw[PLfleche] (A12)--(A24) ;}
-				{\draw[PLfleche] (A12)--(A24) node[probas,PLetiquette,{\PLARBREDONNES[6,3]}] {{\PLARBREDONNES[6,2]}} ;}
+				{%
+					\IntPlaceProbasArbre{A12}{A24}{\PLARBREDONNES[6,3]}{\PLARBREDONNES[6,2]}{below=1pt}
+					%\draw[PLfleche] (A12)--(A24) node[probas,PLetiquette,{\PLARBREDONNES[6,3]}] {{\PLARBREDONNES[6,2]}} ;%
+				}%
 		}{}
 		%arbre3x2
 		\IfEq{\PLAPtype}{3x2}
@@ -504,31 +648,58 @@
 			%branches
 			\ifstrempty{\PLARBREDONNES[1,2]}
 				{\draw[PLfleche] (R)--(A11) ;}
-				{\draw[PLfleche] (R)--(A11) node[probas,PLetiquette,{\PLARBREDONNES[1,3]}] {{\PLARBREDONNES[1,2]}} ;}
+				{%
+					\IntPlaceProbasArbre{R}{A11}{\PLARBREDONNES[1,3]}{\PLARBREDONNES[1,2]}{above=1pt}
+					%\draw[PLfleche] (R)--(A11) node[probas,PLetiquette,{\PLARBREDONNES[1,3]}] {{\PLARBREDONNES[1,2]}} ;%
+				}%
 			\ifstrempty{\PLARBREDONNES[2,2]}
 				{\draw[PLfleche] (A11)--(A21) ;}
-				{\draw[PLfleche] (A11)--(A21) node[probas,PLetiquette,{\PLARBREDONNES[2,3]}] {{\PLARBREDONNES[2,2]}} ;}
+				{%
+					\IntPlaceProbasArbre{A11}{A21}{\PLARBREDONNES[2,3]}{\PLARBREDONNES[2,2]}{above=1pt}
+					%\draw[PLfleche] (A11)--(A21) node[probas,PLetiquette,{\PLARBREDONNES[2,3]}] {{\PLARBREDONNES[2,2]}} ;
+				}%
 			\ifstrempty{\PLARBREDONNES[3,2]}
 				{\draw[PLfleche] (A11)--(A22) ;}
-				{\draw[PLfleche] (A11)--(A22) node[probas,PLetiquette,{\PLARBREDONNES[3,3]}] {{\PLARBREDONNES[3,2]}} ;}
+				{
+					\IntPlaceProbasArbre{A11}{A22}{\PLARBREDONNES[3,3]}{\PLARBREDONNES[3,2]}{below=1pt}
+					%\draw[PLfleche] (A11)--(A22) node[probas,PLetiquette,{\PLARBREDONNES[3,3]}] {{\PLARBREDONNES[3,2]}} ;%
+				}
 			\ifstrempty{\PLARBREDONNES[4,2]}
 				{\draw[PLfleche] (R)--(A12) ;}
-				{\draw[PLfleche] (R)--(A12) node[probas,PLetiquette,{\PLARBREDONNES[4,3]}] {{\PLARBREDONNES[4,2]}} ;}
+				{
+					\IntPlaceProbasArbre{R}{A12}{\PLARBREDONNES[4,3]}{\PLARBREDONNES[4,2]}{above=-1pt}
+					%\draw[PLfleche] (R)--(A12) node[probas,PLetiquette,{\PLARBREDONNES[4,3]}] {{\PLARBREDONNES[4,2]}} ;
+				}
 			\ifstrempty{\PLARBREDONNES[5,2]}
 				{\draw[PLfleche] (A12)--(A23) ;}
-				{\draw[PLfleche] (A12)--(A23) node[probas,PLetiquette,{\PLARBREDONNES[5,3]}] {{\PLARBREDONNES[5,2]}} ;}
+				{
+					\IntPlaceProbasArbre{A12}{A23}{\PLARBREDONNES[5,3]}{\PLARBREDONNES[5,2]}{above=1pt}
+					%\draw[PLfleche] (A12)--(A23) node[probas,PLetiquette,{\PLARBREDONNES[5,3]}] {{\PLARBREDONNES[5,2]}} ;
+				}
 			\ifstrempty{\PLARBREDONNES[6,2]}
 				{\draw[PLfleche] (A12)--(A24) ;}
-				{\draw[PLfleche] (A12)--(A24) node[probas,PLetiquette,{\PLARBREDONNES[6,3]}] {{\PLARBREDONNES[6,2]}} ;}
+				{
+					\IntPlaceProbasArbre{A12}{A24}{\PLARBREDONNES[6,3]}{\PLARBREDONNES[6,2]}{below=1pt}
+					%\draw[PLfleche] (A12)--(A24) node[probas,PLetiquette,{\PLARBREDONNES[6,3]}] {{\PLARBREDONNES[6,2]}} ;
+				}
 			\ifstrempty{\PLARBREDONNES[7,2]}
 				{\draw[PLfleche] (R)--(A13) ;}
-				{\draw[PLfleche] (R)--(A13) node[probas,PLetiquette,{\PLARBREDONNES[7,3]}] {{\PLARBREDONNES[7,2]}} ;}
+				{
+					\IntPlaceProbasArbre{R}{A13}{\PLARBREDONNES[7,3]}{\PLARBREDONNES[7,2]}{below=1pt}
+					%\draw[PLfleche] (R)--(A13) node[probas,PLetiquette,{\PLARBREDONNES[7,3]}] {{\PLARBREDONNES[7,2]}} ;
+				}
 			\ifstrempty{\PLARBREDONNES[8,2]}
 				{\draw[PLfleche] (A13)--(A25) ;}
-				{\draw[PLfleche] (A13)--(A25) node[probas,PLetiquette,{\PLARBREDONNES[8,3]}] {{\PLARBREDONNES[8,2]}} ;}
+				{
+					\IntPlaceProbasArbre{A13}{A25}{\PLARBREDONNES[8,3]}{\PLARBREDONNES[8,2]}{above=1pt}
+					%\draw[PLfleche] (A13)--(A25) node[probas,PLetiquette,{\PLARBREDONNES[8,3]}] {{\PLARBREDONNES[8,2]}} ;
+				}
 			\ifstrempty{\PLARBREDONNES[9,2]}
 				{\draw[PLfleche] (A13)--(A26) ;}
-				{\draw[PLfleche] (A13)--(A26) node[probas,PLetiquette,{\PLARBREDONNES[9,3]}] {{\PLARBREDONNES[9,2]}} ;}
+				{
+					\IntPlaceProbasArbre{A13}{A26}{\PLARBREDONNES[9,3]}{\PLARBREDONNES[9,2]}{below=1pt}
+					%\draw[PLfleche] (A13)--(A26) node[probas,PLetiquette,{\PLARBREDONNES[9,3]}] {{\PLARBREDONNES[9,2]}} ;
+				}
 		}{}
 		%arbre2x3
 		\IfEq{\PLAPtype}{2x3}
@@ -546,28 +717,52 @@
 			%branches
 			\ifstrempty{\PLARBREDONNES[1,2]}
 				{\draw[PLfleche] (R)--(A11) ;}
-				{\draw[PLfleche] (R)--(A11) node[probas,PLetiquette,{\PLARBREDONNES[1,3]}] {{\PLARBREDONNES[1,2]}} ;}
+				{
+					\IntPlaceProbasArbre{R}{A11}{\PLARBREDONNES[1,3]}{\PLARBREDONNES[1,2]}{above=1pt}
+					%\draw[PLfleche] (R)--(A11) node[probas,PLetiquette,{\PLARBREDONNES[1,3]}] {{\PLARBREDONNES[1,2]}} ;
+				}
 			\ifstrempty{\PLARBREDONNES[5,2]}
 				{\draw[PLfleche] (R)--(A12) ;}
-				{\draw[PLfleche] (R)--(A12) node[probas,PLetiquette,{\PLARBREDONNES[5,3]}] {{\PLARBREDONNES[5,2]}} ;}
+				{
+					\IntPlaceProbasArbre{R}{A12}{\PLARBREDONNES[5,3]}{\PLARBREDONNES[5,2]}{below=1pt}
+					%\draw[PLfleche] (R)--(A12) node[probas,PLetiquette,{\PLARBREDONNES[5,3]}] {{\PLARBREDONNES[5,2]}} ;
+				}
 			\ifstrempty{\PLARBREDONNES[2,2]}
 				{\draw[PLfleche] (A11)--(A21) ;}
-				{\draw[PLfleche] (A11)--(A21) node[probas,PLetiquette,{\PLARBREDONNES[2,3]}] {{\PLARBREDONNES[2,2]}} ;}
+				{
+					\IntPlaceProbasArbre{A11}{A21}{\PLARBREDONNES[2,3]}{\PLARBREDONNES[2,2]}{above=1pt}
+					%\draw[PLfleche] (A11)--(A21) node[probas,PLetiquette,{\PLARBREDONNES[2,3]}] {{\PLARBREDONNES[2,2]}} ;
+				}
 			\ifstrempty{\PLARBREDONNES[3,2]}
 				{\draw[PLfleche] (A11)--(A22) ;}
-				{\draw[PLfleche] (A11)--(A22) node[probas,PLetiquette,{\PLARBREDONNES[3,3]}] {{\PLARBREDONNES[3,2]}} ;}
+				{
+					\IntPlaceProbasArbre{A11}{A22}{\PLARBREDONNES[2,3]}{\PLARBREDONNES[2,2]}{above=-1pt}
+					%\draw[PLfleche] (A11)--(A22) node[probas,PLetiquette,{\PLARBREDONNES[3,3]}] {{\PLARBREDONNES[3,2]}} ;
+				}
 			\ifstrempty{\PLARBREDONNES[4,2]}
 				{\draw[PLfleche] (A11)--(A23) ;}
-				{\draw[PLfleche] (A11)--(A23) node[probas,PLetiquette,{\PLARBREDONNES[4,3]}] {{\PLARBREDONNES[4,2]}} ;}
+				{
+					\IntPlaceProbasArbre{A11}{A23}{\PLARBREDONNES[4,3]}{\PLARBREDONNES[4,2]}{below=1pt}
+					%\draw[PLfleche] (A11)--(A23) node[probas,PLetiquette,{\PLARBREDONNES[4,3]}] {{\PLARBREDONNES[4,2]}} ;
+				}
 			\ifstrempty{\PLARBREDONNES[6,2]}
 				{\draw[PLfleche] (A12)--(A24) ;}
-				{\draw[PLfleche] (A12)--(A24) node[probas,PLetiquette,{\PLARBREDONNES[6,3]}] {{\PLARBREDONNES[6,2]}} ;}
+				{
+					\IntPlaceProbasArbre{A12}{A24}{\PLARBREDONNES[6,3]}{\PLARBREDONNES[6,2]}{above=1pt}
+					%\draw[PLfleche] (A12)--(A24) node[probas,PLetiquette,{\PLARBREDONNES[6,3]}] {{\PLARBREDONNES[6,2]}} ;
+				}
 			\ifstrempty{\PLARBREDONNES[7,2]}
 				{\draw[PLfleche] (A12)--(A25) ;}
-				{\draw[PLfleche] (A12)--(A25) node[probas,PLetiquette,{\PLARBREDONNES[7,3]}] {{\PLARBREDONNES[7,2]}} ;}
+				{
+					\IntPlaceProbasArbre{A12}{A25}{\PLARBREDONNES[7,3]}{\PLARBREDONNES[7,2]}{above=-1pt}
+					%\draw[PLfleche] (A12)--(A25) node[probas,PLetiquette,{\PLARBREDONNES[7,3]}] {{\PLARBREDONNES[7,2]}} ;
+				}
 			\ifstrempty{\PLARBREDONNES[8,2]}
 				{\draw[PLfleche] (A12)--(A26) ;}
-				{\draw[PLfleche] (A12)--(A26) node[probas,PLetiquette,{\PLARBREDONNES[8,3]}] {{\PLARBREDONNES[8,2]}} ;}
+				{
+					\IntPlaceProbasArbre{A12}{A26}{\PLARBREDONNES[8,3]}{\PLARBREDONNES[8,2]}{below=1pt}
+					%\draw[PLfleche] (A12)--(A26) node[probas,PLetiquette,{\PLARBREDONNES[8,3]}] {{\PLARBREDONNES[8,2]}} ;
+				}
 		}{}
 		%arbre2x3
 		\IfEq{\PLAPtype}{3x3}
@@ -587,46 +782,82 @@
 			\node[noeud] (A28) at ({2*\PLAPespniv},{-7*\PLAPespfeuille}) {\PLARBREDONNES[11,1]};
 			\node[noeud] (A29) at ({2*\PLAPespniv},{-8*\PLAPespfeuille}) {\PLARBREDONNES[12,1]};
 			%branches
-			\ifstrempty{\PLARBREDONNES[1,2]}{}
+			\ifstrempty{\PLARBREDONNES[1,2]}
 				{\draw[PLfleche] (R)--(A11) ;}
-				{\draw[PLfleche] (R)--(A11) node[probas,PLetiquette,{\PLARBREDONNES[1,3]}] {{\PLARBREDONNES[1,2]}} ;}
-			\ifstrempty{\PLARBREDONNES[5,2]}{}
+				{
+					\IntPlaceProbasArbre{R}{A11}{\PLARBREDONNES[1,3]}{\PLARBREDONNES[1,2]}{above=1pt}
+					%\draw[PLfleche] (R)--(A11) node[probas,PLetiquette,{\PLARBREDONNES[1,3]}] {{\PLARBREDONNES[1,2]}} ;
+				}
+			\ifstrempty{\PLARBREDONNES[5,2]}
 				{\draw[PLfleche] (R)--(A12) ;}
-				{\draw[PLfleche] (R)--(A12) node[probas,PLetiquette,{\PLARBREDONNES[5,3]}] {{\PLARBREDONNES[5,2]}} ;}
-			\ifstrempty{\PLARBREDONNES[9,2]}{}
+				{
+					\IntPlaceProbasArbre{R}{A12}{\PLARBREDONNES[5,3]}{\PLARBREDONNES[5,2]}{above=-1pt}
+					%\draw[PLfleche] (R)--(A12) node[probas,PLetiquette,{\PLARBREDONNES[5,3]}] {{\PLARBREDONNES[5,2]}} ;
+				}
+			\ifstrempty{\PLARBREDONNES[9,2]}
 				{\draw[PLfleche] (R)--(A13) ;}
-				{\draw[PLfleche] (R)--(A13) node[probas,PLetiquette,{\PLARBREDONNES[9,3]}] {{\PLARBREDONNES[9,2]}} ;}
+				{
+					\IntPlaceProbasArbre{R}{A13}{\PLARBREDONNES[9,3]}{\PLARBREDONNES[9,2]}{below=1pt}
+					%\draw[PLfleche] (R)--(A13) node[probas,PLetiquette,{\PLARBREDONNES[9,3]}] {{\PLARBREDONNES[9,2]}} ;
+				}
 			%N2
 			\ifstrempty{\PLARBREDONNES[2,2]}
 				{\draw[PLfleche] (A11)--(A21) ;}
-				{\draw[PLfleche] (A11)--(A21) node[probas,PLetiquette,{\PLARBREDONNES[2,3]}] {{\PLARBREDONNES[2,2]}} ;}
+				{
+					\IntPlaceProbasArbre{A11}{A21}{\PLARBREDONNES[2,3]}{\PLARBREDONNES[2,2]}{above=1pt}
+					%\draw[PLfleche] (A11)--(A21) node[probas,PLetiquette,{\PLARBREDONNES[2,3]}] {{\PLARBREDONNES[2,2]}} ;
+				}
 			\ifstrempty{\PLARBREDONNES[3,2]}
 				{\draw[PLfleche] (A11)--(A22) ;}
-				{\draw[PLfleche] (A11)--(A22) node[probas,PLetiquette,{\PLARBREDONNES[3,3]}] {{\PLARBREDONNES[3,2]}} ;}
+				{
+					\IntPlaceProbasArbre{A11}{A22}{\PLARBREDONNES[3,3]}{\PLARBREDONNES[3,2]}{above=-1pt}
+					%\draw[PLfleche] (A11)--(A22) node[probas,PLetiquette,{\PLARBREDONNES[3,3]}] {{\PLARBREDONNES[3,2]}} ;
+				}
 			\ifstrempty{\PLARBREDONNES[4,2]}
 				{\draw[PLfleche] (A11)--(A23) ;}
-				{\draw[PLfleche] (A11)--(A23) node[probas,PLetiquette,{\PLARBREDONNES[4,3]}] {{\PLARBREDONNES[4,2]}} ;}
+				{
+					\IntPlaceProbasArbre{A11}{A23}{\PLARBREDONNES[4,3]}{\PLARBREDONNES[4,2]}{below=1pt}
+					%\draw[PLfleche] (A11)--(A23) node[probas,PLetiquette,{\PLARBREDONNES[4,3]}] {{\PLARBREDONNES[4,2]}} ;
+				}
 			\ifstrempty{\PLARBREDONNES[6,2]}
 				{\draw[PLfleche] (A12)--(A24) ;}
-				{\draw[PLfleche] (A12)--(A24) node[probas,PLetiquette,{\PLARBREDONNES[6,3]}] {{\PLARBREDONNES[6,2]}} ;}
+				{
+					\IntPlaceProbasArbre{A12}{A24}{\PLARBREDONNES[6,3]}{\PLARBREDONNES[6,2]}{above=1pt}
+					%\draw[PLfleche] (A12)--(A24) node[probas,PLetiquette,{\PLARBREDONNES[6,3]}] {{\PLARBREDONNES[6,2]}} ;
+				}
 			\ifstrempty{\PLARBREDONNES[7,2]}
 				{\draw[PLfleche] (A12)--(A25) ;}
-				{\draw[PLfleche] (A12)--(A25) node[probas,PLetiquette,{\PLARBREDONNES[7,3]}] {{\PLARBREDONNES[7,2]}} ;}
+				{
+					\IntPlaceProbasArbre{A12}{A25}{\PLARBREDONNES[7,3]}{\PLARBREDONNES[7,2]}{above=-1pt}
+					%\draw[PLfleche] (A12)--(A25) node[probas,PLetiquette,{\PLARBREDONNES[7,3]}] {{\PLARBREDONNES[7,2]}} ;
+				}
 			\ifstrempty{\PLARBREDONNES[8,2]}
 				{\draw[PLfleche] (A12)--(A26) ;}
-				{\draw[PLfleche] (A12)--(A26) node[probas,PLetiquette,{\PLARBREDONNES[8,3]}] {{\PLARBREDONNES[8,2]}} ;}
+				{
+					\IntPlaceProbasArbre{A12}{A26}{\PLARBREDONNES[8,3]}{\PLARBREDONNES[8,2]}{below=1pt}
+					%\draw[PLfleche] (A12)--(A26) node[probas,PLetiquette,{\PLARBREDONNES[8,3]}] {{\PLARBREDONNES[8,2]}} ;
+				}
 			\ifstrempty{\PLARBREDONNES[10,2]}
 				{\draw[PLfleche] (A13)--(A27) ;}
-				{\draw[PLfleche] (A13)--(A27) node[probas,PLetiquette,{\PLARBREDONNES[10,3]}] {{\PLARBREDONNES[10,2]}} ;}
+				{
+					\IntPlaceProbasArbre{A13}{A27}{\PLARBREDONNES[10,3]}{\PLARBREDONNES[10,2]}{above=1pt}
+					%\draw[PLfleche] (A13)--(A27) node[probas,PLetiquette,{\PLARBREDONNES[10,3]}] {{\PLARBREDONNES[10,2]}} ;
+				}
 			\ifstrempty{\PLARBREDONNES[11,2]}
 				{\draw[PLfleche] (A13)--(A28) ;}
-				{\draw[PLfleche] (A13)--(A28) node[probas,PLetiquette,{\PLARBREDONNES[11,3]}] {{\PLARBREDONNES[11,2]}} ;}
+				{
+					\IntPlaceProbasArbre{A13}{A28}{\PLARBREDONNES[11,3]}{\PLARBREDONNES[11,2]}{above=-1pt}
+					%\draw[PLfleche] (A13)--(A28) node[probas,PLetiquette,{\PLARBREDONNES[11,3]}] {{\PLARBREDONNES[11,2]}} ;
+				}
 			\ifstrempty{\PLARBREDONNES[12,2]}
 				{\draw[PLfleche] (A13)--(A29) ;}
-				{\draw[PLfleche] (A13)--(A29) node[probas,PLetiquette,{\PLARBREDONNES[12,3]}] {{\PLARBREDONNES[12,2]}} ;}
+				{
+					\IntPlaceProbasArbre{A13}{A29}{\PLARBREDONNES[12,3]}{\PLARBREDONNES[12,2]}{below=1pt}
+					%\draw[PLfleche] (A13)--(A29) node[probas,PLetiquette,{\PLARBREDONNES[12,3]}] {{\PLARBREDONNES[12,2]}} ;
+				}
 		}{}
-	}
-	{
+}
+{
 	\end{tikzpicture}
 }
 



More information about the tex-live-commits mailing list.