summaryrefslogtreecommitdiff
path: root/macros/generic
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2023-02-15 03:01:49 +0000
committerNorbert Preining <norbert@preining.info>2023-02-15 03:01:49 +0000
commita7d99429152acee049db679dc26a92e01faf4992 (patch)
treec12bd699dd6c10d6efea6d36cfb71493181d98f5 /macros/generic
parentdc5dafdd7c01d469b556bc5bef745a6f1c84a5cb (diff)
CTAN sync 202302150301
Diffstat (limited to 'macros/generic')
-rw-r--r--macros/generic/witharrows/witharrows-french.pdfbin272837 -> 278782 bytes
-rw-r--r--macros/generic/witharrows/witharrows-french.tex23
-rw-r--r--macros/generic/witharrows/witharrows.dtx27
-rw-r--r--macros/generic/witharrows/witharrows.pdfbin559421 -> 559782 bytes
4 files changed, 25 insertions, 25 deletions
diff --git a/macros/generic/witharrows/witharrows-french.pdf b/macros/generic/witharrows/witharrows-french.pdf
index 0144504434..3ed2d0f411 100644
--- a/macros/generic/witharrows/witharrows-french.pdf
+++ b/macros/generic/witharrows/witharrows-french.pdf
Binary files differ
diff --git a/macros/generic/witharrows/witharrows-french.tex b/macros/generic/witharrows/witharrows-french.tex
index cf2c940912..4e81cb1194 100644
--- a/macros/generic/witharrows/witharrows-french.tex
+++ b/macros/generic/witharrows/witharrows-french.tex
@@ -94,7 +94,7 @@ l'extension LaTeX.
\medskip
Cette extension peut être utilisée avec |xelatex|, |lualatex|, |pdflatex| mais aussi avec le cheminement classique
|latex|-|dvips|-|ps2pdf| (ou Adobe Distiller). L'extension \pkg{witharrows} charge les extensions \pkg{l3keys2e},
-\pkg{xparse}, \pkg{tikz}, \pkg{varwidth} ainsi que les bibliothèques Tikz \pkg{arrows.meta} et \pkg{bending}. L'utilisateur final n'a qu'à charger l'extension \pkg{witharrows} avec
+\pkg{tikz}, \pkg{varwidth} ainsi que les bibliothèques Tikz \pkg{arrows.meta} et \pkg{bending}. L'utilisateur final n'a qu'à charger l'extension \pkg{witharrows} avec
l'instruction habituelle : |\usepackage{witharrows}|.
\medskip
@@ -281,7 +281,7 @@ A & = \bigl((a+b)+1\bigr)^2
\bigskip
Dans les environnements |{DispWithArrows}| et |{DispWithArrows*}|, il y a une
option |wrap-lines|. Lorsque cette option est utilisée, les lignes des étiquettes sont
-automatiquement coupées sur la marge droite : voir p.~\pageref{wrap-lines}.
+automatiquement coupées sur la marge droite : voir p.~\pageref{DispWithArrows}.
\interitem
Si on veut changer la fonte du texte associé à une flèche, on peut, bien entendu, placer une commande comme
@@ -1317,7 +1317,7 @@ P & \vartriangleleft Q
\end{WithArrows}\]
\medskip
-The package \pkg{witharrows} fournit quelques outils pour faciliter l'utilisation de ces nœuds :
+L'extension \pkg{witharrows} fournit quelques outils pour faciliter l'utilisation de ces nœuds :
\begin{itemize}
\item la commande |\WithArrowsLastEnv| donne le numéro du dernier environnement de niveau~$0$ (c'est-à-dire
non imbriqué dans un autre environnement de \pkg{witharrows}) ;
@@ -1633,7 +1633,7 @@ S_{2(p+1)}
\bigskip
Les environnements |{DispWithArrows}| et |{DispWithArrows*}| fournissent également une option
-|wrap-lines|. Avec cette option, les lignes de l'étiquette sont automatiquement coupées à droite.\footnotemark[\thefnnohyphen]\label{wrap-lines}
+|wrap-lines|. Avec cette option, les lignes de l'étiquette sont automatiquement coupées à droite.
\begin{Verbatim}
\begin{DispWithArrows*}[displaystyle,~emphase#wrap-lines@]
@@ -2169,7 +2169,7 @@ détectées (par exemple, si une flèche arrive après la dernière ligne de l'e
\bigskip
\subsection{Note pour les utilisateurs de AUCTeX}
-Dans un éditeur de texte paramétré par éditer du LaTeX, les environnements |{DispWithArrows}| et
+Dans un éditeur de texte paramétré pour éditer du LaTeX, les environnements |{DispWithArrows}| et
|{DispWithArrows*}| devraient être formatés comme l'environnement |{equation}| de LaTeX c'est-à-dire avec un
formatage adapté au mode mathématique.
@@ -2200,7 +2200,7 @@ Par exemple, vous pouvez définir un environnement |{DWA}| qui va être un alias
Si vous utilisez cet environnement |{DWA}| en mode mathématique, vous aurez le message d'erreur suivant :
\begin{BVerbatim}
-L'environnement {DWA} should be used only outside math mode.
+The environment {DWA} should be used only outside math mode.
\end{BVerbatim}
\interitem
@@ -2469,7 +2469,7 @@ plus courte que la rangée d'arrivée. Cet exemple nécessite l'extension \pkg{c
~emphase# font = \tiny }]@
~emphase# let \p1 = (~#1),@
~emphase# \p2 = (~#2)@
- ~emphase# dans \ifdim \x1 > \x2@
+ ~emphase# and \ifdim \x1 > \x2@
~emphase# (\p1) -- node {~#3} (\x1,\y2) -- (\p2)@
~emphase# \else@
~emphase# (\p1) -- (\x2,\y1) -- node {~#3} (\p2)@
@@ -2520,12 +2520,11 @@ E & \Longleftrightarrow \frac{(x+4)}3 + \frac{5x+3}5 = 7
Supposons que nous voulions tracer une boucle avec des flèches numérotées. Dans ce but, il est
possible d'écrire une commande dédiée |\NumberedLoop| qui fera le travail quand elle
sera utilisée dans le |code-after|. Dans l'exemple suivant, nous avons écrit cette commande avec
-|\NewDocumentCommand| de \pkg{xparse} et |\foreach| de \pkg{pgffor} (ces deux
-extensions sont chargées quand \pkg{witharrows} est chargé.).
+|\foreach| de \pkg{pgffor} (cette extension est chargée quand \pkg{witharrows} est chargé.).
\begin{Verbatim}
-\NewDocumentCommande \NomberedLoop {}
- {\foreach \j dans {2,...,\WithArrowsNbLines}
+\NewDocumentCommand \NomberedLoop {}
+ {\foreach \j in {2,...,\WithArrowsNbLines}
{ \pgfmathtruncatemacro{\i}{\j-1}
\Arrow[rr]{\i}{\j}{\i} }
\Arrow[rr,xoffset=1cm,tikz=<-]{1}{\WithArrowsNbLines}{\WithArrowsNbLines}}
@@ -2594,6 +2593,6 @@ Le document |witharrows.pdf| (fourni avec l'extension \pkg{witharrows}) contient
documentation ici présente, ainsi que le code source commenté et un historique des versions.
-
+\tableofcontents
\end{document}
diff --git a/macros/generic/witharrows/witharrows.dtx b/macros/generic/witharrows/witharrows.dtx
index 6c28c3c756..80573b1d6f 100644
--- a/macros/generic/witharrows/witharrows.dtx
+++ b/macros/generic/witharrows/witharrows.dtx
@@ -15,8 +15,8 @@
%
% \fi
% \iffalse
-\def\myfileversion{2.8}
-\def\myfiledate{2023/01/01}
+\def\myfileversion{2.8a}
+\def\myfiledate{2023/02/14}
%
%
%<*batchfile>
@@ -2704,7 +2704,7 @@ version 2005/12/01 or later.
%
% \bigskip
% Then, we can give the traditional declaration of a package written with
-% |expl3|:
+% |L3|:
% \begin{macrocode}
%<*LaTeX>
\RequirePackage{l3keys2e}
@@ -2978,12 +2978,12 @@ version 2005/12/01 or later.
% \end{macrocode}
%
% \bigskip
-% The command |\@@_save:N| saves a \pkg{expl3} variable by creating a global
+% The command |\@@_save:N| saves a L3 variable by creating a global
% version of the variable. For a variable named |\l_|\texttt{\slshape
% name}|_|\texttt{\slshape type}, the corresponding global variable will be
% named |\g_|\texttt{\slshape name}|_|\texttt{\slshape type}. The type of the
% variable is determinated by the suffix \texttt{\slshape type} and is used to
-% apply the corresponding \pkg{expl3} commands.
+% apply the corresponding L3 commands.
% \begin{macrocode}
\cs_new_protected:Npn \@@_save:N #1
{
@@ -3007,7 +3007,7 @@ version 2005/12/01 or later.
% \end{macrocode}
%
% \medskip
-% The command |\@@_restore:N| affects to the \pkg{expl3} variable the value of
+% The command |\@@_restore:N| affects to the L3 variable the value of
% the (previously) set value of the corresponding \emph{global} variable.
% \begin{macrocode}
\cs_new_protected:Npn \@@_restore:N #1
@@ -4816,7 +4816,7 @@ version 2005/12/01 or later.
% The command |\MultiArrow| is available in |code-after|, and we have a special
% version of |\Arrow|, called ``|\Arrow| in |code-after|'' in the
% documentation.\footnote{As of now, |\MultiArrow| has no option, and that's
-% why its internal name is a name of \pkg{expl3} with the signature |:nn|
+% why its internal name is a name of L3 with the signature |:nn|
% whereas |\Arrow| in |code-after| provides options and has the name of a
% function defined with |\NewDocumentCommand|.}
% \begin{macrocode}
@@ -5104,7 +5104,7 @@ version 2005/12/01 or later.
}
}
% \end{macrocode}
-% According to the documentation of \pkg{expl3}, the previous addition in
+% According to the documentation of L3, the previous addition in
% ``|#1 + \l_@@_interline_skip|'' is really an addition of skips (=glues).
%
%
@@ -6410,6 +6410,7 @@ version 2005/12/01 or later.
% \begin{macrocode}
\tl_const:Nn \c_@@_tikz_code_wrap_lines_tl
{
+ \pgfset { inner~sep = 0pt}
% \end{macrocode}
% First, we draw the arrow without the label.
% \begin{macrocode}
@@ -6424,8 +6425,7 @@ version 2005/12/01 or later.
% Here is the use of |\g_@@_right_x_dim| which has been computed previously with
% the |v|-nodes.
% \begin{macrocode}
- \dim_set:Nn \l_tmpa_dim
- { \g_@@_right_x_dim - \pgf@x - \pgfkeysvalueof { / pgf / inner~xsep } }
+ \dim_set:Nn \l_tmpa_dim { \g_@@_right_x_dim - \pgf@x - 0.3333 ex }
% \end{macrocode}
% We retrieve in |\g_tmpa_tl| the current value of the Tikz parameter
% ``|text width|''.\footnote{In fact, it's not the current value of
@@ -6454,6 +6454,7 @@ version 2005/12/01 or later.
%<*LaTeX>
node [ anchor = west ]
{
+ \skip_horizontal:n { 0.3333 ex }
\begin { minipage } { \l_tmpa_dim }
\tikz@text@action
\pgfkeysgetvalue { / tikz / node~halign~header } \l_tmpa_tl
@@ -6558,7 +6559,7 @@ version 2005/12/01 or later.
{ final } \l_tmpa_tl
% \end{macrocode}
% We recall that |\prop_get:cnN| retrieves token lists (here |\l_tmpa_tl| and
-% |\l_tmpb_tl|). We don't need to do an explicit conversion in \pkg{expl3}
+% |\l_tmpb_tl|). We don't need to do an explicit conversion in L3
% integers because such token lists can be used directly in |\int_compare:nNnTF|.
% \begin{macrocode}
\prop_get:cnN
@@ -6871,7 +6872,7 @@ version 2005/12/01 or later.
\cs_new_protected:Npn \@@_MultiArrow_i:nn #1 #2
{
% \end{macrocode}
-% That's why we construct a ``clist'' of \pkg{expl3} from the specification of
+% That's why we construct a ``clist'' of L3 from the specification of
% list given by the user. The construction of the ``clist'' must be global in
% order to exit the |\foreach| and that's why we will construct the list in
% |\g_tmpa_clist|.
@@ -6897,7 +6898,7 @@ version 2005/12/01 or later.
}
% \end{macrocode}
% We extract the minimum in |\l_tmpa_tl| (it must be an integer but we store it
-% in a token list of \pkg{expl3}).
+% in a token list of L3).
% \begin{macrocode}
\clist_pop:NN \g_tmpa_clist \l_tmpa_tl
% \end{macrocode}
diff --git a/macros/generic/witharrows/witharrows.pdf b/macros/generic/witharrows/witharrows.pdf
index 2cae02ea86..c04e447231 100644
--- a/macros/generic/witharrows/witharrows.pdf
+++ b/macros/generic/witharrows/witharrows.pdf
Binary files differ