summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/context
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2015-05-15 21:47:32 +0000
committerKarl Berry <karl@freefriends.org>2015-05-15 21:47:32 +0000
commitad669530a9056a6c30abd6a337d481e646c5bc82 (patch)
treee7616304c393504e0ddfb3631c71db49ef830ee5 /Master/texmf-dist/doc/context
parentff006c2d366e4f0f3503a131959ab1ae04ea5e5f (diff)
circuitikz (15may15)
git-svn-id: svn://tug.org/texlive/trunk@37410 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/context')
-rw-r--r--Master/texmf-dist/doc/context/third/circuitikz/circuitikz-context.tex20
1 files changed, 20 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/context/third/circuitikz/circuitikz-context.tex b/Master/texmf-dist/doc/context/third/circuitikz/circuitikz-context.tex
new file mode 100644
index 00000000000..13f3ade1cde
--- /dev/null
+++ b/Master/texmf-dist/doc/context/third/circuitikz/circuitikz-context.tex
@@ -0,0 +1,20 @@
+
+\usemodule[circuitikz]
+
+\starttext
+
+A simple example to test the installation.
+
+\startcircuitikz[scale=1.2]
+ \draw
+ (0,2) to[I=1\milli\ampere] (2,2)
+ to[R, l_=2\kilo\ohm, *-*] (0,0)
+ to[R, l_=2\kilo\ohm] (2,0)
+ to[V, v_=2\volt] (2,2)
+ to[cspst, l=$t_0$] (4,2) -- (4,1.5)
+ to [generic, i=$i_1$, v=$v_1$] (4,-.5) -- (4,-1.5)
+ (0,2) -- (0,-1.5) to[V, v_=4\volt] (2,-1.5)
+ to [R, l=1\kilo\ohm] (4,-1.5);
+\stopcircuitikz
+
+\stoptext