summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Master/texmf-dist/doc/latex/outilsgeomtikz/OutilsGeomTikz-doc.pdfbin501125 -> 504537 bytes
-rw-r--r--Master/texmf-dist/doc/latex/outilsgeomtikz/OutilsGeomTikz-doc.tex11
-rw-r--r--Master/texmf-dist/tex/latex/outilsgeomtikz/OutilsGeomTikz.sty18
3 files changed, 21 insertions, 8 deletions
diff --git a/Master/texmf-dist/doc/latex/outilsgeomtikz/OutilsGeomTikz-doc.pdf b/Master/texmf-dist/doc/latex/outilsgeomtikz/OutilsGeomTikz-doc.pdf
index 2bd736f9707..bf929693eff 100644
--- a/Master/texmf-dist/doc/latex/outilsgeomtikz/OutilsGeomTikz-doc.pdf
+++ b/Master/texmf-dist/doc/latex/outilsgeomtikz/OutilsGeomTikz-doc.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/outilsgeomtikz/OutilsGeomTikz-doc.tex b/Master/texmf-dist/doc/latex/outilsgeomtikz/OutilsGeomTikz-doc.tex
index 3e30b249db9..b05a67fe681 100644
--- a/Master/texmf-dist/doc/latex/outilsgeomtikz/OutilsGeomTikz-doc.tex
+++ b/Master/texmf-dist/doc/latex/outilsgeomtikz/OutilsGeomTikz-doc.tex
@@ -4,8 +4,8 @@
\documentclass[french,a4paper,11pt]{article}
\usepackage[margin=2cm,includefoot]{geometry}
-\def\TPversion{0.1.4}
-\def\TPdate{18 octobre 2023}
+\def\TPversion{0.1.5}
+\def\TPdate{13 décembre 2023}
\usepackage[table,svgnames]{xcolor}
\usepackage[bold-style=ISO,math-style=french]{concmath-otf}
%\usepackage[bold-style=ISO,math-style=french]{unicode-math}
@@ -197,6 +197,8 @@
\part{Historique}
+\verb|v0.1.4 : |Modification de la graduation intérieure pour les rapporteurs 180°
+
\verb|v0.1.4 : |Possibilité de positionner certains outils avec deux points (angle calculé automatiquement)
\verb|v0.1.3 : |Ajout du \textit{pourcenteur}
@@ -629,6 +631,7 @@ Quelques \Cle{clés} de personnalisation sont disponibles :
\item le booléen \Cle{Fond} pour afficher une couleur de fond ;\hfill~(défaut : \Cle{false})
\item \Cle{CouleurFond} pour la couleur du fond du rapporteur ;\hfill~(défaut : \Cle{black})
\item \Cle{Opacite} pour régler l'opacité du fond du rapporteur ;\hfill~(défaut : \Cle{0.5})
+ \item le booléen \Cle{GraduationsInt} pour afficher les grad. int. (mode 180) ; \hfill~(défaut : \Cle{false})
\item le booléen \Cle{AfficheAngles} pour afficher les valeurs des angles.\hfill~(défaut : \Cle{true})
\end{itemize}
\vspace*{-\baselineskip}\leavevmode
@@ -636,7 +639,7 @@ Quelques \Cle{clés} de personnalisation sont disponibles :
\begin{PresentationCode}{listing only}
%environnement tikz
-\tkzRapporteur[Fond,CouleurFond=purple]
+\tkzRapporteur[Fond,CouleurFond=purple,GraduationsInt]
\tkzRapporteur[Origine={(-2,-3)},Rotation=-45,Couleur=ForestGreen,Echelle=0.5]
\tkzRapporteur[Complet,Origine={(8,-3)},Rotation=30,Couleur=DarkBlue, Echelle=0.75]
\tkzRapporteur[Origine={(7,1)},Rotation=15,Couleur=orange, Echelle=0.75,AfficheAngles=false]
@@ -648,7 +651,7 @@ Quelques \Cle{clés} de personnalisation sont disponibles :
\begin{tikzpicture}
\affichegrille{-4}{11}{-6}{4}
\pointsutiles{(0,0),(-2,-3),(8,-3),(7,1),(2,-4)}
- \tkzRapporteur[Fond,CouleurFond=purple]
+ \tkzRapporteur[Fond,CouleurFond=purple,GraduationsInt]
\tkzRapporteur[Origine={(-2,-3)},Rotation=-45,Couleur=ForestGreen,Echelle=0.5]
\tkzRapporteur[Complet,Origine={(8,-3)},Rotation=30,Couleur=DarkBlue, Echelle=0.75]
\tkzRapporteur[Origine={(7,1)},Rotation=15,Couleur=orange, Echelle=0.75,AfficheAngles=false]
diff --git a/Master/texmf-dist/tex/latex/outilsgeomtikz/OutilsGeomTikz.sty b/Master/texmf-dist/tex/latex/outilsgeomtikz/OutilsGeomTikz.sty
index 29bc489b0f7..bb79723d21a 100644
--- a/Master/texmf-dist/tex/latex/outilsgeomtikz/OutilsGeomTikz.sty
+++ b/Master/texmf-dist/tex/latex/outilsgeomtikz/OutilsGeomTikz.sty
@@ -2,7 +2,8 @@
% licence........: Released under the LaTeX Project Public License v1.3c or later, see http://www.latex-project.org/lppl.txtf
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{OutilsGeomTikz}[2023/10/18 v0.1.4 Outils geometriques en TikZ]
+\ProvidesPackage{OutilsGeomTikz}[2023/12/13 v0.1.5 Outils geometriques en TikZ]
+% 0.1.5 Modification de la graduation intérieure pour les rapporteurs 180°
% 0.1.4 Possibilité de positionner les outils avec deux points (angle calculé automatiquement)
% 0.1.3 Ajout du pourcenteur
% 0.1.2 Ajout de la règle-repère
@@ -348,7 +349,8 @@
AfficheAngles=true,%
Fond=false,%
Opacite=0.5,%
- Complet=false
+ Complet=false,%
+ GraduationsInt=false
}
\NewDocumentCommand{\tkzRapporteur}{ O{} }{%
@@ -424,8 +426,16 @@
\foreach \i in {0,5,...,180} {\draw[\RAPPcouleur] (\i:3.75)--(\i:3.45) ;}
\foreach \i in {0,10,...,180} {\draw[\RAPPcouleur] (\i:3.75)--(\i:3.35) ;}
%grad int
- \foreach \i in {0,5,...,180} {\draw[\RAPPcouleur] (\i:2.25)--(\i:2.4) ;}
- \foreach \i in {0,10,...,180} {\draw[\RAPPcouleur] (\i:2.25)--(\i:2.55) ;}
+ \ifboolKV[RapporteurGeom]{GraduationsInt}%
+ {%
+ \foreach \i in {0,1,...,180} {\draw[\RAPPcouleur] (\i:2.25)--(\i:2.4) ;}
+ \foreach \i in {0,5,...,180} {\draw[\RAPPcouleur] (\i:2.25)--(\i:2.475) ;}
+ \foreach \i in {0,10,...,180} {\draw[\RAPPcouleur] (\i:2.25)--(\i:2.55) ;}
+ }%
+ {%
+ \foreach \i in {0,5,...,180} {\draw[\RAPPcouleur] (\i:2.25)--(\i:2.45) ;}
+ \foreach \i in {0,10,...,180} {\draw[\RAPPcouleur] (\i:2.25)--(\i:2.55) ;}
+ }%
%valeurs si booléen
\ifboolKV[RapporteurGeom]{AfficheAngles}
{%