summaryrefslogtreecommitdiff
path: root/macros/latex/contrib
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2023-06-01 03:03:23 +0000
committerNorbert Preining <norbert@preining.info>2023-06-01 03:03:23 +0000
commita378d2379e220fa1022ae052bcd1aed6bf0d2c41 (patch)
treeea7474d9b63bd7343446152da818a0f51b4b4f26 /macros/latex/contrib
parent63f5147c70933ab652aa5c700beabb6685d1139a (diff)
CTAN sync 202306010303
Diffstat (limited to 'macros/latex/contrib')
-rw-r--r--macros/latex/contrib/postit/README.md7
-rw-r--r--macros/latex/contrib/postit/doc/postit-doc.pdfbin0 -> 438342 bytes
-rw-r--r--macros/latex/contrib/postit/doc/postit-doc.tex418
-rw-r--r--macros/latex/contrib/postit/tex/postit.sty158
-rw-r--r--macros/latex/contrib/revtex/README8
-rw-r--r--macros/latex/contrib/revtex/aip4-2.pdfbin380825 -> 0 bytes
-rw-r--r--macros/latex/contrib/revtex/doc/aip/aipguide4-2.pdf (renamed from macros/latex/contrib/revtex/aip/aipguide4-2.pdf)bin270691 -> 270691 bytes
-rw-r--r--macros/latex/contrib/revtex/doc/aip/aipguide4-2.tex (renamed from macros/latex/contrib/revtex/aip/aipguide4-2.tex)0
-rw-r--r--macros/latex/contrib/revtex/doc/aps/apsguide4-2.pdf (renamed from macros/latex/contrib/revtex/aps/apsguide4-2.pdf)bin232285 -> 232285 bytes
-rw-r--r--macros/latex/contrib/revtex/doc/aps/apsguide4-2.tex (renamed from macros/latex/contrib/revtex/aps/apsguide4-2.tex)0
-rw-r--r--macros/latex/contrib/revtex/doc/auguide/auguide4-2.pdf (renamed from macros/latex/contrib/revtex/auguide/auguide4-2.pdf)bin452319 -> 452319 bytes
-rw-r--r--macros/latex/contrib/revtex/doc/auguide/auguide4-2.tex (renamed from macros/latex/contrib/revtex/auguide/auguide4-2.tex)0
-rw-r--r--macros/latex/contrib/revtex/doc/auguide/docs.sty (renamed from macros/latex/contrib/revtex/auguide/docs.sty)0
-rw-r--r--macros/latex/contrib/revtex/doc/auguide/summary4-2.pdf (renamed from macros/latex/contrib/revtex/auguide/summary4-2.pdf)bin230858 -> 230858 bytes
-rw-r--r--macros/latex/contrib/revtex/doc/auguide/summary4-2.tex (renamed from macros/latex/contrib/revtex/auguide/summary4-2.tex)0
-rw-r--r--macros/latex/contrib/revtex/doc/sample/aapm/aapmsamp.bib (renamed from macros/latex/contrib/revtex/sample/aapm/aapmsamp.bib)0
-rw-r--r--macros/latex/contrib/revtex/doc/sample/aapm/aapmsamp.pdf (renamed from macros/latex/contrib/revtex/sample/aapm/aapmsamp.pdf)bin352536 -> 352536 bytes
-rw-r--r--macros/latex/contrib/revtex/doc/sample/aapm/aapmsamp.tex (renamed from macros/latex/contrib/revtex/sample/aapm/aapmsamp.tex)0
-rw-r--r--macros/latex/contrib/revtex/doc/sample/aapm/aapmtemplate.tex (renamed from macros/latex/contrib/revtex/sample/aapm/aapmtemplate.tex)0
-rw-r--r--macros/latex/contrib/revtex/doc/sample/aapm/fig_1.eps (renamed from macros/latex/contrib/revtex/sample/aapm/fig_1.eps)0
-rw-r--r--macros/latex/contrib/revtex/doc/sample/aapm/fig_2.eps (renamed from macros/latex/contrib/revtex/sample/aapm/fig_2.eps)0
-rw-r--r--macros/latex/contrib/revtex/doc/sample/aip/aipsamp.bib (renamed from macros/latex/contrib/revtex/sample/aip/aipsamp.bib)0
-rw-r--r--macros/latex/contrib/revtex/doc/sample/aip/aipsamp.pdf (renamed from macros/latex/contrib/revtex/sample/aip/aipsamp.pdf)bin377909 -> 377909 bytes
-rw-r--r--macros/latex/contrib/revtex/doc/sample/aip/aipsamp.tex (renamed from macros/latex/contrib/revtex/sample/aip/aipsamp.tex)0
-rw-r--r--macros/latex/contrib/revtex/doc/sample/aip/aiptemplate.tex (renamed from macros/latex/contrib/revtex/sample/aip/aiptemplate.tex)0
-rw-r--r--macros/latex/contrib/revtex/doc/sample/aip/fig_1.eps (renamed from macros/latex/contrib/revtex/sample/aip/fig_1.eps)0
-rw-r--r--macros/latex/contrib/revtex/doc/sample/aip/fig_2.eps (renamed from macros/latex/contrib/revtex/sample/aip/fig_2.eps)0
-rw-r--r--macros/latex/contrib/revtex/doc/sample/aps/apssamp.bib (renamed from macros/latex/contrib/revtex/sample/aps/apssamp.bib)0
-rw-r--r--macros/latex/contrib/revtex/doc/sample/aps/apssamp.pdf (renamed from macros/latex/contrib/revtex/sample/aps/apssamp.pdf)bin356378 -> 356378 bytes
-rw-r--r--macros/latex/contrib/revtex/doc/sample/aps/apssamp.tex (renamed from macros/latex/contrib/revtex/sample/aps/apssamp.tex)0
-rw-r--r--macros/latex/contrib/revtex/doc/sample/aps/apstemplate.tex (renamed from macros/latex/contrib/revtex/sample/aps/apstemplate.tex)0
-rw-r--r--macros/latex/contrib/revtex/doc/sample/aps/fig_1.eps (renamed from macros/latex/contrib/revtex/sample/aps/fig_1.eps)0
-rw-r--r--macros/latex/contrib/revtex/doc/sample/aps/fig_2.eps (renamed from macros/latex/contrib/revtex/sample/aps/fig_2.eps)0
-rw-r--r--macros/latex/contrib/revtex/doc/sample/aps/vid_1a.eps (renamed from macros/latex/contrib/revtex/sample/aps/vid_1a.eps)0
-rw-r--r--macros/latex/contrib/revtex/doc/sample/aps/vid_1b.eps (renamed from macros/latex/contrib/revtex/sample/aps/vid_1b.eps)0
-rw-r--r--macros/latex/contrib/revtex/doc/sample/sor/fig_1.eps (renamed from macros/latex/contrib/revtex/sample/sor/fig_1.eps)0
-rw-r--r--macros/latex/contrib/revtex/doc/sample/sor/fig_2.eps (renamed from macros/latex/contrib/revtex/sample/sor/fig_2.eps)0
-rw-r--r--macros/latex/contrib/revtex/doc/sample/sor/sorsamp.bib (renamed from macros/latex/contrib/revtex/sample/sor/sorsamp.bib)0
-rw-r--r--macros/latex/contrib/revtex/doc/sample/sor/sorsamp.pdf (renamed from macros/latex/contrib/revtex/sample/sor/sorsamp.pdf)bin396057 -> 396057 bytes
-rw-r--r--macros/latex/contrib/revtex/doc/sample/sor/sorsamp.tex (renamed from macros/latex/contrib/revtex/sample/sor/sorsamp.tex)0
-rw-r--r--macros/latex/contrib/revtex/doc/sample/sor/sortemplate.tex (renamed from macros/latex/contrib/revtex/sample/sor/sortemplate.tex)0
-rw-r--r--macros/latex/contrib/revtex/ltxdocext.pdfbin297025 -> 0 bytes
-rw-r--r--macros/latex/contrib/revtex/ltxfront.pdfbin449339 -> 0 bytes
-rw-r--r--macros/latex/contrib/revtex/ltxgrid.pdfbin609623 -> 0 bytes
-rw-r--r--macros/latex/contrib/revtex/ltxutil.pdfbin481008 -> 0 bytes
-rw-r--r--macros/latex/contrib/revtex/revtex4-2.pdfbin635876 -> 0 bytes
-rw-r--r--macros/latex/contrib/revtex/source/aip4-2.dtx (renamed from macros/latex/contrib/revtex/aip4-2.dtx)16
-rw-r--r--macros/latex/contrib/revtex/source/ltxdocext.dtx (renamed from macros/latex/contrib/revtex/ltxdocext.dtx)0
-rw-r--r--macros/latex/contrib/revtex/source/ltxfront.dtx (renamed from macros/latex/contrib/revtex/ltxfront.dtx)6
-rw-r--r--macros/latex/contrib/revtex/source/ltxgrid.dtx (renamed from macros/latex/contrib/revtex/ltxgrid.dtx)12
-rw-r--r--macros/latex/contrib/revtex/source/ltxutil.dtx (renamed from macros/latex/contrib/revtex/ltxutil.dtx)52
-rw-r--r--macros/latex/contrib/revtex/source/revtex-bst.dtx (renamed from macros/latex/contrib/revtex/revtex-bst.dtx)8
-rw-r--r--macros/latex/contrib/revtex/source/revtex4-2.dtx (renamed from macros/latex/contrib/revtex/revtex4-2.dtx)25
53 files changed, 653 insertions, 57 deletions
diff --git a/macros/latex/contrib/postit/README.md b/macros/latex/contrib/postit/README.md
new file mode 100644
index 0000000000..23ae2d9f15
--- /dev/null
+++ b/macros/latex/contrib/postit/README.md
@@ -0,0 +1,7 @@
+postit is a package to work with post-it.
+--------------------------------------------------
+positi est un package pour travailler des post-it.
+--------------------------------------------------
+Author : Cédric Pierquet
+email : cpierquet@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
diff --git a/macros/latex/contrib/postit/doc/postit-doc.pdf b/macros/latex/contrib/postit/doc/postit-doc.pdf
new file mode 100644
index 0000000000..ba919f1d19
--- /dev/null
+++ b/macros/latex/contrib/postit/doc/postit-doc.pdf
Binary files differ
diff --git a/macros/latex/contrib/postit/doc/postit-doc.tex b/macros/latex/contrib/postit/doc/postit-doc.tex
new file mode 100644
index 0000000000..cc6611fadf
--- /dev/null
+++ b/macros/latex/contrib/postit/doc/postit-doc.tex
@@ -0,0 +1,418 @@
+% !TeX TXS-program:compile = txs:///arara
+% arara: pdflatex: {shell: yes, synctex: no, interaction: batchmode}
+% arara: pdflatex: {shell: yes, synctex: no, interaction: batchmode} if found('log', '(undefined references|Please rerun|Rerun to get)')
+
+\documentclass[french,a4paper,11pt]{article}
+\usepackage[margin=2cm,includefoot]{geometry}
+\def\TPversion{0.1}
+\def\TPdate{31 Mai 2023}
+\usepackage[utf8]{inputenc}
+\usepackage[T1]{fontenc}
+\usepackage{amsmath,amssymb}
+\usepackage{postit}
+\usepackage{awesomebox}
+\usepackage{fontawesome5}
+\usepackage{footnote}
+\makesavenoteenv{tabular}
+\usepackage{enumitem}
+\usepackage{tabularray}
+\usepackage{wrapstuff}
+\usepackage{lipsum}
+\usepackage{fancyvrb}
+\usepackage{fancyhdr}
+\fancyhf{}
+\renewcommand{\headrulewidth}{0pt}
+\lfoot{\sffamily\small [postit]}
+\cfoot{\sffamily\small - \thepage{} -}
+\rfoot{\hyperlink{matoc}{\small\faArrowAltCircleUp[regular]}}
+
+%\usepackage{hvlogos}
+\usepackage{hologo}
+\providecommand\tikzlogo{Ti\textit{k}Z}
+\providecommand\TeXLive{\TeX{}Live\xspace}
+\providecommand\PSTricks{\textsf{PSTricks}\xspace}
+\let\pstricks\PSTricks
+\let\TikZ\tikzlogo
+\newcommand\TableauDocumentation{%
+ \begin{tblr}{width=\linewidth,colspec={X[c]X[c]X[c]X[c]X[c]X[c]},cells={font=\sffamily}}
+ {\LARGE \LaTeX} & & & & &\\
+ & {\LARGE \hologo{pdfLaTeX}} & & & & \\
+ & & {\LARGE \hologo{LuaLaTeX}} & & & \\
+ & & & {\LARGE \TikZ} & & \\
+ & & & & {\LARGE \TeXLive} & \\
+ & & & & & {\LARGE \hologo{MiKTeX}} \\
+ \end{tblr}
+}
+
+\usepackage{hyperref}
+\urlstyle{same}
+\hypersetup{pdfborder=0 0 0}
+\setlength{\parindent}{0pt}
+\definecolor{LightGray}{gray}{0.9}
+
+\usepackage{babel}
+\AddThinSpaceBeforeFootnotes
+\FrenchFootnotes
+
+\tcbuselibrary{listingsutf8}
+\newtcblisting{DemoCode}[1][]{%
+ enhanced,width=0.95\linewidth,center,%
+ bicolor,size=title,%
+ colback=cyan!2!white,%
+ colbacklower=cyan!1!white,%
+ colframe=cyan!75!black,%
+ listing options={%
+ breaklines=true,%
+ breakatwhitespace=true,%
+ style=tcblatex,basicstyle=\small\ttfamily,%
+ tabsize=4,%
+ commentstyle={\itshape\color{gray}},
+ keywordstyle={\color{blue}},%
+ classoffset=0,%
+ keywords={},%
+ alsoletter={-},%
+ keywordstyle={\color{blue}},%
+ classoffset=1,%
+ alsoletter={-},%
+ morekeywords={center,right,justify,left,\lipsum},%
+ keywordstyle={\color{violet}},%
+ classoffset=2,%
+ alsoletter={-},%
+ morekeywords={PostIt,\MiniPostIt},%
+ keywordstyle={\color{green!50!black}},%
+ classoffset=3,%
+ morekeywords={Couleur,CouleurAttache,Attache,Largeur,Hauteur,Inclinaison,Ombre,Coin,DecalAttache,AlignementH,AlignementV,AlignementPostIt,Bordure},%
+ keywordstyle={\color{orange}}
+ },%
+ #1
+}
+
+\tcbset{vignettes/.style={%
+ nobeforeafter,box align=base,boxsep=0pt,enhanced,sharp corners=all,rounded corners=southeast,%
+ boxrule=0.75pt,left=7pt,right=1pt,top=0pt,bottom=0.25pt,%
+ }
+}
+
+\tcbset{vignetteMaJ/.style={%
+ fontupper={\vphantom{pf}\footnotesize\ttfamily},
+ vignettes,colframe=purple!50!black,coltitle=white,colback=purple!10,%
+ overlay={\begin{tcbclipinterior}%
+ \fill[fill=purple!75]($(interior.south west)$) rectangle node[rotate=90]{\tiny \sffamily{\textcolor{black}{\scalebox{0.66}[0.66]{\textbf{MàJ}}}}} ($(interior.north west)+(5pt,0pt)$);%
+ \end{tcbclipinterior}}
+ }
+}
+
+\newcommand\Cle[1]{{\bfseries\sffamily\textlangle #1\textrangle}}
+\newcommand\cmaj[1]{\tcbox[vignetteMaJ]{#1}\xspace}
+
+\begin{document}
+
+\setlength{\aweboxleftmargin}{0.07\linewidth}
+\setlength{\aweboxcontentwidth}{0.93\linewidth}
+\setlength{\aweboxvskip}{8pt}
+
+\pagestyle{fancy}
+
+\thispagestyle{empty}
+
+\vspace{2cm}
+
+\begin{center}
+ \begin{minipage}{0.75\linewidth}
+ \begin{tcolorbox}[colframe=yellow,colback=yellow!15]
+ \begin{center}
+ \begin{tabular}{c}
+ {\Huge \texttt{postit}}\\
+ \\
+ {\LARGE Des petits Post-It,} \\
+ \\
+ {\LARGE avec \textsf{tcolorbox}.} \\
+ \end{tabular}
+
+ \bigskip
+
+ {\small \texttt{Version \TPversion{} -- \TPdate}}
+ \end{center}
+ \end{tcolorbox}
+\end{minipage}
+\end{center}
+
+\begin{center}
+ \begin{tabular}{c}
+ \texttt{Cédric Pierquet}\\
+ {\ttfamily c pierquet -- at -- outlook . fr}\\
+ \texttt{\url{https://github.com/cpierquet/postit}}
+\end{tabular}
+\end{center}
+
+\vspace{0.25cm}
+
+{$\blacktriangleright$~~Placer et personnaliser des Post-It ou des \textit{mini-}Post-It.}
+
+\vspace{0.25cm}
+
+{$\blacktriangleright$~~Gestion de la taille, de l'inclinaison, de la décoration.}
+
+\vspace{1cm}
+
+\begin{PostIt}<center>
+ Ceci est un petit Post-It ! Pour rappeler par exemple que \[(a+b)^2=a^2+2ab+b^2.\]
+\end{PostIt}
+
+\begin{PostIt}[Largeur=8cm,Couleur=orange,Attache=Non,Inclinaison=-5,Coin,AlignementPostIt=center]
+\lipsum[1][1-4]
+\end{PostIt}
+\hfill
+\begin{PostIt}[Hauteur=6cm,AlignementV=center,Couleur=pink,Attache=Trombone,CouleurAttache=blue,Inclinaison=15,Coin,AlignementPostIt=center]
+\lipsum[1][1-4]
+\end{PostIt}
+
+\vspace{0.5cm}
+
+%\hfill{}\textit{Merci à Denis Bitouzé et à Gilles Le Bourhis pour leurs retours et idées !}
+
+\smallskip
+
+\vfill
+
+\hrule
+
+\medskip
+
+\TableauDocumentation
+
+\medskip
+
+\hrule
+
+\medskip
+
+\newpage
+
+\phantomsection
+\hypertarget{matoc}{}
+
+\tableofcontents
+
+\vfill
+
+\section{Historique}
+
+\verb|v0.1.0|~:~~~~Version initiale.
+
+\newpage
+
+\section{Le package postit}
+
+\subsection{Introduction}
+
+\begin{noteblock}
+Le package propose de quoi afficher, dans son document \LaTeX, un Post-It (créé à l'aide de \texttt{tcolorbox}), avec la possibilité :
+
+\begin{itemize}
+ \item de spécifier les dimensions, la couleur ;
+ \item de rajouter une \textit{attache} comme un trombone ou une punaise ;
+ \item de personnaliser les bordure et le coin.
+\end{itemize}
+
+Le package propose également de quoi créer un \textit{mini-}Post-It (créé à l'aide d'une \texttt{tcbox}), avec la possibilité de gérer la couleur et l'ombre.
+\end{noteblock}
+
+\subsection{Chargement du package, packages utilisés}
+
+\begin{importantblock}
+Le package se charge, de manière classique, dans le préambule.
+
+Il n'existe pas d'option pour le package, et \texttt{xcolor} n'est pas chargé.
+\end{importantblock}
+
+\begin{DemoCode}[listing only]
+\documentclass{article}
+\usepackage{postit}
+
+\end{DemoCode}
+
+\begin{noteblock}
+\textsf{postit} charge les packages suivantes :
+
+\begin{itemize}
+ \item \texttt{tcolorbox} avec la librairie \texttt{\textit{tcbox}.skins} ;
+ \item \texttt{xstring} et \texttt{simplekv}.
+\end{itemize}
+
+Il est compatible avec les compilations usuelles en \textsf{latex}, \textsf{pdflatex}, \textsf{lualatex} ou \textsf{xelatex}.
+\end{noteblock}
+
+\subsection{Compatibilité}
+
+\begin{cautionblock}
+Si un autre package charge \texttt{tcolorbox}, et notamment avec l'option \Cle{[most]}, il vaut mieux charger \texttt{postit} après, afin d'éviter un \textsf{option clash error\ldots}.
+\end{cautionblock}
+
+\begin{DemoCode}[listing only]
+\documentclass{article}
+\usepackage[<librairies>]{tcolorbox}
+\usepackage{postit}
+...
+
+\end{DemoCode}
+
+\vfill~
+
+\pagebreak
+
+\section{Environnement Post-It}
+
+\subsection{Environnement et fonctionnement global}
+
+\begin{cautionblock}
+L'environnement dédié à la création du Post-It est \texttt{PostIt}.
+
+Il fonctionne avec un système de clés, entre \texttt{[...]} et il est possible, entre \texttt{<...>} de spécifier des options à la \textsf{tcbox}, en langage \textsf{tcbox} !
+\end{cautionblock}
+
+\begin{DemoCode}[listing only]
+\begin{PostIt}[clés]<options tcbox>
+...
+...
+\end{PostIt}
+\end{DemoCode}
+
+\begin{noteblock}
+Comme indiqué dans l'introduction, le Post-It est créé à l'aide d'un environnement \textsf{tcbox}.
+
+La majorité des (multiples) paramètres d'une \textsf{tcbox} sont fixés par le code, mais il est possible de spécifier certaines caractéristiques esthétiques du Post-It !
+\end{noteblock}
+
+\begin{DemoCode}[]
+%sortie par défaut, avec un paragraphe issu du package lipsum
+\begin{PostIt}
+\lipsum[1][1-2]
+\end{PostIt}
+\end{DemoCode}
+
+\begin{tipblock}
+Les éventuelles couleurs choisies devront être données de manière \textit{unique}, sans utiliser les \textit{mélanges} (avec \texttt{CouleurA!...!CouleurB}) que propose le package \texttt{xcolor}.
+
+Toutefois, toute couleur précédemment définie pourra être utilisée pour le Post-It.
+\end{tipblock}
+
+\begin{tipblock}
+Le Post-It créé pourra être intégré dans une \textsf{minipage} ou un \textsf{wrapstuff} si besoin.
+
+Pour l'alignement horizontal, il est conseillé d'utiliser des commandes dédiées comme \texttt{\textbackslash hfill} ou des envrionnements dédiées comme \texttt{flush...}.
+\end{tipblock}
+
+\subsection{Clés et options}
+
+\begin{tipblock}
+Le premier argument, optionnel et entre \texttt{[...]}, propose les \Cle{clés} suivantes :
+
+\begin{itemize}
+ \item \Cle{Largeur} : largeur du Post-It ; \hfill{}défaut : \Cle{6cm}
+ \item \Cle{Couleur} : couleur du Post-It (la bordure sera plus foncée) ; \hfill{}défaut : \Cle{yellow}
+ \item \Cle{Hauteur} : hauteur du Post-It (par défaut elle est \textit{automatique}) ; \hfill{}défaut : \Cle{auto}
+ \item \Cle{Inclinaison} : inclinaison du Post-It ; \hfill{}défaut : \Cle{0}
+ \item \Cle{Ombre} : booléen pour afficher une ombre portée ; \hfill{}défaut : \Cle{true}
+ \item \Cle{Bordure} : booléen pour afficher une fine bordure ; \hfill{}défaut : \Cle{true}
+ \item \Cle{Coin} : booléen pour afficher un coin corné ; \hfill{}défaut : \Cle{false}
+ \item \Cle{Attache} : choix de la décoration, parmi \Cle{Trombone / Punaise / Non} ;
+
+ \hfill{}défaut : \Cle{Punaise}
+ \item \Cle{CouleurAttache} : couleur de l'attache ; \hfill{}défaut : \Cle{red}
+ \item \Cle{DecalAttache} : décalage horizontal de l'attache par rapport à sa position initiale (au centre pour la punaise, à 1~cm du bord droit pour le trombone) ;
+
+ \hfill{}défaut : \Cle{0cm}
+ \item \Cle{AlignementV} : gère l'alignement vertical dans le Post-It (parmi \Cle{top/center/bottom}) ;
+
+ \hfill{}défaut : \Cle{top}
+ \item \Cle{AlignementH} : gère l'alignement horizontal dans le Post-It (parmi \Cle{left/center/right/justify}) ;
+
+ \hfill{}défaut : \Cle{justify}
+ \item \Cle{AlignementPostIt} : gère l'alignement vertical global du Post-It (parmi \Cle{top/center/bottom}).
+
+ \hfill{}défaut : \Cle{bottom}
+\end{itemize}
+\vspace*{-\baselineskip}\leavevmode
+\end{tipblock}
+
+\begin{tipblock}
+Le second argument, optionnel et entre \texttt{<...>} correspond à des options spécifiques à passer à la \textsf{tcolorbox}, en langage \textsf{tcbox}.
+
+Elles permettent de modifier localement des options non paramétrées par des clés présentées précédemment.
+\end{tipblock}
+
+\begin{DemoCode}[]
+\begin{PostIt}
+ [Couleur=cyan,Attache=Trombone,Largeur=10cm,Inclinaison=10]<center,right=1.5cm>
+\lipsum[1][1-3]
+\end{PostIt}
+\end{DemoCode}
+
+\pagebreak
+
+\subsection{Exemples}
+
+\begin{DemoCode}[]
+%usepackage{wrapstuff}
+\begin{wrapstuff}[r,top=1]
+\begin{PostIt}[Inclinaison=5,Coin,Couleur=pink,CouleurAttache=blue,Bordure=false]
+\lipsum[1][1-2]
+\end{PostIt}
+\end{wrapstuff}
+
+\lipsum[1]
+\end{DemoCode}
+
+\begin{DemoCode}[]
+Un petit Post-It aligné à droite, et centré verticalement :
+%
+\hfill\begin{PostIt}[Inclinaison=-10,Couleur=orange,Largeur=5cm,Hauteur=5cm, AlignementV=center,Coin,CouleurAttache=yellow, DecalAttache=-1cm,AlignementPostIt=center]
+
+\textsf{\small\lipsum[1][1-2]}
+\[\mathsf{\displaystyle\sum_{k=1}^{n} k = \dfrac{n(n+1)}{2}}\]
+
+\end{PostIt}
+\end{DemoCode}
+
+\vfill~
+
+\pagebreak
+
+\section{Post-It simple, en ligne}
+
+\subsection{Commande et fonctionnement global}
+
+\begin{cautionblock}
+La commande dédiée à la création du \textit{mini-}Post-It est \texttt{MiniPostIt}.
+
+Elle fonctionne sous forme autonome, avec uniquement la couleur en \Cle{option}.
+
+\smallskip
+
+Cette fois-ci le \textit{mini-} Post-It est créé à l'aide d'une commande \textsf{tcbox}.
+\end{cautionblock}
+
+\begin{DemoCode}[listing only]
+\MiniPostIt(*)[couleur]{contenu}
+\end{DemoCode}
+
+\subsection{Arguments}
+
+\begin{noteblock}
+La version étoilée active l'ombre du \textit{mini-}Post-It.
+
+La couleur (\Cle{yellow}), est gérée par l'argument optionnel entre \texttt{[...]}.
+\end{noteblock}
+
+\subsection{Exemples}
+
+\begin{DemoCode}[]
+On va travailler sur une équation diophantienne du type $ax+by=c$.
+
+On va utiliser le \MiniPostIt*[orange]{théorème de Bezout} puis le \MiniPostIt{théorème de Gauss}.
+
+Le schéma de résolution est classique, et assez simple à appréhender !
+\end{DemoCode}
+
+\end{document} \ No newline at end of file
diff --git a/macros/latex/contrib/postit/tex/postit.sty b/macros/latex/contrib/postit/tex/postit.sty
new file mode 100644
index 0000000000..76497257df
--- /dev/null
+++ b/macros/latex/contrib/postit/tex/postit.sty
@@ -0,0 +1,158 @@
+% Author : C. Pierquet
+% licence : Released under the LaTeX Project Public License v1.3c
+% or later, see http://www.latex-project.org/lppl.txtf
+
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesPackage{postit}[2023/05/31 0.1.0 Utiliser des post-it]
+%0.1.0 Version initiale
+
+%------Packages utiles
+\RequirePackage{tcolorbox}
+\RequirePackage{simplekv}
+\RequirePackage{xstring}
+%------Librairies
+\tcbuselibrary{skins}
+
+%------Clés
+\defKV[postit]{%
+ Largeur=\def\PostItLarg{#1},%
+ Couleur=\def\PostItCoul{#1},%
+ CouleurAttache=\def\PostItCoulClip{#1},%
+ EchelleAttache=\def\PostItCoulScaleClip{#1},%
+ Inclinaison=\def\PostItIncline{#1},%
+ Hauteur=\def\PostItHauteur{#1},%
+ DecalAttache=\def\PostItDeclClip{#1},%
+ Attache=\def\PostItDeco{#1},%
+ AlignementV=\def\PostItAlignV{#1},%
+ AlignementH=\def\PostItAlignH{#1},%
+ AlignementPostIt=\def\PostItAlignPostIt{#1}
+}
+
+\setKVdefault[postit]{%
+ Largeur=6cm,%
+ Couleur=yellow,%
+ CouleurAttache=red,%
+ Inclinaison=0,%
+ EchelleAttache=1,%
+ Ombre=true,%
+ Hauteur=auto,%
+ DecalAttache=0cm,%
+ Attache=Punaise,%
+ AlignementV=top,%
+ AlignementH=justify,%
+ AlignementPostIt=bottom,%
+ Bordure=true,%
+ Coin=false
+}
+
+%------Style principal tcolorbox
+\tcbset{testpostit/.style={%
+ on line,enhanced,colback=\PostItCoul!50,colframe=\PostItCoul!50!black,boxrule=\PostItBorder,width=\PostItLarg,sharp corners,halign=\PostItAlignH,valign=\PostItAlignV,%
+ finish={\CommandeDecoration},tikz={rotate=\PostItIncline,transform shape},%
+ box align=\PostItAlignPostIt,%
+ nobeforeafter
+ }%
+}
+
+%------Gestion du coin
+\NewDocumentCommand\CoinPostIt{ }{%
+ \path[line width=\PostItBorder,fill=\PostItCoul!80!black] ([yshift=3mm]interior.south east)--++(-0.4,-0.1)--++(0.1,-0.2);
+ \path[line width=\PostItBorder,draw=\PostItCoul!50!black,shorten <=-0.05mm,shorten >=-0.05mm,color=\PostItCoul!50!black] ([yshift=3mm]interior.south east)--++(-0.4,-0.1)--++(0.1,-0.2);
+}
+
+%------Gestion du trombone
+\NewDocumentCommand\TrombonePostIt{ }{%
+ \begin{scope}[shift={([xshift={-1cm+\PostItDeclClip}]frame.north east)},rotate=-15,scale={\PostItCoulScaleClip*0.55},line cap=round]
+ \draw[line width=0.81mm,draw=\PostItCoulClip!66] (0,0) --++ (0,0.0) arc (180:0:3.5mm) --++ (0,-1.75) arc (0:-180:3mm) --++ (0,1.25) ;
+ \draw[line width=0.27mm,draw=\PostItCoulClip!33] (0,0) --++ (0,0.0) arc (180:0:3.5mm) --++ (0,-1.75) arc (0:-180:3mm) --++ (0,1.25) ;
+ \end{scope}
+}
+
+%------Gestion de la punaise
+\NewDocumentCommand\EpinglePostIt{ }{%
+ \begin{scope}[shift={([xshift=\PostItDeclClip,yshift=-0.5cm]frame.north)},scale={\PostItCoulScaleClip*0.55},rotate=-40]
+ \begin{scope}[rotate=-35]
+ \draw[blue!10!gray,line cap=round,line width=2pt] (0,0) -- ++(90:0.85);
+ \fill[blue!10!gray,scale=0.5] (90:0.85) ellipse (.65cm and .3cm) ;
+ \fill[blue!10!gray,scale=0.5] (90:0.85) ++(0,0.4) ellipse (.2 and .4);
+ \fill[blue!10!gray,scale=0.5] (90:0.85) ++(0,0.8) ellipse (.4 and .3);
+ \end{scope}
+ \draw[line cap=round,line width=2pt] (0,0) -- ++(90:0.85);
+ \fill[ball color=\PostItCoulClip!66,scale=0.5] (90:0.85) ellipse (.65cm and .3cm) ;
+ \fill[ball color=\PostItCoulClip!66,scale=0.5] (90:0.85) ++(0,0.4) ellipse (.2 and .4);
+ \fill[ball color=\PostItCoulClip!66,scale=0.5] (90:0.85) ++(0,0.8) ellipse (.4 and .3);
+
+ \end{scope}
+}
+
+%------Environnement principal
+\NewDocumentEnvironment{PostIt}{ O{} D<>{} }%
+{%
+ \restoreKV[postit]%
+ \setKV[postit]{#1}%
+ %choix de la déco et paramètrage
+ \def\CommandeDecoration{\EpinglePostIt}%
+ \def\MarginOffsetV{4mm}%
+ \IfStrEq{\PostItDeco}{Trombone}%
+ {\def\CommandeDecoration{\TrombonePostIt}\def\MarginOffsetV{0mm}}%
+ {}%
+ \IfStrEq{\PostItDeco}{Non}%
+ {\def\CommandeDecoration{}\def\MarginOffsetV{0mm}}%
+ {}%
+ %cas de la bordure
+ \ifboolKV[postit]{Bordure}%
+ {%
+ \def\PostItBorder{0.1mm}%
+ \tcbset{bordure/.style={}}%
+ }%
+ {%
+ \def\PostItBorder{0mm}%
+ \tcbset{bordure/.style={frame hidden}}%
+ }%
+ %cas du coin
+ \ifboolKV[postit]{Coin}%
+ {%
+ \tcbset{coincoin/.style={rounded corners=southeast,arc is angular,arc=3mm,underlay={\CoinPostIt}}}%
+ }%
+ {%
+ \tcbset{coincoin/.style={}}%
+ }%
+ %en fonction de hauteur auto ou non
+ \IfStrEq{\PostItHauteur}{auto}%
+ {%
+ \ifboolKV[postit]{Ombre}%
+ {\begin{tcolorbox}[testpostit,#2,bordure,coincoin,drop fuzzy shadow,top={2mm+\MarginOffsetV}]}%
+ {\begin{tcolorbox}[testpostit,#2,bordure,coincoin,top={2mm+\MarginOffsetV}]}%
+ }%
+ {%
+ \ifboolKV[postit]{Ombre}%
+ {\begin{tcolorbox}[testpostit,#2,bordure,coincoin,drop fuzzy shadow,height=\PostItHauteur,top={2mm+\MarginOffsetV}]}%
+ {\begin{tcolorbox}[testpostit,#2,bordure,coincoin,height=\PostItHauteur,top={2mm+\MarginOffsetV}]}%
+ }%
+}%
+{%
+ \end{tcolorbox}%
+}
+
+%------Style principal minitcbox
+\tcbset{testminipostit/.style={%
+ enhanced,size=small,boxrule=0.1mm,sharp corners,boxsep=0.5mm,%
+ left=0mm,right=2.5mm,top=0mm,bottom=0mm,nobeforeafter,box align=base
+ }%
+}
+%------Style principal minitcbox
+\tcbset{ombreminipostit/.style={%
+ fuzzy shadow={0.5mm}{-0.5mm}{0mm}{0.1mm}{black!50!white}
+ }%
+}
+
+\NewTCBox{\MiniPostIt}{ s O{yellow} }{%
+ testminipostit,colback=#2!50,colframe=#2!50!black,rounded corners=southeast,arc is angular,arc=2mm,%
+ underlay={
+ \path[line width=0.1mm,fill=#2!80!black] ([yshift=2mm]interior.south east)--++(-0.25,-0.1)--++(0.05,-0.1);
+ \path[line width=0.1mm,draw=#2!50!black,shorten <=-0.05mm,shorten >=-0.05mm,color=#2!50!black] ([yshift=2mm]interior.south east)--++(-0.25,-0.1)--++(0.05,-0.1);
+ },%
+ IfBooleanTF={#1}{ombreminipostit}{}
+}
+
+\endinput \ No newline at end of file
diff --git a/macros/latex/contrib/revtex/README b/macros/latex/contrib/revtex/README
index ff3578c4ef..987f350c8e 100644
--- a/macros/latex/contrib/revtex/README
+++ b/macros/latex/contrib/revtex/README
@@ -1,15 +1,15 @@
%% ****** Start of file README ****** %
%%
%% This file is part of the APS files in the REVTeX 4 distribution.
-%% Version 4.2e of REVTeX, October, 2020.
+%% Version 4.2f of REVTeX, June, 2022.
%%
-%% Copyright (c) 1999-2020 American Physical Society.
+%% Copyright (c) 1999--2022 American Physical Society.
%%
-Last updated 03 October 2020
+Last updated 05 June 2022
This file describes the contents of this distribution of REVTeX 4.2,
-version 4.2d. The definitive source of information about REVTeX 4
+version 4.2f. The definitive source of information about REVTeX 4
is the APS web page http://journals.aps.org/revtex/.
User queries should be directed to revtex@aps.org.
diff --git a/macros/latex/contrib/revtex/aip4-2.pdf b/macros/latex/contrib/revtex/aip4-2.pdf
deleted file mode 100644
index f09149f733..0000000000
--- a/macros/latex/contrib/revtex/aip4-2.pdf
+++ /dev/null
Binary files differ
diff --git a/macros/latex/contrib/revtex/aip/aipguide4-2.pdf b/macros/latex/contrib/revtex/doc/aip/aipguide4-2.pdf
index 6c2d31960f..6c2d31960f 100644
--- a/macros/latex/contrib/revtex/aip/aipguide4-2.pdf
+++ b/macros/latex/contrib/revtex/doc/aip/aipguide4-2.pdf
Binary files differ
diff --git a/macros/latex/contrib/revtex/aip/aipguide4-2.tex b/macros/latex/contrib/revtex/doc/aip/aipguide4-2.tex
index 039bfe0372..039bfe0372 100644
--- a/macros/latex/contrib/revtex/aip/aipguide4-2.tex
+++ b/macros/latex/contrib/revtex/doc/aip/aipguide4-2.tex
diff --git a/macros/latex/contrib/revtex/aps/apsguide4-2.pdf b/macros/latex/contrib/revtex/doc/aps/apsguide4-2.pdf
index 02819f0cec..02819f0cec 100644
--- a/macros/latex/contrib/revtex/aps/apsguide4-2.pdf
+++ b/macros/latex/contrib/revtex/doc/aps/apsguide4-2.pdf
Binary files differ
diff --git a/macros/latex/contrib/revtex/aps/apsguide4-2.tex b/macros/latex/contrib/revtex/doc/aps/apsguide4-2.tex
index f50d9a832e..f50d9a832e 100644
--- a/macros/latex/contrib/revtex/aps/apsguide4-2.tex
+++ b/macros/latex/contrib/revtex/doc/aps/apsguide4-2.tex
diff --git a/macros/latex/contrib/revtex/auguide/auguide4-2.pdf b/macros/latex/contrib/revtex/doc/auguide/auguide4-2.pdf
index aae56da335..aae56da335 100644
--- a/macros/latex/contrib/revtex/auguide/auguide4-2.pdf
+++ b/macros/latex/contrib/revtex/doc/auguide/auguide4-2.pdf
Binary files differ
diff --git a/macros/latex/contrib/revtex/auguide/auguide4-2.tex b/macros/latex/contrib/revtex/doc/auguide/auguide4-2.tex
index deeaf3aeb6..deeaf3aeb6 100644
--- a/macros/latex/contrib/revtex/auguide/auguide4-2.tex
+++ b/macros/latex/contrib/revtex/doc/auguide/auguide4-2.tex
diff --git a/macros/latex/contrib/revtex/auguide/docs.sty b/macros/latex/contrib/revtex/doc/auguide/docs.sty
index f401506cb6..f401506cb6 100644
--- a/macros/latex/contrib/revtex/auguide/docs.sty
+++ b/macros/latex/contrib/revtex/doc/auguide/docs.sty
diff --git a/macros/latex/contrib/revtex/auguide/summary4-2.pdf b/macros/latex/contrib/revtex/doc/auguide/summary4-2.pdf
index 4738c9f1ae..4738c9f1ae 100644
--- a/macros/latex/contrib/revtex/auguide/summary4-2.pdf
+++ b/macros/latex/contrib/revtex/doc/auguide/summary4-2.pdf
Binary files differ
diff --git a/macros/latex/contrib/revtex/auguide/summary4-2.tex b/macros/latex/contrib/revtex/doc/auguide/summary4-2.tex
index 7ba76a1622..7ba76a1622 100644
--- a/macros/latex/contrib/revtex/auguide/summary4-2.tex
+++ b/macros/latex/contrib/revtex/doc/auguide/summary4-2.tex
diff --git a/macros/latex/contrib/revtex/sample/aapm/aapmsamp.bib b/macros/latex/contrib/revtex/doc/sample/aapm/aapmsamp.bib
index 31728856f2..31728856f2 100644
--- a/macros/latex/contrib/revtex/sample/aapm/aapmsamp.bib
+++ b/macros/latex/contrib/revtex/doc/sample/aapm/aapmsamp.bib
diff --git a/macros/latex/contrib/revtex/sample/aapm/aapmsamp.pdf b/macros/latex/contrib/revtex/doc/sample/aapm/aapmsamp.pdf
index b7c8908051..b7c8908051 100644
--- a/macros/latex/contrib/revtex/sample/aapm/aapmsamp.pdf
+++ b/macros/latex/contrib/revtex/doc/sample/aapm/aapmsamp.pdf
Binary files differ
diff --git a/macros/latex/contrib/revtex/sample/aapm/aapmsamp.tex b/macros/latex/contrib/revtex/doc/sample/aapm/aapmsamp.tex
index e1c5ff96d0..e1c5ff96d0 100644
--- a/macros/latex/contrib/revtex/sample/aapm/aapmsamp.tex
+++ b/macros/latex/contrib/revtex/doc/sample/aapm/aapmsamp.tex
diff --git a/macros/latex/contrib/revtex/sample/aapm/aapmtemplate.tex b/macros/latex/contrib/revtex/doc/sample/aapm/aapmtemplate.tex
index 113bd825c3..113bd825c3 100644
--- a/macros/latex/contrib/revtex/sample/aapm/aapmtemplate.tex
+++ b/macros/latex/contrib/revtex/doc/sample/aapm/aapmtemplate.tex
diff --git a/macros/latex/contrib/revtex/sample/aapm/fig_1.eps b/macros/latex/contrib/revtex/doc/sample/aapm/fig_1.eps
index 8bc5bc8a74..8bc5bc8a74 100644
--- a/macros/latex/contrib/revtex/sample/aapm/fig_1.eps
+++ b/macros/latex/contrib/revtex/doc/sample/aapm/fig_1.eps
diff --git a/macros/latex/contrib/revtex/sample/aapm/fig_2.eps b/macros/latex/contrib/revtex/doc/sample/aapm/fig_2.eps
index cda61493ce..cda61493ce 100644
--- a/macros/latex/contrib/revtex/sample/aapm/fig_2.eps
+++ b/macros/latex/contrib/revtex/doc/sample/aapm/fig_2.eps
diff --git a/macros/latex/contrib/revtex/sample/aip/aipsamp.bib b/macros/latex/contrib/revtex/doc/sample/aip/aipsamp.bib
index 458a4b7a19..458a4b7a19 100644
--- a/macros/latex/contrib/revtex/sample/aip/aipsamp.bib
+++ b/macros/latex/contrib/revtex/doc/sample/aip/aipsamp.bib
diff --git a/macros/latex/contrib/revtex/sample/aip/aipsamp.pdf b/macros/latex/contrib/revtex/doc/sample/aip/aipsamp.pdf
index 185f5c7fa1..185f5c7fa1 100644
--- a/macros/latex/contrib/revtex/sample/aip/aipsamp.pdf
+++ b/macros/latex/contrib/revtex/doc/sample/aip/aipsamp.pdf
Binary files differ
diff --git a/macros/latex/contrib/revtex/sample/aip/aipsamp.tex b/macros/latex/contrib/revtex/doc/sample/aip/aipsamp.tex
index c2416f9dae..c2416f9dae 100644
--- a/macros/latex/contrib/revtex/sample/aip/aipsamp.tex
+++ b/macros/latex/contrib/revtex/doc/sample/aip/aipsamp.tex
diff --git a/macros/latex/contrib/revtex/sample/aip/aiptemplate.tex b/macros/latex/contrib/revtex/doc/sample/aip/aiptemplate.tex
index c1d22b5863..c1d22b5863 100644
--- a/macros/latex/contrib/revtex/sample/aip/aiptemplate.tex
+++ b/macros/latex/contrib/revtex/doc/sample/aip/aiptemplate.tex
diff --git a/macros/latex/contrib/revtex/sample/aip/fig_1.eps b/macros/latex/contrib/revtex/doc/sample/aip/fig_1.eps
index 8bc5bc8a74..8bc5bc8a74 100644
--- a/macros/latex/contrib/revtex/sample/aip/fig_1.eps
+++ b/macros/latex/contrib/revtex/doc/sample/aip/fig_1.eps
diff --git a/macros/latex/contrib/revtex/sample/aip/fig_2.eps b/macros/latex/contrib/revtex/doc/sample/aip/fig_2.eps
index cda61493ce..cda61493ce 100644
--- a/macros/latex/contrib/revtex/sample/aip/fig_2.eps
+++ b/macros/latex/contrib/revtex/doc/sample/aip/fig_2.eps
diff --git a/macros/latex/contrib/revtex/sample/aps/apssamp.bib b/macros/latex/contrib/revtex/doc/sample/aps/apssamp.bib
index ff2eace3e8..ff2eace3e8 100644
--- a/macros/latex/contrib/revtex/sample/aps/apssamp.bib
+++ b/macros/latex/contrib/revtex/doc/sample/aps/apssamp.bib
diff --git a/macros/latex/contrib/revtex/sample/aps/apssamp.pdf b/macros/latex/contrib/revtex/doc/sample/aps/apssamp.pdf
index 3e11f390bc..3e11f390bc 100644
--- a/macros/latex/contrib/revtex/sample/aps/apssamp.pdf
+++ b/macros/latex/contrib/revtex/doc/sample/aps/apssamp.pdf
Binary files differ
diff --git a/macros/latex/contrib/revtex/sample/aps/apssamp.tex b/macros/latex/contrib/revtex/doc/sample/aps/apssamp.tex
index ae2eb529ff..ae2eb529ff 100644
--- a/macros/latex/contrib/revtex/sample/aps/apssamp.tex
+++ b/macros/latex/contrib/revtex/doc/sample/aps/apssamp.tex
diff --git a/macros/latex/contrib/revtex/sample/aps/apstemplate.tex b/macros/latex/contrib/revtex/doc/sample/aps/apstemplate.tex
index 84d3435306..84d3435306 100644
--- a/macros/latex/contrib/revtex/sample/aps/apstemplate.tex
+++ b/macros/latex/contrib/revtex/doc/sample/aps/apstemplate.tex
diff --git a/macros/latex/contrib/revtex/sample/aps/fig_1.eps b/macros/latex/contrib/revtex/doc/sample/aps/fig_1.eps
index 2cd607454d..2cd607454d 100644
--- a/macros/latex/contrib/revtex/sample/aps/fig_1.eps
+++ b/macros/latex/contrib/revtex/doc/sample/aps/fig_1.eps
diff --git a/macros/latex/contrib/revtex/sample/aps/fig_2.eps b/macros/latex/contrib/revtex/doc/sample/aps/fig_2.eps
index eb637e2429..eb637e2429 100644
--- a/macros/latex/contrib/revtex/sample/aps/fig_2.eps
+++ b/macros/latex/contrib/revtex/doc/sample/aps/fig_2.eps
diff --git a/macros/latex/contrib/revtex/sample/aps/vid_1a.eps b/macros/latex/contrib/revtex/doc/sample/aps/vid_1a.eps
index 2388bd4104..2388bd4104 100644
--- a/macros/latex/contrib/revtex/sample/aps/vid_1a.eps
+++ b/macros/latex/contrib/revtex/doc/sample/aps/vid_1a.eps
diff --git a/macros/latex/contrib/revtex/sample/aps/vid_1b.eps b/macros/latex/contrib/revtex/doc/sample/aps/vid_1b.eps
index a64a6dc4f0..a64a6dc4f0 100644
--- a/macros/latex/contrib/revtex/sample/aps/vid_1b.eps
+++ b/macros/latex/contrib/revtex/doc/sample/aps/vid_1b.eps
diff --git a/macros/latex/contrib/revtex/sample/sor/fig_1.eps b/macros/latex/contrib/revtex/doc/sample/sor/fig_1.eps
index 8bc5bc8a74..8bc5bc8a74 100644
--- a/macros/latex/contrib/revtex/sample/sor/fig_1.eps
+++ b/macros/latex/contrib/revtex/doc/sample/sor/fig_1.eps
diff --git a/macros/latex/contrib/revtex/sample/sor/fig_2.eps b/macros/latex/contrib/revtex/doc/sample/sor/fig_2.eps
index cda61493ce..cda61493ce 100644
--- a/macros/latex/contrib/revtex/sample/sor/fig_2.eps
+++ b/macros/latex/contrib/revtex/doc/sample/sor/fig_2.eps
diff --git a/macros/latex/contrib/revtex/sample/sor/sorsamp.bib b/macros/latex/contrib/revtex/doc/sample/sor/sorsamp.bib
index 458a4b7a19..458a4b7a19 100644
--- a/macros/latex/contrib/revtex/sample/sor/sorsamp.bib
+++ b/macros/latex/contrib/revtex/doc/sample/sor/sorsamp.bib
diff --git a/macros/latex/contrib/revtex/sample/sor/sorsamp.pdf b/macros/latex/contrib/revtex/doc/sample/sor/sorsamp.pdf
index 9df32f8ec1..9df32f8ec1 100644
--- a/macros/latex/contrib/revtex/sample/sor/sorsamp.pdf
+++ b/macros/latex/contrib/revtex/doc/sample/sor/sorsamp.pdf
Binary files differ
diff --git a/macros/latex/contrib/revtex/sample/sor/sorsamp.tex b/macros/latex/contrib/revtex/doc/sample/sor/sorsamp.tex
index e44460ee81..e44460ee81 100644
--- a/macros/latex/contrib/revtex/sample/sor/sorsamp.tex
+++ b/macros/latex/contrib/revtex/doc/sample/sor/sorsamp.tex
diff --git a/macros/latex/contrib/revtex/sample/sor/sortemplate.tex b/macros/latex/contrib/revtex/doc/sample/sor/sortemplate.tex
index 8bacf8024b..8bacf8024b 100644
--- a/macros/latex/contrib/revtex/sample/sor/sortemplate.tex
+++ b/macros/latex/contrib/revtex/doc/sample/sor/sortemplate.tex
diff --git a/macros/latex/contrib/revtex/ltxdocext.pdf b/macros/latex/contrib/revtex/ltxdocext.pdf
deleted file mode 100644
index 61334493f7..0000000000
--- a/macros/latex/contrib/revtex/ltxdocext.pdf
+++ /dev/null
Binary files differ
diff --git a/macros/latex/contrib/revtex/ltxfront.pdf b/macros/latex/contrib/revtex/ltxfront.pdf
deleted file mode 100644
index 85e6950c5d..0000000000
--- a/macros/latex/contrib/revtex/ltxfront.pdf
+++ /dev/null
Binary files differ
diff --git a/macros/latex/contrib/revtex/ltxgrid.pdf b/macros/latex/contrib/revtex/ltxgrid.pdf
deleted file mode 100644
index f0ebeaa4a2..0000000000
--- a/macros/latex/contrib/revtex/ltxgrid.pdf
+++ /dev/null
Binary files differ
diff --git a/macros/latex/contrib/revtex/ltxutil.pdf b/macros/latex/contrib/revtex/ltxutil.pdf
deleted file mode 100644
index 3e082a972c..0000000000
--- a/macros/latex/contrib/revtex/ltxutil.pdf
+++ /dev/null
Binary files differ
diff --git a/macros/latex/contrib/revtex/revtex4-2.pdf b/macros/latex/contrib/revtex/revtex4-2.pdf
deleted file mode 100644
index cc91614966..0000000000
--- a/macros/latex/contrib/revtex/revtex4-2.pdf
+++ /dev/null
Binary files differ
diff --git a/macros/latex/contrib/revtex/aip4-2.dtx b/macros/latex/contrib/revtex/source/aip4-2.dtx
index 2c40254d9d..af7c9d8a67 100644
--- a/macros/latex/contrib/revtex/aip4-2.dtx
+++ b/macros/latex/contrib/revtex/source/aip4-2.dtx
@@ -17,9 +17,9 @@
% Maintenance Status
% This work has the LPPL maintenance status "maintained";
% Current Maintainer of this work is Arthur Ogawa
-% changes for version 4.2d and 4.2e by Phelype Oleinik.
+% changes for version 4.2d--4.2f by Phelype Oleinik.
%
-% Version (4.2e)
+% Version (4.2f)
% Modified by Aptara
%
% This work consists of the main source file aip4-2.dtx
@@ -75,7 +75,7 @@ altering it directly is inadvisable;
instead, modify the original source file.
See the URL in the file README-AIP.
-Copyright (c) 2019--2020 American Institute of Physics.
+Copyright (c) 2019--2022 American Institute of Physics.
mailto:tex@aip.org
Maintained by Arthur Ogawa (mailto:arthur_ogawa at sbcglobal.net)
@@ -85,7 +85,7 @@ Version (4.2c)
Modified by Aptara
under contract to American Institute of Physics
-Version (4.2d,4.2e)
+Version (4.2d--4.2f)
Modified by Phelype Oleinik for the American Physical Society (mailto:phelype.oleinik at latex-project.org)
License
@@ -154,13 +154,13 @@ License
%<*package>
%%% @LaTeX-file{
%%% filename = "aip4-2.dtx",
-%%% version = "4.2e",
-%%% date = "2020/10/03",
+%%% version = "4.2f",
+%%% date = "2022/06/05",
%%% author = "Arthur Ogawa (mailto:arthur_ogawa at sbcglobal.net),
%%% Phelype Oleinik (mailto:phelype.oleinik at latex-project.org),
%%% commissioned by the American Institute of Physics.
%%% ",
-%%% copyright = "Copyright (C) 2019--2020 American Institute of Physics,
+%%% copyright = "Copyright (C) 2019--2022 American Institute of Physics,
%%% distributed under the terms of the
%%% LaTeX Project Public License 1.3c, see
%%% ftp://ctan.tug.org/macros/latex/base/lppl.txt
@@ -262,7 +262,7 @@ License
% \begin{macrocode}
%<*driver|package>
%<version>
- [2020/10/03 4.2e AIP substyle for REVTeX]% \fileversion
+ [2022/06/05 4.2f AIP substyle for REVTeX]% \fileversion
%</driver|package>
% \end{macrocode}
%
diff --git a/macros/latex/contrib/revtex/ltxdocext.dtx b/macros/latex/contrib/revtex/source/ltxdocext.dtx
index d3d8b772f5..d3d8b772f5 100644
--- a/macros/latex/contrib/revtex/ltxdocext.dtx
+++ b/macros/latex/contrib/revtex/source/ltxdocext.dtx
diff --git a/macros/latex/contrib/revtex/ltxfront.dtx b/macros/latex/contrib/revtex/source/ltxfront.dtx
index 86dc0f3f4f..e1b3582184 100644
--- a/macros/latex/contrib/revtex/ltxfront.dtx
+++ b/macros/latex/contrib/revtex/source/ltxfront.dtx
@@ -114,8 +114,8 @@ License
%<*package>
%%% @LaTeX-file{
%%% filename = "ltxfront.dtx",
-%%% version = "4.2e",
-%%% date = "2020/10/03",
+%%% version = "4.2f",
+%%% date = "2022/06/05",
%%% author = "Arthur Ogawa (mailto:arthur_ogawa at sbcglobal.net),
%%% commissioned by the American Physical Society.
%%% ",
@@ -216,7 +216,7 @@ ltxfront%
% \begin{macrocode}
%<*doc|package|kernel>
%<version>
- [2020/10/03 4.2e frontmatter package (AO,DPC,MD)]% \fileversion
+ [2022/06/05 4.2f frontmatter package (AO,DPC,MD)]% \fileversion
%</doc|package|kernel>
%<kernel&!package&!doc>}%
% \end{macrocode}
diff --git a/macros/latex/contrib/revtex/ltxgrid.dtx b/macros/latex/contrib/revtex/source/ltxgrid.dtx
index 6d0c659db7..1bd35cbd62 100644
--- a/macros/latex/contrib/revtex/ltxgrid.dtx
+++ b/macros/latex/contrib/revtex/source/ltxgrid.dtx
@@ -16,7 +16,7 @@
% Maintenance Status
% This work has the LPPL maintenance status "maintained";
% Current Maintainer of this work is Arthur Ogawa
-% changes for version 4.2d and 4.2e by Phelype Oleinik.
+% changes for version 4.2d--4.2f by Phelype Oleinik.
%
% This work consists of the main source file ltxgrid.dtx
% and the derived files
@@ -115,8 +115,8 @@ License
%<*package>
%%% @LaTeX-file{
%%% filename = "ltxgrid.dtx",
-%%% version = "4.2e",
-%%% date = "2020/10/03",
+%%% version = "4.2f",
+%%% date = "2022/06/05",
%%% author = "Arthur Ogawa (mailto:arthur_ogawa at sbcglobal.net),
%%% Phelype Oleinik (mailto:phelype.oleinik at latex-project.org),
%%% commissioned by the American Physical Society.
@@ -230,7 +230,7 @@ ltxgrid%
% \begin{macrocode}
%<*doc|package|kernel>
%<version>
- [2020/10/03 4.2e page grid package (portions licensed from W. E. Baxter web at superscript.com)]% \fileversion
+ [2022/06/05 4.2f page grid package (portions licensed from W. E. Baxter web at superscript.com)]% \fileversion
%</doc|package|kernel>
%<kernel&!package&!doc>}%
% \end{macrocode}
@@ -320,7 +320,7 @@ ltxgrid%
last revised \filedate.%
}%
\thanks{%
- Version \fileversion\ \copyright\ 2019--2020 American Physical Society
+ Version \fileversion\ \copyright\ 2019--2022 American Physical Society
}%
}%
\author{%
@@ -5127,7 +5127,7 @@ now put a \cmd\usepackage\texttt{\{ltxgrid\}} in your document preamble!
% FIXME: it should be the job of the page grid to determine the procedure to execute at
% the start of the job. Make this a hook.
% \begin{macrocode}
-\rvtx@ifformat@geq{2020-10-01}%
+\rvtx@ifformat@geq{2020/10/01}%
{%
\AddToHook{begindocument}{%
\open@column@one\@ne
diff --git a/macros/latex/contrib/revtex/ltxutil.dtx b/macros/latex/contrib/revtex/source/ltxutil.dtx
index 4ce6464c83..4689c417a1 100644
--- a/macros/latex/contrib/revtex/ltxutil.dtx
+++ b/macros/latex/contrib/revtex/source/ltxutil.dtx
@@ -16,7 +16,7 @@
% Maintenance Status
% This work has the LPPL maintenance status "maintained";
% Current Maintainer of this work is Arthur Ogawa
-% changes for version 4.2d and 4.2e by Phelype Oleinik.
+% changes for version 4.2d--4.2f by Phelype Oleinik.
%
% This work consists of the main source file ltxutil.dtx
% and the derived files
@@ -115,8 +115,8 @@ License
%<*package>
%%% @LaTeX-file{
%%% filename = "ltxutil.dtx",
-%%% version = "4.2e",
-%%% date = "2020/10/03",
+%%% version = "4.2f",
+%%% date = "2022/06/05",
%%% author = "Arthur Ogawa (mailto:arthur_ogawa at sbcglobal.net),
%%% Phelype Oleinik (mailto:phelype.oleinik at latex-project.org),
%%% commissioned by the American Physical Society. Minor changes by Mark Doyle for version 4.2a-c.
@@ -223,7 +223,7 @@ ltxutil%
% \begin{macrocode}
%<*doc|package|kernel>
%<version>
- [2020/10/03 4.2e utilities package (portions licensed from W. E. Baxter web at superscript.com)]% \fileversion
+ [2022/06/05 4.2f utilities package (portions licensed from W. E. Baxter web at superscript.com)]% \fileversion
%</doc|package|kernel>
%<kernel&!package&!doc>}%
% \end{macrocode}
@@ -313,7 +313,7 @@ ltxutil%
last revised \filedate.%
}%
\thanks{%
- Version \fileversion\ \copyright\ 2019--2020 American Physical Society
+ Version \fileversion\ \copyright\ 2019--2022 American Physical Society
}%
}%
\author{%
@@ -970,7 +970,7 @@ now put a \cmd\usepackage\texttt{\{ltxutil\}} in your document preamble!
% \changes{4.1a}{2008/08/12}{Get rid of \cs{set@typesize@hook} \cs{set@pica@hook} and the \cs{normalsize} directive}%
% \changes{4.2d}{2020/09/17}{(PHO) Use \LaTeX's hook management system, if possible.}%
% \begin{macrocode}
-\rvtx@ifformat@geq{2020-10-01}%
+\rvtx@ifformat@geq{2020/10/01}%
{%
\AddToHook{begindocument/before}{\document@inithook}%
}{%
@@ -1031,7 +1031,7 @@ now put a \cmd\usepackage\texttt{\{ltxutil\}} in your document preamble!
% This approach, however, will only be done for older versions of the
% \LaTeX{} kernel:
% \begin{macrocode}
-\rvtx@ifformat@geq{2020-10-01}{%
+\rvtx@ifformat@geq{2020/10/01}{%
% <definitions for newer LaTeX later>
}{%
% <definitions for older LaTeX>
@@ -1122,7 +1122,7 @@ now put a \cmd\usepackage\texttt{\{ltxutil\}} in your document preamble!
%
% The entire patching will reside in the \texttt{enddocument} hook:
% \begin{macrocode}
-\rvtx@ifformat@geq{2020-10-01}{%
+\rvtx@ifformat@geq{2020/10/01}{%
\AddToHook{enddocument}{\rvtx@enddocument@patch{}}%
}{}
% \end{macrocode}
@@ -1359,26 +1359,30 @@ now put a \cmd\usepackage\texttt{\{ltxutil\}} in your document preamble!
% are compatible with this package's changes.
%
% \changes{4.1a}{2008/01/19}{(AO, 475) I had not properly reproduced the LaTeX macro \cs{eqnarray}.}%
+% \changes{4.2f}{2022/06/05}{(PHO) Fix detection of \cs{eqnarray} in newer \LaTeX.}%
% \begin{macrocode}
+\def\rvtx@tmpa#1{%
\def\eqnarray@LaTeX{%
\stepcounter{equation}%
\def\@currentlabel{\p@equation\theequation}%
+ #1% \def\@currentcounter{equation} on newer LaTeX
\global\@eqnswtrue
\m@th
\global\@eqcnt\z@
\tabskip\@centering
\let\\\@eqncr
$$\everycr{}\halign to\displaywidth\bgroup
- \hskip\@centering$\displaystyle\tabskip\z@skip{##}$\@eqnsel
- &\global\@eqcnt\@ne\hskip \tw@\arraycolsep \hfil${##}$\hfil
+ \hskip\@centering$\displaystyle\tabskip\z@skip{####}$\@eqnsel
+ &\global\@eqcnt\@ne\hskip \tw@\arraycolsep \hfil${####}$\hfil
&\global\@eqcnt\tw@ \hskip \tw@\arraycolsep
- $\displaystyle{##}$\hfil\tabskip\@centering
- &\global\@eqcnt\thr@@ \hb@xt@\z@\bgroup\hss##\egroup
+ $\displaystyle{####}$\hfil\tabskip\@centering
+ &\global\@eqcnt\thr@@ \hb@xt@\z@\bgroup\hss####\egroup
\tabskip\z@skip
\cr
-}
+}%
\long\def\eqnarray@fleqn@fixed{%
\stepcounter{equation}\def\@currentlabel{\p@equation\theequation}%
+ #1% \def\@currentcounter{equation} on newer LaTeX
\global\@eqnswtrue\m@th\global\@eqcnt\z@
\tabskip\ltx@mathindent
\let\\=\@eqncr
@@ -1391,25 +1395,33 @@ now put a \cmd\usepackage\texttt{\{ltxutil\}} in your document preamble!
$$%
\everycr{}%
\halignt@\linewidth\bgroup
- \hskip\@centering$\displaystyle\tabskip\z@skip{##}$\@eqnsel
+ \hskip\@centering$\displaystyle\tabskip\z@skip{####}$\@eqnsel
&\global\@eqcnt\@ne
\hskip\tw@\eqncolsep
- \hfil${{}##{}}$\hfil
+ \hfil${{}####{}}$\hfil
&\global\@eqcnt\tw@
\hskip\tw@\eqncolsep
- $\displaystyle{##}$\hfil\tabskip\@centering
- &\global\@eqcnt\thr@@\hb@xt@\z@\bgroup\hss##\egroup
+ $\displaystyle{####}$\hfil\tabskip\@centering
+ &\global\@eqcnt\thr@@\hb@xt@\z@\bgroup\hss####\egroup
\tabskip\z@skip
\cr
}%
-\@ifx{\eqnarray\eqnarray@LaTeX}{%
+}
+\rvtx@tmpa{}% older LaTeX
+\@ifx{\eqnarray\eqnarray@LaTeX}{\@firstofone}
+ {%
+ \rvtx@tmpa{\def\@currentcounter{equation}}% newer LaTeX
+ \@ifx{\eqnarray\eqnarray@LaTeX}{\@firstofone}
+ {\@gobble}
+ }
+{%
\class@info{Repairing broken LaTeX eqnarray}%
\let\eqnarray\eqnarray@fleqn@fixed
\newlength\eqncolsep
\setlength\eqncolsep\z@
\let\eqnarray@LaTeX\relax
\let\eqnarray@fleqn@fixed\relax
-}{}%
+}%
% \end{macrocode}
% The macro \cmd\ltx@mathindent\ is assigned to the \cmd\tabskip\ glue just
% before the alignment preamble is expanded, the value therefore applying at the
@@ -4427,7 +4439,7 @@ now put a \cmd\usepackage\texttt{\{ltxutil\}} in your document preamble!
\let\typeout\typeout@ltx
\true@sw
}{%
- \rvtx@ifformat@geq{2020-10-01}%
+ \rvtx@ifformat@geq{2020/10/01}%
{\true@sw}{\false@sw}%
}%
{\class@info{Making \string\typeout\space \string\long}}%
diff --git a/macros/latex/contrib/revtex/revtex-bst.dtx b/macros/latex/contrib/revtex/source/revtex-bst.dtx
index 1b5c8438ca..c486112370 100644
--- a/macros/latex/contrib/revtex/revtex-bst.dtx
+++ b/macros/latex/contrib/revtex/source/revtex-bst.dtx
@@ -1,6 +1,6 @@
% \iffalse meta-comment balanced on line 122
% revtex-bst.dtx: Package to extract .bst files for RevTeX
-% Copyright (c) 2020 American Physical Society.
+% Copyright (c) 2020--2022 American Physical Society.
% https://journals.aps.org/revtex/
% mailto:revtex@aps.org
%
@@ -86,12 +86,12 @@
%<*package>
%%% @LaTeX-file{
%%% filename = "revtex-bst.dtx",
-%%% version = "4.2e",
-%%% date = "2020/10/03",
+%%% version = "4.2f",
+%%% date = "2022/06/05",
%%% author = "Phelype Oleinik (mailto: phelype.oleinik at latex-project.org),
%%% commissioned by the American Physical Society.
%%% ",
-%%% copyright = "Copyright (C) 2020 American Physical Society
+%%% copyright = "Copyright (C) 2020--2022 American Physical Society
%%% distributed under the terms of the
%%% LaTeX Project Public License 1.3c, see
%%% ftp://ctan.tug.org/macros/latex/base/lppl.txt
diff --git a/macros/latex/contrib/revtex/revtex4-2.dtx b/macros/latex/contrib/revtex/source/revtex4-2.dtx
index f6e0b1ca60..243266a709 100644
--- a/macros/latex/contrib/revtex/revtex4-2.dtx
+++ b/macros/latex/contrib/revtex/source/revtex4-2.dtx
@@ -77,10 +77,10 @@ Modified by Aptara on behalf of American Physical Society and American Institute
Version (4.2b,4.2c)
Modified by Mark Doyle, American Physical Society (mailto:revtex at aps.org)
-Version (4.2d,4.2e)
+Version (4.2d--4.2f)
Modified by Phelype Oleinik for the American Physical Society (mailto:phelype.oleinik at latex-project.org)
-Copyright (c) 2019--2020 American Physical Society.
+Copyright (c) 2019--2022 American Physical Society.
https://journals.aps.org/revtex/
mailto:revtex@aps.org
@@ -137,8 +137,8 @@ See the REVTeX 4.2 README-REVTEX file for restrictions and more information.
%<*package>
%%% @LaTeX-file{
%%% filename = "revtex4-2.dtx",
-%%% version = "4.2e",
-%%% date = "2020/10/03",
+%%% version = "4.2f",
+%%% date = "2022/06/05",
%%% author = "Mark Doyle (mailto: revtex at aps.org), Arthur Ogawa (mailto:arthur_ogawa at sbcglobal.net),
%%% commissioned by the American Physical Society.
%%% ",
@@ -229,7 +229,7 @@ See the REVTeX 4.2 README-REVTEX file for restrictions and more information.
%</doc>
%<*!package&!options>
%<version>
- [2020/10/03 4.2e (https://journals.aps.org/revtex/ for documentation)]% \fileversion
+ [2022/06/05 4.2f (https://journals.aps.org/revtex/ for documentation)]% \fileversion
%</!package&!options>
% \end{macrocode}
% The current class name is remembered in \cmd\class@name.
@@ -651,7 +651,7 @@ The file \file{template.aps} is a boilerplate file.
Licensed under the LPPL:^^Jhttp://www.ctan.org/tex-archive/macros/latex/base/lppl.txt^^J
Arthur Ogawa <arthur_ogawa at sbcglobal dot net>^^J
Based on work by David Carlisle <david at dcarlisle.demon.co.uk>^^J
- Version (4.2d,4.2e): Modified by Mark Doyle and Phelype Oleinik^^J
+ Version (4.2d--4.2f): Modified by Mark Doyle and Phelype Oleinik^^J
\@gobble
}%
% \end{macrocode}
@@ -6130,10 +6130,11 @@ The file \file{template.aps} is a boilerplate file.
% Not! \cmd\TextOrMath\ must be made robust in any case (Bug 530). I return things to follow
% core \LaTeXe\ (\filename{latex.ltx}).
% \changes{4.1f}{2009/10/05}{(AO, 530) \cs{@fnsymbol}: Failed to import fixltx2e.sty technology. Return to LaTeX core.}
+% \changes{4.2f}{2022/06/05}{(PHO) \cs{@fnsymbol}: Correct \cs{ifcase} nesting logic.}
% \begin{macrocode}
\def\@fnsymbol#1{%
\ensuremath{%
- \ifcase#1\or
+ \ifcase#1\or
*\or
\dagger\or
\ddagger\or
@@ -6142,16 +6143,16 @@ The file \file{template.aps} is a boilerplate file.
% \|\or
**\or
\dagger\dagger\or
- \ddagger\ddagger\else
+ \ddagger\ddagger\or
\mathsection\mathsection\or
\mathparagraph\mathparagraph\or
***\or
\dagger\dagger\dagger\or
- \ddagger\ddagger\ddagger\else
+ \ddagger\ddagger\ddagger\or
\mathsection\mathsection\mathsection\or
- \mathparagraph\mathparagraph\mathparagraph\or
-%
- \@ctrerr
+ \mathparagraph\mathparagraph\mathparagraph
+ \else
+ \@ctrerr
\fi
}%
}%