summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/circuitikz/pgfcircflow.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-10-12 22:06:25 +0000
committerKarl Berry <karl@freefriends.org>2019-10-12 22:06:25 +0000
commit99ec425b8fb26a84dadfc706c8f58738321c0e98 (patch)
treee1c8c5a5a54dde4bf050b34fd697f970d559515f /Master/texmf-dist/tex/generic/circuitikz/pgfcircflow.tex
parent661224f6f6665b1a5928a419b2415190887cdfa4 (diff)
circuitikz (13oct19)
git-svn-id: svn://tug.org/texlive/trunk@52354 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/generic/circuitikz/pgfcircflow.tex')
-rw-r--r--Master/texmf-dist/tex/generic/circuitikz/pgfcircflow.tex12
1 files changed, 11 insertions, 1 deletions
diff --git a/Master/texmf-dist/tex/generic/circuitikz/pgfcircflow.tex b/Master/texmf-dist/tex/generic/circuitikz/pgfcircflow.tex
index 7995725d6d6..6af0af0ee04 100644
--- a/Master/texmf-dist/tex/generic/circuitikz/pgfcircflow.tex
+++ b/Master/texmf-dist/tex/generic/circuitikz/pgfcircflow.tex
@@ -10,6 +10,15 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% flow handling
+%% styles
+\ctikzset{bipole flow style/.style={}}
+\tikzset{bipole flow style/.code={
+ \ctikzset{bipole flow style/.style={#1}}
+}}
+\tikzset{bipole flow append style/.code={
+ \ctikzset{bipole flow style/.append style={#1}}
+}}
+
%% Options
\ctikzset{f^>/.style = {
f = #1,
@@ -187,7 +196,8 @@
\fi
}
coordinate[flowarrow,pos=\ctikzvalof{flow/distance},rotate=\pgf@circ@ffffff,yshift=\flow@offset](Farrowpos)
- (Farrowpos.\pgf@circ@bipole@flow@label@where) node[anchor=\pgf@circ@dir]{ \pgf@circ@finallabels{flow/label}}
+ (Farrowpos.\pgf@circ@bipole@flow@label@where) node[anchor=\pgf@circ@dir, \circuitikzbasekey/bipole flow style]
+ (\ctikzvalof{bipole/name}flow){\pgf@circ@finallabels{flow/label}}
}
\endinput