summaryrefslogtreecommitdiff
path: root/macros/generic/witharrows/witharrows.dtx
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/witharrows/witharrows.dtx
parentdc5dafdd7c01d469b556bc5bef745a6f1c84a5cb (diff)
CTAN sync 202302150301
Diffstat (limited to 'macros/generic/witharrows/witharrows.dtx')
-rw-r--r--macros/generic/witharrows/witharrows.dtx27
1 files changed, 14 insertions, 13 deletions
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}