diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/circuit-macros/libcct.m4')
-rw-r--r-- | Master/texmf-dist/doc/latex/circuit-macros/libcct.m4 | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/Master/texmf-dist/doc/latex/circuit-macros/libcct.m4 b/Master/texmf-dist/doc/latex/circuit-macros/libcct.m4 index fd31a76c803..4f8d12c0c2f 100644 --- a/Master/texmf-dist/doc/latex/circuit-macros/libcct.m4 +++ b/Master/texmf-dist/doc/latex/circuit-macros/libcct.m4 @@ -1,7 +1,7 @@ divert(-1) libcct.m4 -* Circuit_macros Version 10.3, copyright (c) 2023 J. D. Aplevich under * +* Circuit_macros Version 10.4, copyright (c) 2023 J. D. Aplevich under * * the LaTeX Project Public Licence in file Licence.txt. The files of * * this distribution may be redistributed or modified provided that this * * copyright notice is included and provided that modifications are clearly * @@ -617,10 +617,11 @@ define(`xtal',`eleminit_(`$1') pushkey_(`$2',type,N,N) line to rvec_(rp_len,0) invis ') `source( linespec, - V|v|I|i|AC|B|F|G|H|Q|L|N|P|R|S[C[r]|E[r]]]|T|X|U|other, + V|v|I|i|ii|AC|B|F|G|H|Q|L|N|P|R|S[C[r]|E[r]]]|T|X|U|other, diameter, R, attributes,body name) V = voltage source; v = alternate voltage source; I = current source; i = alternate current source; + ii = double arrowhead current source; AC = AC source; B = bulb; F = fluorescent; G = generator; H = step function; L = lamp; N = neon; P = pulse; Q = charge; R = ramp; r = right @@ -651,6 +652,14 @@ define(`source',`ifelse(`$4',R, to rvec_(m4h/2,0)}', `$2',I,`{arrow from rvec_(-m4h*3/4,0) \ to rvec_(m4h*3/4,0)}', + `$2',ii,`{line from rvec_(-m4h,0) \ + to rvec_(m4h,0)} + {line thick 1.2*linethick from rvec_(m4h/12,-m4h*0.45) \ + to rvec_(m4h*5/6,0) \ + then to rvec_(m4h/12,m4h*0.45)} + {line thick 1.2*linethick from rvec_(-m4h*3/4,-m4h*0.45) \ + to Here \ + then to rvec_(-m4h*3/4,m4h*0.45)}', `$2',i,`{line from rvec_(0,-m4h) \ to rvec_(0,m4h)}', `$2',B,`{line from rvec_(-m4h,0) \ |