diff options
author | Norbert Preining <norbert@preining.info> | 2023-03-10 03:04:05 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2023-03-10 03:04:05 +0000 |
commit | f6cb3d263826846efe7b926e6ad2092198db0522 (patch) | |
tree | 16abd399e7b120d3c3ac7d75efc4d04cf7bb022f /macros/latex/contrib/genealogytree/gtrcore.node.code.tex | |
parent | 716c428e47ad2e893c0f970b9fa866d2a88f00e4 (diff) |
CTAN sync 202303100304
Diffstat (limited to 'macros/latex/contrib/genealogytree/gtrcore.node.code.tex')
-rw-r--r-- | macros/latex/contrib/genealogytree/gtrcore.node.code.tex | 30 |
1 files changed, 22 insertions, 8 deletions
diff --git a/macros/latex/contrib/genealogytree/gtrcore.node.code.tex b/macros/latex/contrib/genealogytree/gtrcore.node.code.tex index 2b6c7081cc..a7bd386551 100644 --- a/macros/latex/contrib/genealogytree/gtrcore.node.code.tex +++ b/macros/latex/contrib/genealogytree/gtrcore.node.code.tex @@ -1,8 +1,8 @@ -%% The LaTeX package genealogytree - version 2.2.0 (2022/03/17) +%% The LaTeX package genealogytree - version 2.3.0 (2023/03/09) %% gtrcore.node.code.tex: Node Boxes %% %% ------------------------------------------------------------------------------------------- -%% Copyright (c) 2013-2022 by Prof. Dr. Dr. Thomas F. Sturm <thomas dot sturm at unibw dot de> +%% Copyright (c) 2013-2023 by Prof. Dr. Dr. Thomas F. Sturm <thomas dot sturm at unibw dot de> %% ------------------------------------------------------------------------------------------- %% %% This work may be distributed and/or modified under the @@ -17,7 +17,7 @@ %% %% This work consists of all files listed in README %% -\gtr@set@library@version{2.2.0} +\gtr@set@library@version{2.3.0} %%%%%%%%%%%%%% % Processors % @@ -1272,13 +1272,27 @@ \ifdefvoid{\gtrDBimage}{#2}{#1}% } -\def\gtrincludeDBimage#1{% - \begingroup\edef\x{\endgroup\noexpand\includegraphics[\gtrDBimageopt,#1]}\x{\gtrDBimage}% -} +\ExplSyntaxOn + +\NewDocumentCommand \gtrincludeDBimage { m } + { + \exp_last_unbraced:NNV \includegraphics [ \gtrDBimageopt, #1 ] { \gtrDBimage } + } + +\tikzset + { + fill@gtrDB@image@options/.code= + { + \tl_set:Nx \l_tmpa_tl { fill~image~options = { \exp_not:V \gtrDBimageopt } } + \pgfkeysalsofrom { \l_tmpa_tl } + } + } + +\ExplSyntaxOff \tikzset{% - fill overzoom DBimage/.style={fill image options=\gtrDBimageopt,fill overzoom image=\gtrDBimage},% - fill zoom DBimage/.style={fill image options=\gtrDBimageopt,fill zoom image=\gtrDBimage},% + fill overzoom DBimage/.style={fill@gtrDB@image@options,fill overzoom image=\gtrDBimage},% + fill zoom DBimage/.style={fill@gtrDB@image@options,fill zoom image=\gtrDBimage},% } \gtrset{% |