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:44] Ivan Janevskitest [August 17, 2026 at 17:49] (current) Ivan Janevski
Line 1: Line 1:
-\documentclass[tikz,border=6pt]{standalone}+\documentclass[tikz,border=5pt]{standalone}
  
 \usepackage{amsmath} \usepackage{amsmath}
 \usepackage{circuitikz} \usepackage{circuitikz}
-\usetikzlibrary{calc,decorations.pathmorphing,arrows.meta}+\usetikzlibrary{ 
 +    calc, 
 +    arrows.meta
 +    decorations.pathmorphing 
 +}
  
 \begin{document} \begin{document}
  
 \begin{circuitikz}[ \begin{circuitikz}[
-    line width=1.0pt,+    line width=1.35pt,
     line cap=round,     line cap=round,
     line join=round,     line join=round,
     >=Latex,     >=Latex,
-    font=\large+    font=\Large
 ] ]
  
 % ============================================================ % ============================================================
-Geometry +Resistor style
-% ============================================================ +
- +
-\coordinate (C)  at (0,0); +
- +
-\coordinate (L)  at (-3.15,0); +
-\coordinate (TL) at (-1.55,2.75); +
-\coordinate (TR) at ( 1.55,2.75); +
-\coordinate (R)  at ( 3.10,0); +
-\coordinate (BR) at ( 1.58,-2.72); +
-\coordinate (BL) at (-1.68,-2.72); +
- +
-% ============================================================ +
-% Helper styles+
 % ============================================================ % ============================================================
  
Line 37: Line 28:
         decoration={         decoration={
             zigzag,             zigzag,
-            segment length=5.8pt+            segment length=8.0pt
-            amplitude=4.0pt, +            amplitude=5.2pt
-            pre length=0pt, +
-            post length=0pt+
         }         }
-    }, 
-    junction/.style={ 
-        circle, 
-        fill=black, 
-        inner sep=0pt, 
-        minimum size=7pt 
     }     }
 } }
 +
 +% ============================================================
 +% Main geometry
 +% ============================================================
 +
 +\coordinate (C)  at ( 0.00, 0.00);
 +
 +\coordinate (L)  at (-4.40, 0.00);
 +\coordinate (TL) at (-2.10, 3.80);
 +\coordinate (TR) at ( 2.22, 3.80);
 +\coordinate (R)  at ( 4.40, 0.00);
 +\coordinate (BR) at ( 2.26,-3.72);
 +\coordinate (BL) at (-2.28,-3.72);
  
 % ============================================================ % ============================================================
Line 55: Line 51:
 % ============================================================ % ============================================================
  
-\coordinate (ULRa) at ($(L)!0.30!(TL)$); +\coordinate (UL1) at ($(L)!0.25!(TL)$); 
-\coordinate (ULRb) at ($(L)!0.70!(TL)$);+\coordinate (UL2) at ($(L)!0.67!(TL)$);
  
-\draw (L) -- (ULRa); +\draw (L) -- (UL1); 
-\draw[resistor] (ULRa) -- (ULRb); +\draw[resistor] (UL1) -- (UL2); 
-\draw (ULRb) -- (TL);+\draw (UL2) -- (TL);
  
-\node at (-2.69,1.32) {$R$};+\node at (-3.79,1.88) {$R$};
  
 % ============================================================ % ============================================================
-% Top branch: Ig1 and R+% Top branch: Ig1 R
 % ============================================================ % ============================================================
  
-\coordinate (Ig1) at (-0.70,2.75);+\coordinate (Ig1) at (-0.91,3.80);
  
-\draw (TL) -- ($(Ig1)+(-0.48,0)$);+\draw 
 +    (TL) 
 +    -- 
 +    ($(Ig1)+(-0.62,0)$);
  
-\draw (Ig1) circle[radius=0.48];+\draw 
 +    (Ig1) 
 +    circle[radius=0.62];
  
-\draw[-{Latex[length=5pt,width=5pt]}] +\draw[-{Latex[length=8pt,width=8pt]},line width=1.5pt
-    ($(Ig1)+(0.23,0)$) -- ($(Ig1)+(-0.24,0)$);+    ($(Ig1)+(0.30,0)$) 
 +    -- 
 +    ($(Ig1)+(-0.31,0)$);
  
-\draw ($(Ig1)+(0.48,0)$) -- (-0.02,2.75);+\draw 
 +    ($(Ig1)+(0.62,0)$) 
 +    -- 
 +    (0.04,3.80);
  
-\coordinate (TopRa) at (0.06,2.75); +\draw[resistor] 
-\coordinate (TopRb) at (0.90,2.75);+    (0.04,3.80
 +    -- 
 +    (1.14,3.80);
  
-\draw[resistor] (TopRa) -- (TopRb); +\draw 
-\draw (TopRb) -- (TR);+    (1.14,3.80) 
 +    -- 
 +    (TR);
  
-\node at (-0.70,3.48) {$I_{g1}$}; +\node at (-0.91,4.77) {$I_{g1}$}; 
-\node at (0.47,3.12) {$R$};+\node at (0.59,4.36) {$R$};
  
 % ============================================================ % ============================================================
Line 92: Line 102:
 % ============================================================ % ============================================================
  
-\coordinate (URRa) at ($(TR)!0.28!(R)$); +\coordinate (UR1) at ($(TR)!0.25!(R)$); 
-\coordinate (URRb) at ($(TR)!0.70!(R)$);+\coordinate (UR2) at ($(TR)!0.67!(R)$);
  
-\draw (TR) -- (URRa); +\draw (TR) -- (UR1); 
-\draw[resistor] (URRa) -- (URRb); +\draw[resistor] (UR1) -- (UR2); 
-\draw (URRb) -- (R);+\draw (UR2) -- (R);
  
-\node at (2.63,1.30) {$R$};+\node at (3.75,1.88) {$R$};
  
 % ============================================================ % ============================================================
Line 105: Line 115:
 % ============================================================ % ============================================================
  
-\coordinate (LRRa) at ($(R)!0.29!(BR)$); +\coordinate (LR1) at ($(R)!0.26!(BR)$); 
-\coordinate (LRRb) at ($(R)!0.70!(BR)$);+\coordinate (LR2) at ($(R)!0.67!(BR)$);
  
-\draw (R) -- (LRRa); +\draw (R) -- (LR1); 
-\draw[resistor] (LRRa) -- (LRRb); +\draw[resistor] (LR1) -- (LR2); 
-\draw (LRRb) -- (BR);+\draw (LR2) -- (BR);
  
-\node at (2.60,-1.30) {$R$};+\node at (3.72,-1.88) {$R$};
  
 % ============================================================ % ============================================================
-% Bottom branch: E3 and R+% Bottom branch: E3 R
 % ============================================================ % ============================================================
  
-\coordinate (E3) at (-0.86,-2.72);+\coordinate (E3) at (-1.01,-3.72);
  
-\draw (BL) -- ($(E3)+(-0.48,0)$);+\draw 
 +    (BL) 
 +    -- 
 +    ($(E3)+(-0.62,0)$);
  
-\draw (E3) circle[radius=0.48];+\draw 
 +    (E3) 
 +    circle[radius=0.62];
  
-\draw ($(E3)+(0.48,0)$) -- (-0.06,-2.72);+\draw 
 +    ($(E3)+(0.62,0)$) 
 +    -- 
 +    (0.02,-3.72);
  
-\coordinate (BotRa) at (0.04,-2.72); +\draw[resistor] 
-\coordinate (BotRb) at (0.88,-2.72);+    (0.02,-3.72) 
 +    -- 
 +    (1.15,-3.72);
  
-\draw[resistor] (BotRa) -- (BotRb); +\draw 
-\draw (BotRb) -- (BR);+    (1.15,-3.72
 +    -- 
 +    (BR);
  
-\node at (-1.01,-3.30) {$+$}; +\node at (-1.23,-4.48) {$+$}; 
-\node at (-0.84,-3.77) {$E_3$}; +\node at (-1.00,-5.08) {$E_3$}; 
-\node at (0.48,-3.18) {$R$};+\node at (0.59,-4.36) {$R$};
  
 % ============================================================ % ============================================================
-% Outer lower-left branch: E2 and R+% Outer lower-left branch: E2 R
 % ============================================================ % ============================================================
  
-\coordinate (E2) at (-2.67,-0.83);+\coordinate (E2) at (-3.70,-1.08);
  
-\draw (L) -- ($(E2)!0.48cm!(L)$)+\draw 
-\draw (E2) circle[radius=0.48];+    (L) 
 +    -- 
 +    ($(E2)!0.62cm!(L)$);
  
-\coordinate (LLRa) at ($(E2)!0.72!(BL)$); +\draw 
-\coordinate (LLRb) at ($(E2)!0.91!(BL)$);+    (E2) 
 +    circle[radius=0.62];
  
-\draw ($(E2)!0.48cm!(BL)$) -- (LLRa); +\coordinate (E2out) 
-\draw[resistor] (LLRa) -- (LLRb); +    at ($(E2)!0.62cm!(BL)$);
-\draw (LLRb) -- (BL);+
  
-\node at (-3.52,-0.62) {$+$}; +\coordinate (LL1) 
-\node at (-3.48,-1.48) {$E_2$}; +    at ($(E2out)!0.28!(BL)$); 
-\node at (-2.57,-2.31) {$R$};+ 
 +\coordinate (LL2) 
 +    at ($(E2out)!0.70!(BL)$); 
 + 
 +\draw 
 +    (E2out) 
 +    -- 
 +    (LL1); 
 + 
 +\draw[resistor] 
 +    (LL1) 
 +    -- 
 +    (LL2); 
 + 
 +\draw 
 +    (LL2) 
 +    -- 
 +    (BL); 
 + 
 +\node at (-4.76,-0.80) {$+$}; 
 +\node at (-4.80,-1.84) {$E_2$}; 
 +\node at (-3.67,-2.91) {$R$};
  
 % ============================================================ % ============================================================
Line 160: Line 205:
 % ============================================================ % ============================================================
  
-\coordinate (Ig2) at (-1.63,0);+\coordinate (Ig2) at (-2.05,0); 
 + 
 +\draw 
 +    (L) 
 +    -- 
 +    ($(Ig2)+(-0.62,0)$);
  
-\draw (L) -- ($(Ig2)+(-0.48,0)$); +\draw 
-\draw (Ig2) circle[radius=0.48];+    (Ig2) 
 +    circle[radius=0.62];
  
-\draw[-{Latex[length=5pt,width=5pt]}] +\draw[-{Latex[length=8pt,width=8pt]},line width=1.5pt
-    ($(Ig2)+(-0.23,0)$) -- ($(Ig2)+(0.24,0)$);+    ($(Ig2)+(-0.30,0)$) 
 +    -- 
 +    ($(Ig2)+(0.31,0)$);
  
-\draw ($(Ig2)+(0.48,0)$) -- (C);+\draw 
 +    ($(Ig2)+(0.62,0)$) 
 +    -- 
 +    (C);
  
-\node at (-1.64,0.82) {$I_{g2}$};+\node at (-2.06,1.10) {$I_{g2}$};
  
 % ============================================================ % ============================================================
Line 176: Line 232:
 % ============================================================ % ============================================================
  
-\coordinate (Ig3) at (1.56,0);+\coordinate (Ig3) at (2.07,0);
  
-\draw (C) -- ($(Ig3)+(-0.48,0)$)+\draw 
-\draw (Ig3) circle[radius=0.48];+    (C) 
 +    -- 
 +    ($(Ig3)+(-0.62,0)$);
  
-\draw[-{Latex[length=5pt,width=5pt]}] +\draw 
-    ($(Ig3)+(-0.23,0)$) -- ($(Ig3)+(0.24,0)$);+    (Ig3) 
 +    circle[radius=0.62];
  
-\draw ($(Ig3)+(0.48,0)$) -- (R);+\draw[-{Latex[length=8pt,width=8pt]},line width=1.5pt] 
 +    ($(Ig3)+(-0.30,0)$) 
 +    -- 
 +    ($(Ig3)+(0.31,0)$);
  
-\node at (1.57,0.82) {$I_{g3}$};+\draw 
 +    ($(Ig3)+(0.62,0)$) 
 +    -- 
 +    (R); 
 + 
 +\node at (2.08,1.10) {$I_{g3}$};
  
 % ============================================================ % ============================================================
Line 192: Line 259:
 % ============================================================ % ============================================================
  
-\coordinate (IULa) at ($(TL)!0.28!(C)$); +\coordinate (IUL1) 
-\coordinate (IULb) at ($(TL)!0.66!(C)$);+    at ($(TL)!0.27!(C)$); 
 + 
 +\coordinate (IUL2) 
 +    at ($(TL)!0.66!(C)$); 
 + 
 +\draw 
 +    (TL) 
 +    -- 
 +    (IUL1); 
 + 
 +\draw[resistor] 
 +    (IUL1) 
 +    -- 
 +    (IUL2);
  
-\draw (TL-- (IULa); +\draw 
-\draw[resistor] (IULa) -- (IULb); +    (IUL2
-\draw (IULb) -- (C);+    -- 
 +    (C);
  
-\node at (-1.01,1.44) {$R$};+\node at (-1.36,1.88) {$R$};
  
 % ============================================================ % ============================================================
Line 205: Line 286:
 % ============================================================ % ============================================================
  
-\coordinate (ILLaat ($(C)!0.33!(BL)$); +\coordinate (ILL1
-\coordinate (ILLb) at ($(C)!0.69!(BL)$);+    at ($(C)!0.31!(BL)$);
  
-\draw (C) -- (ILLa); +\coordinate (ILL2
-\draw[resistor] (ILLa) -- (ILLb)+    at ($(C)!0.68!(BL)$);
-\draw (ILLb-- (BL);+
  
-\node at (-0.93,-1.45) {$R$};+\draw 
 +    (C) 
 +    -- 
 +    (ILL1); 
 + 
 +\draw[resistor] 
 +    (ILL1) 
 +    -- 
 +    (ILL2); 
 + 
 +\draw 
 +    (ILL2) 
 +    -- 
 +    (BL); 
 + 
 +\node at (-1.33,-1.88) {$R$};
  
 % ============================================================ % ============================================================
-% Internal upper-right voltage source E1+% Internal upper-right source E1
 % ============================================================ % ============================================================
  
-\coordinate (E1) at (0.93,1.55);+\coordinate (E1) at (1.20,2.10);
  
-\draw (C) -- ($(E1)!0.48cm!(C)$); +\draw 
-\draw (E1) circle[radius=0.48]; +    (C) 
-\draw ($(E1)!0.48cm!(TR)$) -- (TR);+    -- 
 +    ($(E1)!0.62cm!(C)$);
  
-\node at (0.70,2.20) {$E_1$}; +\draw 
-\node[rotate=-30] at (0.72,2.42) {$+$};+    (E1) 
 +    circle[radius=0.62]; 
 + 
 +\draw 
 +    ($(E1)!0.62cm!(TR)$) 
 +    -- 
 +    (TR); 
 + 
 +\node at (0.83,2.97) {$E_1$}; 
 +\node[rotate=-31] at (0.87,3.31) {$+$};
  
 % ============================================================ % ============================================================
-% Internal lower-right voltage source E4+% Internal lower-right source E4
 % ============================================================ % ============================================================
  
-\coordinate (E4) at (1.00,-1.54);+\coordinate (E4) at (1.24,-2.07)
 + 
 +\draw 
 +    (C) 
 +    -- 
 +    ($(E4)!0.62cm!(C)$); 
 + 
 +\draw 
 +    (E4) 
 +    circle[radius=0.62];
  
-\draw (C) -- ($(E4)!0.48cm!(C)$); +\draw 
-\draw (E4) circle[radius=0.48]; +    ($(E4)!0.62cm!(BR)$) 
-\draw ($(E4)!0.48cm!(BR)$) -- (BR);+    -- 
 +    (BR);
  
-\node at (1.63,-1.25) {$E_4$}; +\node at (2.06,-1.67) {$E_4$}; 
-\node[rotate=-30] at (1.72,-1.61) {$+$};+\node[rotate=-31] at (2.20,-2.14) {$+$};
  
 % ============================================================ % ============================================================
-Junctions -- drawn last+Junction dots
 % ============================================================ % ============================================================
  
-\node[junction] at (L)  {}+\fill (L)  circle[radius=4.2pt]
-\node[junction] at (TL) {}+\fill (TL) circle[radius=4.2pt]
-\node[junction] at (TR) {}+\fill (TR) circle[radius=4.2pt]
-\node[junction] at (R)  {}+\fill (R)  circle[radius=4.2pt]
-\node[junction] at (BR) {}+\fill (BR) circle[radius=4.2pt]
-\node[junction] at (BL) {}+\fill (BL) circle[radius=4.2pt]
-\node[junction] at (C)  {};+\fill (C)  circle[radius=4.2pt];
  
 \end{circuitikz} \end{circuitikz}
  
 \end{document} \end{document}
test.1786988687.md.gz · Last modified: by Ivan Janevski