Site Tools


test

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
test [August 17, 2026 at 17:43] Ivan Janevskitest [August 17, 2026 at 17:49] (current) Ivan Janevski
Line 2: Line 2:
  
 \usepackage{amsmath} \usepackage{amsmath}
-\usepackage[americanresistors]{circuitikz}+\usepackage{circuitikz
 +\usetikzlibrary{ 
 +    calc, 
 +    arrows.meta, 
 +    decorations.pathmorphing 
 +}
  
 \begin{document} \begin{document}
  
 \begin{circuitikz}[ \begin{circuitikz}[
-    line width=1.05pt+    line width=1.35pt
-    every node/.style={font=\large},+    line cap=round, 
 +    line join=round, 
 +    >=Latex, 
 +    font=\Large
 ] ]
  
 % ============================================================ % ============================================================
-Node coordinates+Resistor style
 % ============================================================ % ============================================================
  
-\coordinate (C)  at (0,0);+\tikzset{ 
 +    resistor/.style={ 
 +        decorate, 
 +        decoration={ 
 +            zigzag, 
 +            segment length=8.0pt, 
 +            amplitude=5.2pt 
 +        } 
 +    } 
 +}
  
-\coordinate (L)  at (-3.45,0); +% ============================================================ 
-\coordinate (TL) at (-1.65,2.85); +% Main geometry 
-\coordinate (TR) at ( 1.65,2.85); +% ============================================================ 
-\coordinate (R)  at ( 3.35,0); + 
-\coordinate (BR) at ( 1.68,-2.80); +\coordinate (C)  at ( 0.00, 0.00); 
-\coordinate (BL) at (-1.78,-2.80);+ 
 +\coordinate (L)  at (-4.400.00); 
 +\coordinate (TL) at (-2.103.80); 
 +\coordinate (TR) at ( 2.223.80); 
 +\coordinate (R)  at ( 4.400.00); 
 +\coordinate (BR) at ( 2.26,-3.72); 
 +\coordinate (BL) at (-2.28,-3.72);
  
 % ============================================================ % ============================================================
-% Outer hexagon+% Outer upper-left branch
 % ============================================================ % ============================================================
  
-% Upper-left resistor +\coordinate (UL1) at ($(L)!0.25!(TL)$); 
-\draw +\coordinate (UL2) at ($(L)!0.67!(TL)$);
-    (L) +
-    to[R, l_={$R$}, label distance=3pt] +
-    (TL);+
  
 +\draw (L) -- (UL1);
 +\draw[resistor] (UL1) -- (UL2);
 +\draw (UL2) -- (TL);
 +
 +\node at (-3.79,1.88) {$R$};
 +
 +% ============================================================
 % Top branch: Ig1 + R % Top branch: Ig1 + R
 +% ============================================================
 +
 +\coordinate (Ig1) at (-0.91,3.80);
 +
 \draw \draw
-    (TR+    (TL
-    to[R, l^={$R$}] +    -- 
-    (0.90,2.85) +    ($(Ig1)+(-0.62,0)$);
-    -- (0.35,2.85);+
  
 \draw \draw
-    (-0.35,2.85+    (Ig1
-    -- (TL);+    circle[radius=0.62];
  
-% Ig1 source circle +\draw[-{Latex[length=8pt,width=8pt]},line width=1.5pt
-\draw (0,2.85) circle (0.48); +    ($(Ig1)+(0.30,0)$) 
-\draw[-latex, line width=1.05pt+    -- 
-    (0.22,2.85) -- (-0.24,2.85);+    ($(Ig1)+(-0.31,0)$);
  
-\node at (0.12,3.63) {$I_{g1}$}; 
- 
-% Upper-right resistor 
 \draw \draw
-    (TR+    ($(Ig1)+(0.62,0)$
-    to[Rl^={$R$}+    -- 
-    (R);+    (0.04,3.80); 
 + 
 +\draw[resistor
 +    (0.04,3.80) 
 +    -- 
 +    (1.14,3.80);
  
-% Lower-right resistor 
 \draw \draw
-    (R+    (1.14,3.80
-    to[R, l_={$R$}] +    -- 
-    (BR);+    (TR);
  
 +\node at (-0.91,4.77) {$I_{g1}$};
 +\node at (0.59,4.36) {$R$};
 +
 +% ============================================================
 +% Outer upper-right branch
 +% ============================================================
 +
 +\coordinate (UR1) at ($(TR)!0.25!(R)$);
 +\coordinate (UR2) at ($(TR)!0.67!(R)$);
 +
 +\draw (TR) -- (UR1);
 +\draw[resistor] (UR1) -- (UR2);
 +\draw (UR2) -- (R);
 +
 +\node at (3.75,1.88) {$R$};
 +
 +% ============================================================
 +% Outer lower-right branch
 +% ============================================================
 +
 +\coordinate (LR1) at ($(R)!0.26!(BR)$);
 +\coordinate (LR2) at ($(R)!0.67!(BR)$);
 +
 +\draw (R) -- (LR1);
 +\draw[resistor] (LR1) -- (LR2);
 +\draw (LR2) -- (BR);
 +
 +\node at (3.72,-1.88) {$R$};
 +
 +% ============================================================
 % Bottom branch: E3 + R % Bottom branch: E3 + R
 +% ============================================================
 +
 +\coordinate (E3) at (-1.01,-3.72);
 +
 \draw \draw
     (BL)     (BL)
-    -- (-0.78,-2.80);+    -- 
 +    ($(E3)+(-0.62,0)$);
  
 \draw \draw
-    (0.02,-2.80+    (E3) 
-    -- (0.83,-2.80+    circle[radius=0.62]; 
-    to[Rl_={$R$}]+ 
 +\draw 
 +    ($(E3)+(0.62,0)$) 
 +    -- 
 +    (0.02,-3.72)
 + 
 +\draw[resistor] 
 +    (0.02,-3.72) 
 +    -
 +    (1.15,-3.72)
 + 
 +\draw 
 +    (1.15,-3.72) 
 +    --
     (BR);     (BR);
  
-% E3 voltage source +\node at (-1.23,-4.48) {$+$}; 
-\draw (-0.38,-2.80circle (0.49);+\node at (-1.00,-5.08{$E_3$}; 
 +\node at (0.59,-4.36{$R$};
  
-\node at (-0.86,-3.26) {$+$}; +% ============================================================ 
-\node at (-0.38,-3.73) {$E_3$};+% Outer lower-left branch: E2 R 
 +% ============================================================
  
-% Lower-left branch: E2 + R +\coordinate (E2) at (-3.70,-1.08);
-\coordinate (E2a) at (-3.06,-0.65); +
-\coordinate (E2b) at (-2.66,-1.30);+
  
 \draw \draw
-    (L) -- (E2a);+    (L) 
 +    -- 
 +    ($(E2)!0.62cm!(L)$);
  
 \draw \draw
-    (E2b+    (E2
-    to[R, l_={$R$}] +    circle[radius=0.62];
-    (BL);+
  
-% E2 voltage source +\coordinate (E2out) 
-\coordinate (E2c) at (-2.86,-0.98); +    at ($(E2)!0.62cm!(BL)$);
-\draw (E2ccircle (0.49);+
  
-% Mask line through source, then redraw terminal segments +\coordinate (LL1) 
-\fill[white] ($(E2c)+(-0.50,-0.50)$) +    at ($(E2out)!0.28!(BL)$); 
-    rectangle ($(E2c)+(0.50,0.50)$); + 
-\draw (E2ccircle (0.49); +\coordinate (LL2
-\draw (L) -- ($(E2c)!0.49cm!(L)$); +    at ($(E2out)!0.70!(BL)$); 
-\draw (BL) -- ($(E2c)!0.49cm!(BL)$);+ 
 +\draw 
 +    (E2out) 
 +    -- 
 +    (LL1); 
 + 
 +\draw[resistor] 
 +    (LL1) 
 +    -- 
 +    (LL2); 
 + 
 +\draw 
 +    (LL2) 
 +    -- 
 +    (BL);
  
-\node at (-3.55,-0.60) {$+$}; +\node at (-4.76,-0.80) {$+$}; 
-\node at (-3.64,-1.54) {$E_2$};+\node at (-4.80,-1.84) {$E_2$}; 
 +\node at (-3.67,-2.91) {$R$};
  
 % ============================================================ % ============================================================
-% Horizontal middle branch+% Horizontal branch: Ig2
 % ============================================================ % ============================================================
  
-% Left wire +\coordinate (Ig2at (-2.05,0);
-\draw (L-- (-2.07,0);+
  
-% Ig2 +\draw 
-\draw (-1.60,0circle (0.48); +    (L
-\draw[-latex, line width=1.05pt] +    -
-    (-1.84,0) -- (-1.37,0)+    ($(Ig2)+(-0.62,0)$);
-\draw (-2.07,0) -- (-2.08+0.01,0)+
-\draw (-1.12,0) -- (C);+
  
-\node at (-1.62,0.84) {$I_{g2}$};+\draw 
 +    (Ig2) 
 +    circle[radius=0.62];
  
-% Right wire and Ig3 +\draw[-{Latex[length=8pt,width=8pt]},line width=1.5pt] 
-\draw (C) -- (1.12,0);+    ($(Ig2)+(-0.30,0)$) 
 +    -
 +    ($(Ig2)+(0.31,0)$);
  
-\draw (1.60,0circle (0.48); +\draw 
-\draw[-latex, line width=1.05pt] +    ($(Ig2)+(0.62,0)$
-    (1.36,0) -- (1.83,0);+    -
 +    (C);
  
-\draw (2.08,0) -- (R);+\node at (-2.06,1.10) {$I_{g2}$}; 
 + 
 +% ============================================================ 
 +% Horizontal branch: Ig3 
 +% ============================================================ 
 + 
 +\coordinate (Ig3) at (2.07,0)
 + 
 +\draw 
 +    (C) 
 +    -- 
 +    ($(Ig3)+(-0.62,0)$); 
 + 
 +\draw 
 +    (Ig3) 
 +    circle[radius=0.62]; 
 + 
 +\draw[-{Latex[length=8pt,width=8pt]},line width=1.5pt] 
 +    ($(Ig3)+(-0.30,0)$) 
 +    -- 
 +    ($(Ig3)+(0.31,0)$); 
 + 
 +\draw 
 +    ($(Ig3)+(0.62,0)$) 
 +    -- 
 +    (R);
  
-\node at (1.61,0.84) {$I_{g3}$};+\node at (2.08,1.10) {$I_{g3}$};
  
 % ============================================================ % ============================================================
-% Internal upper-left branch+% Internal upper-left resistor
 % ============================================================ % ============================================================
 +
 +\coordinate (IUL1)
 +    at ($(TL)!0.27!(C)$);
 +
 +\coordinate (IUL2)
 +    at ($(TL)!0.66!(C)$);
  
 \draw \draw
     (TL)     (TL)
-    -- (-1.30,2.25+    -- 
-    to[R, l_={$R$}]+    (IUL1); 
 + 
 +\draw[resistor] 
 +    (IUL1) 
 +    -- 
 +    (IUL2); 
 + 
 +\draw 
 +    (IUL2) 
 +    --
     (C);     (C);
 +
 +\node at (-1.36,1.88) {$R$};
  
 % ============================================================ % ============================================================
-% Internal lower-left branch+% Internal lower-left resistor
 % ============================================================ % ============================================================
 +
 +\coordinate (ILL1)
 +    at ($(C)!0.31!(BL)$);
 +
 +\coordinate (ILL2)
 +    at ($(C)!0.68!(BL)$);
  
 \draw \draw
     (C)     (C)
-    to[R, l^={$R$}]+    -- 
 +    (ILL1); 
 + 
 +\draw[resistor] 
 +    (ILL1) 
 +    -- 
 +    (ILL2); 
 + 
 +\draw 
 +    (ILL2) 
 +    --
     (BL);     (BL);
 +
 +\node at (-1.33,-1.88) {$R$};
  
 % ============================================================ % ============================================================
-% Internal upper-right branch -- E1+% Internal upper-right source E1
 % ============================================================ % ============================================================
  
-\coordinate (E1c) at (0.95,1.63);+\coordinate (E1) at (1.20,2.10);
  
-% line from center to source 
 \draw \draw
-    (C) -- ($(E1c)!0.49cm!(C)$);+    (C) 
 +    -- 
 +    ($(E1)!0.62cm!(C)$);
  
-% line from source to upper-right node 
 \draw \draw
-    ($(E1c)!0.49cm!(TR)$) -- (TR);+    (E1) 
 +    circle[radius=0.62];
  
-% source circle +\draw 
-\draw (E1c) circle (0.49);+    ($(E1)!0.62cm!(TR)$) 
 +    -- 
 +    (TR);
  
-\node at (0.71,2.19) {$E_1$}; +\node at (0.83,2.97) {$E_1$}; 
-\node[rotate=-28] at (0.70,2.42) {$+$};+\node[rotate=-31] at (0.87,3.31) {$+$};
  
 % ============================================================ % ============================================================
-% Internal lower-right branch -- E4+% Internal lower-right source E4
 % ============================================================ % ============================================================
  
-\coordinate (E4c) at (0.99,-1.55);+\coordinate (E4) at (1.24,-2.07);
  
 \draw \draw
-    (C) -- ($(E4c)!0.49cm!(C)$);+    (C) 
 +    -- 
 +    ($(E4)!0.62cm!(C)$);
  
 \draw \draw
-    ($(E4c)!0.49cm!(BR)$) -- (BR);+    (E4) 
 +    circle[radius=0.62];
  
-\draw (E4c) circle (0.49);+\draw 
 +    ($(E4)!0.62cm!(BR)$) 
 +    -- 
 +    (BR);
  
-\node at (1.63,-1.32) {$E_4$}; +\node at (2.06,-1.67) {$E_4$}; 
-\node[rotate=-30] at (1.70,-1.72) {$+$};+\node[rotate=-31] at (2.20,-2.14) {$+$};
  
 % ============================================================ % ============================================================
Line 194: Line 359:
 % ============================================================ % ============================================================
  
-\fill (L)  circle (2.8pt)+\fill (L)  circle[radius=4.2pt]
-\fill (TL) circle (2.8pt)+\fill (TL) circle[radius=4.2pt]
-\fill (TR) circle (2.8pt)+\fill (TR) circle[radius=4.2pt]
-\fill (R)  circle (2.8pt)+\fill (R)  circle[radius=4.2pt]
-\fill (BR) circle (2.8pt)+\fill (BR) circle[radius=4.2pt]
-\fill (BL) circle (2.8pt)+\fill (BL) circle[radius=4.2pt]
-\fill (C)  circle (2.8pt);+\fill (C)  circle[radius=4.2pt];
  
 \end{circuitikz} \end{circuitikz}
  
 \end{document} \end{document}
test.1786988611.md.gz · Last modified: by Ivan Janevski