Skip to content

Commit

Permalink
tikz: make /tikz/local bounding box aware of name prefix and `nam…
Browse files Browse the repository at this point in the history
…e suffix`
  • Loading branch information
muzimuzhi committed Jun 14, 2021
1 parent fe1a6d2 commit f110758
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tex/generic/pgf/frontendlayer/tikz/tikz.code.tex
Expand Up @@ -948,7 +948,8 @@
\tikzset{
name/.code={\edef\tikz@fig@name{\tikz@pp@name{#1}}\let\tikz@id@name\tikz@fig@name},%
name prefix/.initial=,%
name suffix/.initial=%
name suffix/.initial=,%
local bounding box/.style={/pgf/local bounding box/.expanded=\tikz@pp@name{#1}}
}%
\def\tikz@pp@name#1{\csname pgfk@/tikz/name prefix\endcsname#1\csname pgfk@/tikz/name suffix\endcsname}%

Expand Down

0 comments on commit f110758

Please sign in to comment.