texlive[69124] Master/texmf-dist: outilsgeomtikz (14dec23)

commits+karl at tug.org commits+karl at tug.org
Thu Dec 14 21:59:08 CET 2023


Revision: 69124
          https://tug.org/svn/texlive?view=revision&revision=69124
Author:   karl
Date:     2023-12-14 21:59:07 +0100 (Thu, 14 Dec 2023)
Log Message:
-----------
outilsgeomtikz (14dec23)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/outilsgeomtikz/OutilsGeomTikz-doc.pdf
    trunk/Master/texmf-dist/doc/latex/outilsgeomtikz/OutilsGeomTikz-doc.tex
    trunk/Master/texmf-dist/tex/latex/outilsgeomtikz/OutilsGeomTikz.sty

Modified: trunk/Master/texmf-dist/doc/latex/outilsgeomtikz/OutilsGeomTikz-doc.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/outilsgeomtikz/OutilsGeomTikz-doc.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/outilsgeomtikz/OutilsGeomTikz-doc.tex	2023-12-14 20:58:57 UTC (rev 69123)
+++ trunk/Master/texmf-dist/doc/latex/outilsgeomtikz/OutilsGeomTikz-doc.tex	2023-12-14 20:59:07 UTC (rev 69124)
@@ -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 @@
 	\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 @@
 
 \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 @@
 \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]

Modified: trunk/Master/texmf-dist/tex/latex/outilsgeomtikz/OutilsGeomTikz.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/outilsgeomtikz/OutilsGeomTikz.sty	2023-12-14 20:58:57 UTC (rev 69123)
+++ trunk/Master/texmf-dist/tex/latex/outilsgeomtikz/OutilsGeomTikz.sty	2023-12-14 20:59:07 UTC (rev 69124)
@@ -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}
 					{%



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