diff options
author | Karl Berry <karl@freefriends.org> | 2016-09-08 21:57:45 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2016-09-08 21:57:45 +0000 |
commit | 067cb21a3a797493d44fed615554c1e1e1b1ed1a (patch) | |
tree | 0ba609f19517cdb8728fe0b5380a84e92054de4f /Master/texmf-dist/tex/generic/circuitikz/pgfcirccurrent.tex | |
parent | b7747c8d4d4d68a76509ac479f1967471d9a58a5 (diff) |
circuitikz (8sep16)
git-svn-id: svn://tug.org/texlive/trunk@42017 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/generic/circuitikz/pgfcirccurrent.tex')
-rw-r--r-- | Master/texmf-dist/tex/generic/circuitikz/pgfcirccurrent.tex | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Master/texmf-dist/tex/generic/circuitikz/pgfcirccurrent.tex b/Master/texmf-dist/tex/generic/circuitikz/pgfcirccurrent.tex index 053149bfb19..bf4777a6ae4 100644 --- a/Master/texmf-dist/tex/generic/circuitikz/pgfcirccurrent.tex +++ b/Master/texmf-dist/tex/generic/circuitikz/pgfcirccurrent.tex @@ -128,24 +128,24 @@ \def\pgf@circ@drawnormalcurrent{ \ifpgf@circuit@bipole@current@before \ifpgf@circuit@bipole@current@backward - { (\ctikzvalof{bipole/name}.left) -- + { (anchorstartnode) -- node [currarrow, pos=\ctikzvalof{current/distance}, sloped, allow upside down] (Iarrow) {} (\tikztostart) } \else { (\tikztostart) -- node [currarrow, pos=\ctikzvalof{current/distance}, sloped, allow upside down] (Iarrow) {} - (\ctikzvalof{bipole/name}.left) + (anchorstartnode) } \fi \else \ifpgf@circuit@bipole@current@backward { (\tikztotarget) -- node [currarrow, pos=\ctikzvalof{current/distance}, sloped, allow upside down] (Iarrow) {} - (\ctikzvalof{bipole/name}.right) + (anchorendnode) } \else - { (\ctikzvalof{bipole/name}.right) -- + { (anchorendnode) -- node [currarrow, pos=\ctikzvalof{current/distance}, sloped, allow upside down] (Iarrow) {} (\tikztotarget) } @@ -242,10 +242,10 @@ \ifpgf@circuit@bipole@iscurrent node [anchor=\pgf@circ@dir] at (\ctikzvalof{bipole/name}.\pgf@circ@bipole@current@label@where) - { \pgf@circ@finallabel{current/} } + { \pgf@circ@finallabels{current/label} } \else (Iarrow.\pgf@circ@bipole@current@label@where) node [anchor=\pgf@circ@dir] - { \pgf@circ@finallabel{current/} } + { \pgf@circ@finallabels{current/label} } \fi } |