summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/circuitikz/ctikzmanutils.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/circuitikz/ctikzmanutils.sty')
-rw-r--r--Master/texmf-dist/doc/latex/circuitikz/ctikzmanutils.sty7
1 files changed, 6 insertions, 1 deletions
diff --git a/Master/texmf-dist/doc/latex/circuitikz/ctikzmanutils.sty b/Master/texmf-dist/doc/latex/circuitikz/ctikzmanutils.sty
index 38bf7716fcd..f402c9fa73b 100644
--- a/Master/texmf-dist/doc/latex/circuitikz/ctikzmanutils.sty
+++ b/Master/texmf-dist/doc/latex/circuitikz/ctikzmanutils.sty
@@ -17,7 +17,7 @@
\RequirePackage{showexpl}
\RequirePackage{ragged2e}
% for some example we need them...
-\usetikzlibrary{calc,fit}
+\usetikzlibrary{calc,fit, decorations, decorations.pathmorphing}
\RequirePackage{upgreek}
%
% The following trick is used to silence showexpl a bit, so that the
@@ -135,6 +135,11 @@
[blue, inner sep=0.5pt, font=\small,
pin distance=#3\pgf@circ@Rlen, pin edge={blue, }%
]#2:#1}](#1){}}
+ \def\showcoordwc[#1](#2)<#3:#4>{%
+ node[circle, #1, draw, inner sep=1pt,pin={%
+ [#1, inner sep=0.5pt, font=\small,
+ pin distance=#4\pgf@circ@Rlen, pin edge={#1, }%
+ ]#3:#2}](#2){}}
\makeatother
% show anchors of a node component:
% optional: options of the circuitikz environment