summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2022-04-20 19:42:55 +0000
committerKarl Berry <karl@freefriends.org>2022-04-20 19:42:55 +0000
commitcd34b82e0b23bb93664e1ec5c7f1043b7e9cdc6e (patch)
tree6976d271ba857054d0c4a9b022e1e570cdc73e91 /Master/texmf-dist/tex/generic
parent7a5213796bdde7d0578c623e01d72a3a3ca81eee (diff)
witharrows (20apr22)
git-svn-id: svn://tug.org/texlive/trunk@63087 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/generic')
-rw-r--r--Master/texmf-dist/tex/generic/witharrows/witharrows.sty20
1 files changed, 16 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/generic/witharrows/witharrows.sty b/Master/texmf-dist/tex/generic/witharrows/witharrows.sty
index 977b4713697..54a29d97d40 100644
--- a/Master/texmf-dist/tex/generic/witharrows/witharrows.sty
+++ b/Master/texmf-dist/tex/generic/witharrows/witharrows.sty
@@ -6,7 +6,7 @@
%%
%% witharrows.dtx (with options: `LaTeX')
%%
-%% Copyright (C) 2017-2021 by F. Pantigny
+%% Copyright (C) 2017-2022 by F. Pantigny
%%
%% This file may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either
@@ -18,8 +18,8 @@
%% and version 1.3 or later is part of all distributions of
%% LaTeX version 2005/12/01 or later.
%%
-\def\myfileversion{2.6d}
-\def\myfiledate{2022/01/01}
+\def\myfileversion{2.7}
+\def\myfiledate{2022/04/20}
\RequirePackage{tikz}
\usetikzlibrary{arrows.meta,bending}
\RequirePackage{l3keys2e}
@@ -195,7 +195,7 @@
{
WithArrows / arrow / .style =
{
- align = left ,
+ align = flush~left ,
auto = left ,
font = \small \itshape ,
WithArrows / arrow / tips ,
@@ -1598,6 +1598,18 @@
node [ anchor = west ]
{
\begin { minipage } { \l_tmpa_dim }
+ \tikz@text@action
+ \pgfkeysgetvalue { / tikz / node~halign~header } \l_tmpa_tl
+ \tl_if_eq:NnTF \l_tmpa_tl { \tikz@align@left@header }
+ { \pgfutil@raggedright }
+ {
+ \tl_if_eq:NnTF \l_tmpa_tl { \tikz@align@right@header }
+ { \pgfutil@raggedleft }
+ {
+ \tl_if_eq:NnT \l_tmpa_tl { \tikz@align@center@header }
+ { \centering }
+ }
+ }
#3
\end { minipage }
} ;