texlive[74291] branches/branch2024.final/Master/texmf-dist: postit
commits+karl at tug.org
commits+karl at tug.org
Tue Feb 25 21:44:15 CET 2025
Revision: 74291
https://tug.org/svn/texlive?view=revision&revision=74291
Author: karl
Date: 2025-02-25 21:44:15 +0100 (Tue, 25 Feb 2025)
Log Message:
-----------
postit (branch) (25feb25)
Modified Paths:
--------------
branches/branch2024.final/Master/texmf-dist/doc/latex/postit/postit-doc-en.pdf
branches/branch2024.final/Master/texmf-dist/doc/latex/postit/postit-doc-en.tex
branches/branch2024.final/Master/texmf-dist/doc/latex/postit/postit-doc-fr.pdf
branches/branch2024.final/Master/texmf-dist/doc/latex/postit/postit-doc-fr.tex
branches/branch2024.final/Master/texmf-dist/tex/latex/postit/postit.sty
Modified: branches/branch2024.final/Master/texmf-dist/doc/latex/postit/postit-doc-en.pdf
===================================================================
(Binary files differ)
Modified: branches/branch2024.final/Master/texmf-dist/doc/latex/postit/postit-doc-en.tex
===================================================================
--- branches/branch2024.final/Master/texmf-dist/doc/latex/postit/postit-doc-en.tex 2025-02-25 20:44:06 UTC (rev 74290)
+++ branches/branch2024.final/Master/texmf-dist/doc/latex/postit/postit-doc-en.tex 2025-02-25 20:44:15 UTC (rev 74291)
@@ -4,8 +4,8 @@
\documentclass[english,a4paper,11pt]{article}
\usepackage[margin=2cm,includefoot]{geometry}
-\def\TPversion{0.1.3}
-\def\TPdate{12/06/2023}
+\def\TPversion{0.1.4}
+\def\TPdate{25/02/2025}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{amsmath,amssymb}
@@ -148,7 +148,7 @@
\begin{tabular}{c}
\texttt{Cédric Pierquet}\\
{\ttfamily c pierquet -- at -- outlook . fr}\\
- \texttt{\url{https://github.com/cpierquet/postit}}
+ \texttt{\url{https://forge.apps.education.fr/pierquetcedric/packages-latex}}
\end{tabular}
\end{center}
@@ -210,6 +210,8 @@
\section{History}
+\verb|v0.1.4|~:~~~~Bugfix with horizontal alignment.
+
\verb|v0.1.3|~:~~~~Nodes for anchor points.
\verb|v0.1.2|~:~~~~English version.
@@ -228,7 +230,7 @@
The package proposes small Post-It notes, in a \textsf{tex} doc, created with \packagetex!tcolorbox! or \packagetex!tikz!, with option(s) in order to :
\begin{itemize}
- \item change dimensions orcolor ;
+ \item change dimensions or color ;
\item use pin deocration like Paperclip, Pushpin or Scotch ;
\item customize border and/or corner ;
\item use anchor points for each Post-It.
@@ -305,7 +307,7 @@
\end{DemoCode}
\begin{noteblock}
-As mentionned in the introduction, the Post-It note is create with a \motcletex!tcbox! or a \motcletex!tikzpicture!.
+As mentioned in the introduction, the Post-It note is create with a \motcletex!tcbox! or a \motcletex!tikzpicture!.
Most of the \motcletex!tcbox!/\motcletex!tikzpicture! parameters are fixed by the code, but some of them are configurable !
\end{noteblock}
@@ -338,7 +340,7 @@
\begin{tipblock}
The Post-It can be used with a \motcletex!minipage! or a \motcletex!wrapstuff! if needed.
-For horizontal alignement, \motcletex!\hfill! or \motcletex!flush...! can be used.
+For horizontal alignment, \motcletex!\hfill! or \motcletex!flush...! can be used.
\end{tipblock}
\begin{warningblock}
@@ -351,10 +353,10 @@
The first argument, mandatory and between \texttt{[...]}, proposes the following \Cle{keys} :
\begin{itemize}
- \item \cmaj{0.1.3} \Cle{StorePostIt} : name (for futher \TikZ{} code) of the Post-It ; \hfill{}default : \Cle{PostIt}
+ \item \cmaj{0.1.3} \Cle{StorePostIt} : name (for further \TikZ{} code) of the Post-It ; \hfill{}default : \Cle{PostIt}
\item \Cle{Width} : width (in cm) of the Post-It ; \hfill{}default : \Cle{6cm}
\item \Cle{Color} : color of the Post-It (border is a bit darker) ; \hfill{}default : \Cle{yellow}
- \item \Cle{Height} : hieght (in cm, if needed) of the Post-It (\textit{automatic} by default) ;
+ \item \Cle{Height} : height (in cm, if needed) of the Post-It (\textit{automatic} by default) ;
\hfill{}default : \Cle{auto}
\item \cmaj{0.1.1} \Cle{Render} : engine, within \Cle{tcbox / tikz / tikv2} ; \hfill{}default : \Cle{tcbox}
@@ -366,13 +368,13 @@
\hfill{}default : \Cle{Pushpin}
\item \Cle{PinColor} : color of the pin ; \hfill{}default : \Cle{red}
- \item \Cle{PinsShift} : horizontal shift (without unity, but in cm) of the orginal position of the pin \hfill{}default : \Cle{0}
+ \item \Cle{PinsShift} : horizontal shift (without unity, but in cm) of the original position of the pin \hfill{}default : \Cle{0}
\item \cmaj{0.1.1} \Cle{Title} : add a title (1st line and/or under the pin) ; \hfill{}default : \Cle{empty}
- \item \cmaj{0.1.1} \Cle{Fonttitle} : font of the titel ; \hfill{}default : \Cle{\textbackslash normalfont\textbackslash normalfont}
+ \item \cmaj{0.1.1} \Cle{Fonttitle} : font of the title ; \hfill{}default : \Cle{\textbackslash normalfont\textbackslash normalfont}
\item \cmaj{0.1.1} \Cle{ExtraRightMargin} : add (with \packagetex!tikz! rendering, and in cm) à right margin ;
\hfill{}default : \Cle{0cm}
- \item \Cle{AlignV} : vertical alignement in the Post-It (within \Cle{top/center/bottom}) ;
+ \item \Cle{AlignV} : vertical alignment in the Post-It (within \Cle{top/center/bottom}) ;
\hfill{}default : \Cle{top}
\item \Cle{AlignH} : horizontal alignment in the Post-It (within \Cle{left/center/right/justify}) ;
@@ -508,11 +510,11 @@
\begin{cautionblock}
The inline \textit{mini-}Post-It note is \motcletex!MiniPostIt!.
-The only optional paramater for the \motcletex!tcbox! Post-It is the color
+The only optional parameter for the \motcletex!tcbox! Post-It is the color.
\smallskip
-Dimensions can't be changed, a \motcletex!\vphantom! is insered at beginning to prevent different heights.
+Dimensions can't be changed, a \motcletex!\vphantom! is inserted at beginning to prevent different heights.
\end{cautionblock}
\begin{DemoCode}[listing only]
@@ -522,7 +524,7 @@
\subsection{Arguments}
\begin{noteblock}
-The starred version show the shadow og the \textit{mini-}Post-It.
+The starred version show the shadow of the \textit{mini-}Post-It.
The color (\Cle{yellow}), is the only optional argument, between \texttt{[...]}.
\end{noteblock}
@@ -530,7 +532,7 @@
\subsection{Examples}
\begin{DemoCode}[]
-To solve Diophantine equations, we can use \MiniPostIt*[orange]{Bezout's thorem}, and \MiniPostIt{Gauss' theorem}, with the \MiniPostIt*[cyan]{reciprocal}.
+To solve Diophantine equations, we can use \MiniPostIt*[orange]{Bézout's thoerem}, and \MiniPostIt{Gauss' theorem}, with the \MiniPostIt*[cyan]{reciprocal}.
It's classic and good to know !
\end{DemoCode}
Modified: branches/branch2024.final/Master/texmf-dist/doc/latex/postit/postit-doc-fr.pdf
===================================================================
(Binary files differ)
Modified: branches/branch2024.final/Master/texmf-dist/doc/latex/postit/postit-doc-fr.tex
===================================================================
--- branches/branch2024.final/Master/texmf-dist/doc/latex/postit/postit-doc-fr.tex 2025-02-25 20:44:06 UTC (rev 74290)
+++ branches/branch2024.final/Master/texmf-dist/doc/latex/postit/postit-doc-fr.tex 2025-02-25 20:44:15 UTC (rev 74291)
@@ -4,8 +4,8 @@
\documentclass[french,a4paper,11pt]{article}
\usepackage[margin=2cm,includefoot]{geometry}
-\def\TPversion{0.1.3}
-\def\TPdate{12 juin 2023}
+\def\TPversion{0.1.4}
+\def\TPdate{25 février 2025}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{amsmath,amssymb}
@@ -147,7 +147,7 @@
\begin{tabular}{c}
\texttt{Cédric Pierquet}\\
{\ttfamily c pierquet -- at -- outlook . fr}\\
- \texttt{\url{https://github.com/cpierquet/postit}}
+ \texttt{\url{https://forge.apps.education.fr/pierquetcedric/packages-latex}}
\end{tabular}
\end{center}
@@ -210,6 +210,8 @@
\section{Historique}
+\verb|v0.1.4|~:~~~~Meilleure gestion de l'alignement horizontal.
+
\verb|v0.1.3|~:~~~~Les Post-It ont désormais un nom pour réutilisation ultérieure.
\verb|v0.1.2|~:~~~~Ajout des clés en langue anglaise.
Modified: branches/branch2024.final/Master/texmf-dist/tex/latex/postit/postit.sty
===================================================================
--- branches/branch2024.final/Master/texmf-dist/tex/latex/postit/postit.sty 2025-02-25 20:44:06 UTC (rev 74290)
+++ branches/branch2024.final/Master/texmf-dist/tex/latex/postit/postit.sty 2025-02-25 20:44:15 UTC (rev 74291)
@@ -1,9 +1,10 @@
% Author : C. Pierquet
% licence : Released under the LaTeX Project Public License v1.3c
-% or later, see http://www.latex-project.org/lppl.txtf
+% or later, see http://www.latex-project.org/lppl.txt
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{postit}[2023/06/12 0.1.3 Display sticky notes in a doc]
+\ProvidesPackage{postit}[2025/02/25 0.1.4 Display sticky notes in a doc]
+%0.1.4 Enhancements with AlignH
%0.1.3 Nodes for tikz' link between postits
%0.1.2 English version (keys & command)
%0.1.1 Ajout d'un \vphantom pour les mini-post-it + moteur de rendu tikz en supplément
@@ -17,7 +18,8 @@
\RequirePackage{varwidth}
%------Librairies
\tcbuselibrary{skins}
-\usetikzlibrary{calc,positioning,decorations,decorations.pathmorphing,babel}
+\usetikzlibrary{calc,positioning,decorations,decorations.pathmorphing}
+\usetikzlibrary{babel}
%------variables utiles
\newsavebox{\maboitepostit}
@@ -206,7 +208,27 @@
}%
\IfStrEq{\PostItHauteur}{auto}%
{%
- \sbox{\maboitepostit}{\parbox{\LargeurTextePostIt cm}{\TextePostIt}}%
+ \IfStrEq{\PostItAlignH}{justify}%
+ {%
+ \sbox{\maboitepostit}{\parbox{\LargeurTextePostIt cm}{\TextePostIt}}%
+ }%
+ {}%
+ \IfStrEq{\PostItAlignH}{center}%
+ {%
+ \sbox{\maboitepostit}{\parbox{\LargeurTextePostIt cm}{\centering\TextePostIt}}%
+ }%
+ {}%
+ \IfStrEq{\PostItAlignH}{left}%
+ {%
+ \sbox{\maboitepostit}{\parbox{\LargeurTextePostIt cm}{\raggedright\TextePostIt}}%
+ }%
+ {}%
+ \IfStrEq{\PostItAlignH}{right}%
+ {%
+ \sbox{\maboitepostit}{\parbox{\LargeurTextePostIt cm}{\raggedleft\TextePostIt}}%
+ }%
+ {}%
+ %\sbox{\maboitepostit}{\parbox{\LargeurTextePostIt cm}{\TextePostIt}}%
\settoboxtotalheight{\HauteurEssaiTexte}{\maboitepostit}%
\addtolength\HauteurEssaiTexte{\MarginVHPostIt}\addtolength\HauteurEssaiTexte{\MarginVBPostIt}%
\IfStrEq{\PostItDeco}{Scotch}%
@@ -403,7 +425,27 @@
}%
\IfStrEq{\PostItHauteur}{auto}%
{%
- \sbox{\maboitepostit}{\parbox{\LargeurTextePostIt cm}{\TextePostIt}}%
+ \IfStrEq{\PostItAlignH}{justify}%
+ {%
+ \sbox{\maboitepostit}{\parbox{\LargeurTextePostIt cm}{\TextePostIt}}%
+ }%
+ {}%
+ \IfStrEq{\PostItAlignH}{center}%
+ {%
+ \sbox{\maboitepostit}{\parbox{\LargeurTextePostIt cm}{\centering\TextePostIt}}%
+ }%
+ {}%
+ \IfStrEq{\PostItAlignH}{left}%
+ {%
+ \sbox{\maboitepostit}{\parbox{\LargeurTextePostIt cm}{\raggedright\TextePostIt}}%
+ }%
+ {}%
+ \IfStrEq{\PostItAlignH}{right}%
+ {%
+ \sbox{\maboitepostit}{\parbox{\LargeurTextePostIt cm}{\raggedleft\TextePostIt}}%
+ }%
+ {}%
+ %\sbox{\maboitepostit}{\parbox{\LargeurTextePostIt cm}{\TextePostIt}}%
\settoboxtotalheight{\HauteurEssaiTexte}{\maboitepostit}%
\addtolength\HauteurEssaiTexte{\MarginVHPostIt}\addtolength\HauteurEssaiTexte{\MarginVBPostIt}%
\IfStrEq{\PostItDeco}{Scotch}%
@@ -750,7 +792,27 @@
}%
\IfStrEq{\PostItHauteur}{auto}%
{%
- \sbox{\maboitepostit}{\parbox{\LargeurTextePostIt cm}{\TextePostIt}}%
+ \IfStrEq{\PostItAlignH}{justify}%
+ {%
+ \sbox{\maboitepostit}{\parbox{\LargeurTextePostIt cm}{\TextePostIt}}%
+ }%
+ {}%
+ \IfStrEq{\PostItAlignH}{center}%
+ {%
+ \sbox{\maboitepostit}{\parbox{\LargeurTextePostIt cm}{\centering\TextePostIt}}%
+ }%
+ {}%
+ \IfStrEq{\PostItAlignH}{left}%
+ {%
+ \sbox{\maboitepostit}{\parbox{\LargeurTextePostIt cm}{\raggedright\TextePostIt}}%
+ }%
+ {}%
+ \IfStrEq{\PostItAlignH}{right}%
+ {%
+ \sbox{\maboitepostit}{\parbox{\LargeurTextePostIt cm}{\raggedleft\TextePostIt}}%
+ }%
+ {}%
+ %\sbox{\maboitepostit}{\parbox{\LargeurTextePostIt cm}{\TextePostIt}}%
\settoboxtotalheight{\HauteurEssaiTexte}{\maboitepostit}%
\addtolength\HauteurEssaiTexte{\MarginVHPostIt}\addtolength\HauteurEssaiTexte{\MarginVBPostIt}%
\IfStrEq{\PostItDeco}{Scotch}%
@@ -947,7 +1009,27 @@
}%
\IfStrEq{\PostItHauteur}{auto}%
{%
- \sbox{\maboitepostit}{\parbox{\LargeurTextePostIt cm}{\TextePostIt}}%
+ \IfStrEq{\PostItAlignH}{justify}%
+ {%
+ \sbox{\maboitepostit}{\parbox{\LargeurTextePostIt cm}{\TextePostIt}}%
+ }%
+ {}%
+ \IfStrEq{\PostItAlignH}{center}%
+ {%
+ \sbox{\maboitepostit}{\parbox{\LargeurTextePostIt cm}{\centering\TextePostIt}}%
+ }%
+ {}%
+ \IfStrEq{\PostItAlignH}{left}%
+ {%
+ \sbox{\maboitepostit}{\parbox{\LargeurTextePostIt cm}{\raggedright\TextePostIt}}%
+ }%
+ {}%
+ \IfStrEq{\PostItAlignH}{right}%
+ {%
+ \sbox{\maboitepostit}{\parbox{\LargeurTextePostIt cm}{\raggedleft\TextePostIt}}%
+ }%
+ {}%
+ %\sbox{\maboitepostit}{\parbox{\LargeurTextePostIt cm}{\TextePostIt}}%
\settoboxtotalheight{\HauteurEssaiTexte}{\maboitepostit}%
\addtolength\HauteurEssaiTexte{\MarginVHPostIt}\addtolength\HauteurEssaiTexte{\MarginVBPostIt}%
\IfStrEq{\PostItDeco}{Scotch}%
More information about the tex-live-commits
mailing list.