diff options
author | Norbert Preining <norbert@preining.info> | 2020-04-07 03:02:57 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2020-04-07 03:02:57 +0000 |
commit | 1d7a1c697696d66a97b64894f8553a61717928d9 (patch) | |
tree | b50205ab031614b7d3393e85e42f35a207014219 /graphics/pgf/contrib/tikzcodeblocks | |
parent | 937315c7f95870724a86e99576effd7945092dae (diff) |
CTAN sync 202004070302
Diffstat (limited to 'graphics/pgf/contrib/tikzcodeblocks')
-rw-r--r-- | graphics/pgf/contrib/tikzcodeblocks/README.md | 4 | ||||
-rw-r--r-- | graphics/pgf/contrib/tikzcodeblocks/tikzcodeblocks-documentation.pdf | bin | 468945 -> 471398 bytes | |||
-rw-r--r-- | graphics/pgf/contrib/tikzcodeblocks/tikzcodeblocks-documentation.tex | 1 | ||||
-rw-r--r-- | graphics/pgf/contrib/tikzcodeblocks/tikzcodeblocks.sty | 34 |
4 files changed, 20 insertions, 19 deletions
diff --git a/graphics/pgf/contrib/tikzcodeblocks/README.md b/graphics/pgf/contrib/tikzcodeblocks/README.md index fad51e469e..6d904e30ab 100644 --- a/graphics/pgf/contrib/tikzcodeblocks/README.md +++ b/graphics/pgf/contrib/tikzcodeblocks/README.md @@ -5,7 +5,7 @@ |------------|------------------------------------------------------------| |author: |Adrian Salamon | |email: |adriansalamon@gmail.com | -|date: |2018-04-03 | +|date: |2020-04-06 | |licence: |LaTeX Project Public License 1.3c | ## What is tikzcodeblocks? @@ -28,4 +28,4 @@ Just load the package via `\usepackage{tikzcodeblocks}` and use `\begin{tikzpic ### Planed features -- better multi-language / english support
\ No newline at end of file +- better multi-language / english support diff --git a/graphics/pgf/contrib/tikzcodeblocks/tikzcodeblocks-documentation.pdf b/graphics/pgf/contrib/tikzcodeblocks/tikzcodeblocks-documentation.pdf Binary files differindex 5250b45be2..e27dc5f73a 100644 --- a/graphics/pgf/contrib/tikzcodeblocks/tikzcodeblocks-documentation.pdf +++ b/graphics/pgf/contrib/tikzcodeblocks/tikzcodeblocks-documentation.pdf diff --git a/graphics/pgf/contrib/tikzcodeblocks/tikzcodeblocks-documentation.tex b/graphics/pgf/contrib/tikzcodeblocks/tikzcodeblocks-documentation.tex index 7834c08bf5..373087bd93 100644 --- a/graphics/pgf/contrib/tikzcodeblocks/tikzcodeblocks-documentation.tex +++ b/graphics/pgf/contrib/tikzcodeblocks/tikzcodeblocks-documentation.tex @@ -95,6 +95,7 @@ \vhEntry{0.1 }{2017-07-06}{A. Salamon}{published} \vhEntry{0.11}{2017-07-18}{A. Salamon}{update: shapes, translations and fix typos} \vhEntry{0.12}{2018-04-03}{A. Salamon}{update: LED colors} + \vhEntry{0.13}{2020-04-06}{A.~Salamon, A.~Wagner }{bug-fix: wrongly shifed nodes} \end{versionhistory} % \begin{itemize}[leftmargin=*,noitemsep] diff --git a/graphics/pgf/contrib/tikzcodeblocks/tikzcodeblocks.sty b/graphics/pgf/contrib/tikzcodeblocks/tikzcodeblocks.sty index 35dcd987e5..c548a427fd 100644 --- a/graphics/pgf/contrib/tikzcodeblocks/tikzcodeblocks.sty +++ b/graphics/pgf/contrib/tikzcodeblocks/tikzcodeblocks.sty @@ -320,23 +320,23 @@ openroberta/.style={ % % https://tex.stackexchange.com/questions/223910/reference-a-nodes-color-by-using-node-name % get color of 'this' element -every text node part/.add code={}{ - \globalcolorstrue - \ifx\tikz@fillcolor\pgfutil@empty - \pgfutil@colorlet{\tikz@fig@name.fill}{.} - \else - \pgfutil@colorlet{\tikz@fig@name.fill}{\tikz@fillcolor} - \fi - \ifx\tikz@strokecolor\pgfutil@empty - \pgfutil@colorlet{\tikz@fig@name.draw}{.} - \else - \pgfutil@colorlet{\tikz@fig@name.draw}{\tikz@strokecolor} - \fi - \ifx\tikz@textcolor\pgfutil@empty - \pgfutil@colorlet{\tikz@fig@name.text}{.} - \else - \pgfutil@colorlet{\tikz@fig@name.text}{\tikz@textcolor} - \fi +every text node part/.add code={}{% +\globalcolorstrue% +\ifx\tikz@fillcolor\pgfutil@empty% +\pgfutil@colorlet{\tikz@fig@name.fill}{.}% +\else% +\pgfutil@colorlet{\tikz@fig@name.fill}{\tikz@fillcolor}% +\fi% +\ifx\tikz@strokecolor\pgfutil@empty% +\pgfutil@colorlet{\tikz@fig@name.draw}{.}% +\else% +\pgfutil@colorlet{\tikz@fig@name.draw}{\tikz@strokecolor}% +\fi% +\ifx\tikz@textcolor\pgfutil@empty% +\pgfutil@colorlet{\tikz@fig@name.text}{.}% +\else% +\pgfutil@colorlet{\tikz@fig@name.text}{\tikz@textcolor}% +\fi% }, } %end tikzset |