test
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| test [August 17, 2026 at 17:46] – Ivan Janevski | test [August 17, 2026 at 17:49] (current) – Ivan Janevski | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | \documentclass[tikz, | + | \documentclass[tikz, |
| \usepackage{amsmath} | \usepackage{amsmath} | ||
| - | \usepackage[americanresistors]{circuitikz} | + | \usepackage{circuitikz} |
| - | \usetikzlibrary{calc, | + | \usetikzlibrary{ |
| - | + | | |
| - | \ctikzset{ | + | |
| - | | + | |
| } | } | ||
| Line 12: | Line 12: | ||
| \begin{circuitikz}[ | \begin{circuitikz}[ | ||
| - | line width=1pt, | + | line width=1.35pt, |
| line cap=round, | line cap=round, | ||
| line join=round, | line join=round, | ||
| - | >=Latex | + | >=Latex, |
| + | font=\Large | ||
| ] | ] | ||
| + | |||
| + | % ============================================================ | ||
| + | % Resistor style | ||
| + | % ============================================================ | ||
| + | |||
| + | \tikzset{ | ||
| + | resistor/ | ||
| + | decorate, | ||
| + | decoration={ | ||
| + | zigzag, | ||
| + | segment length=8.0pt, | ||
| + | amplitude=5.2pt | ||
| + | } | ||
| + | } | ||
| + | } | ||
| % ============================================================ | % ============================================================ | ||
| Line 24: | Line 40: | ||
| \coordinate (C) at ( 0.00, 0.00); | \coordinate (C) at ( 0.00, 0.00); | ||
| - | \coordinate (L) at (-3.55, 0.00); | + | \coordinate (L) at (-4.40, 0.00); |
| - | \coordinate (TL) at (-1.70, 2.92); | + | \coordinate (TL) at (-2.10, 3.80); |
| - | \coordinate (TR) at ( 1.72, 2.92); | + | \coordinate (TR) at ( 2.22, 3.80); |
| - | \coordinate (R) at ( 3.50, 0.00); | + | \coordinate (R) at ( 4.40, 0.00); |
| - | \coordinate (BR) at ( 1.72,-2.90); | + | \coordinate (BR) at ( 2.26,-3.72); |
| - | \coordinate (BL) at (-1.82,-2.90); | + | \coordinate (BL) at (-2.28,-3.72); |
| % ============================================================ | % ============================================================ | ||
| Line 35: | Line 51: | ||
| % ============================================================ | % ============================================================ | ||
| - | \coordinate (UL1) at ($(L)!0.22!(TL)$); | + | \coordinate (UL1) at ($(L)!0.25!(TL)$); |
| - | \coordinate (UL2) at ($(L)!0.72!(TL)$); | + | \coordinate (UL2) at ($(L)!0.67!(TL)$); |
| \draw (L) -- (UL1); | \draw (L) -- (UL1); | ||
| - | \draw (UL1) to[R] (UL2); | + | \draw[resistor] |
| \draw (UL2) -- (TL); | \draw (UL2) -- (TL); | ||
| - | \node at (-3.03,1.45) {$R$}; | + | \node at (-3.79,1.88) {$R$}; |
| % ============================================================ | % ============================================================ | ||
| Line 48: | Line 64: | ||
| % ============================================================ | % ============================================================ | ||
| - | \coordinate (Ig1) at (-0.68,2.92); | + | \coordinate (Ig1) at (-0.91,3.80); |
| - | \draw (TL) -- ($(Ig1)+(-0.49,0)$); | + | \draw |
| + | | ||
| + | | ||
| + | | ||
| - | \draw (Ig1) circle[radius=0.49]; | + | \draw |
| + | | ||
| + | | ||
| - | \draw[-{Latex[length=5.2pt,width=5.2pt]}] | + | \draw[-{Latex[length=8pt,width=8pt]},line width=1.5pt] |
| - | ($(Ig1)+(0.23,0)$) | + | ($(Ig1)+(0.30,0)$) |
| -- | -- | ||
| - | ($(Ig1)+(-0.24,0)$); | + | ($(Ig1)+(-0.31,0)$); |
| \draw | \draw | ||
| - | ($(Ig1)+(0.49,0)$) | + | ($(Ig1)+(0.62,0)$) |
| -- | -- | ||
| - | (-0.02,2.92); | + | (0.04,3.80); |
| - | \draw | + | \draw[resistor] |
| - | (-0.02,2.92) | + | (0.04,3.80) |
| - | | + | |
| - | (1.02,2.92); | + | (1.14,3.80); |
| \draw | \draw | ||
| - | (1.02,2.92) | + | (1.14,3.80) |
| -- | -- | ||
| (TR); | (TR); | ||
| - | \node at (-0.67,3.72) {$I_{g1}$}; | + | \node at (-0.91,4.77) {$I_{g1}$}; |
| - | \node at (0.50,3.39) {$R$}; | + | \node at (0.59,4.36) {$R$}; |
| % ============================================================ | % ============================================================ | ||
| Line 81: | Line 102: | ||
| % ============================================================ | % ============================================================ | ||
| - | \coordinate (UR1) at ($(TR)!0.23!(R)$); | + | \coordinate (UR1) at ($(TR)!0.25!(R)$); |
| - | \coordinate (UR2) at ($(TR)!0.72!(R)$); | + | \coordinate (UR2) at ($(TR)!0.67!(R)$); |
| \draw (TR) -- (UR1); | \draw (TR) -- (UR1); | ||
| - | \draw (UR1) to[R] (UR2); | + | \draw[resistor] |
| \draw (UR2) -- (R); | \draw (UR2) -- (R); | ||
| - | \node at (3.02,1.43) {$R$}; | + | \node at (3.75,1.88) {$R$}; |
| % ============================================================ | % ============================================================ | ||
| Line 94: | Line 115: | ||
| % ============================================================ | % ============================================================ | ||
| - | \coordinate (LR1) at ($(R)!0.24!(BR)$); | + | \coordinate (LR1) at ($(R)!0.26!(BR)$); |
| - | \coordinate (LR2) at ($(R)!0.73!(BR)$); | + | \coordinate (LR2) at ($(R)!0.67!(BR)$); |
| \draw (R) -- (LR1); | \draw (R) -- (LR1); | ||
| - | \draw (LR1) to[R] (LR2); | + | \draw[resistor] |
| \draw (LR2) -- (BR); | \draw (LR2) -- (BR); | ||
| - | \node at (3.00,-1.48) {$R$}; | + | \node at (3.72,-1.88) {$R$}; |
| % ============================================================ | % ============================================================ | ||
| Line 107: | Line 128: | ||
| % ============================================================ | % ============================================================ | ||
| - | \coordinate (E3) at (-0.72,-2.90); | + | \coordinate (E3) at (-1.01,-3.72); |
| \draw | \draw | ||
| (BL) | (BL) | ||
| -- | -- | ||
| - | ($(E3)+(-0.49,0)$); | + | ($(E3)+(-0.62,0)$); |
| - | \draw (E3) circle[radius=0.49]; | + | \draw |
| + | | ||
| + | | ||
| \draw | \draw | ||
| - | ($(E3)+(0.49,0)$) | + | ($(E3)+(0.62,0)$) |
| -- | -- | ||
| - | (0.08,-2.90); | + | (0.02,-3.72); |
| - | \draw | + | \draw[resistor] |
| - | (0.08,-2.90) | + | (0.02,-3.72) |
| - | | + | |
| - | (1.12,-2.90); | + | (1.15,-3.72); |
| \draw | \draw | ||
| - | (1.12,-2.90) | + | (1.15,-3.72) |
| -- | -- | ||
| (BR); | (BR); | ||
| - | \node at (-0.91,-3.50) {$+$}; | + | \node at (-1.23,-4.48) {$+$}; |
| - | \node at (-0.69,-3.99) {$E_3$}; | + | \node at (-1.00,-5.08) {$E_3$}; |
| - | \node at (0.60,-3.47) {$R$}; | + | \node at (0.59,-4.36) {$R$}; |
| % ============================================================ | % ============================================================ | ||
| Line 139: | Line 162: | ||
| % ============================================================ | % ============================================================ | ||
| - | \coordinate (E2) at (-3.00,-0.88); | + | \coordinate (E2) at (-3.70,-1.08); |
| \draw | \draw | ||
| (L) | (L) | ||
| -- | -- | ||
| - | ($(E2)!0.49cm!(L)$); | + | ($(E2)!0.62cm!(L)$); |
| - | \draw (E2) circle[radius=0.49]; | + | \draw |
| + | | ||
| + | | ||
| - | \coordinate (E2out) at ($(E2)!0.49cm!(BL)$); | + | \coordinate (E2out) |
| - | \coordinate (LL1) at ($(E2out)!0.26!(BL)$); | + | |
| - | \coordinate (LL2) at ($(E2out)!0.72!(BL)$); | + | |
| - | \draw (E2out) -- (LL1); | + | \coordinate (LL1) |
| - | \draw (LL1) to[R] (LL2); | + | at ($(E2out)!0.28!(BL)$); |
| - | \draw (LL2) -- (BL); | + | |
| + | \coordinate (LL2) | ||
| + | at ($(E2out)!0.70!(BL)$); | ||
| + | |||
| + | \draw | ||
| + | | ||
| + | | ||
| + | | ||
| + | |||
| + | \draw[resistor] | ||
| + | | ||
| + | -- | ||
| + | | ||
| + | |||
| + | \draw | ||
| + | | ||
| + | | ||
| + | | ||
| - | \node at (-3.91,-0.60) {$+$}; | + | \node at (-4.76,-0.80) {$+$}; |
| - | \node at (-3.89,-1.48) {$E_2$}; | + | \node at (-4.80,-1.84) {$E_2$}; |
| - | \node at (-3.00,-2.36) {$R$}; | + | \node at (-3.67,-2.91) {$R$}; |
| % ============================================================ | % ============================================================ | ||
| - | % Middle-left current source | + | % Horizontal branch: |
| % ============================================================ | % ============================================================ | ||
| - | \coordinate (Ig2) at (-1.65,0); | + | \coordinate (Ig2) at (-2.05,0); |
| \draw | \draw | ||
| (L) | (L) | ||
| -- | -- | ||
| - | ($(Ig2)+(-0.49,0)$); | + | ($(Ig2)+(-0.62,0)$); |
| - | \draw (Ig2) circle[radius=0.49]; | + | \draw |
| + | | ||
| + | | ||
| - | \draw[-{Latex[length=5.2pt,width=5.2pt]}] | + | \draw[-{Latex[length=8pt,width=8pt]},line width=1.5pt] |
| - | ($(Ig2)+(-0.24,0)$) | + | ($(Ig2)+(-0.30,0)$) |
| -- | -- | ||
| - | ($(Ig2)+(0.24,0)$); | + | ($(Ig2)+(0.31,0)$); |
| \draw | \draw | ||
| - | ($(Ig2)+(0.49,0)$) | + | ($(Ig2)+(0.62,0)$) |
| -- | -- | ||
| (C); | (C); | ||
| - | \node at (-1.67,0.88) {$I_{g2}$}; | + | \node at (-2.06,1.10) {$I_{g2}$}; |
| % ============================================================ | % ============================================================ | ||
| - | % Middle-right current source | + | % Horizontal branch: |
| % ============================================================ | % ============================================================ | ||
| - | \coordinate (Ig3) at (1.67,0); | + | \coordinate (Ig3) at (2.07,0); |
| \draw | \draw | ||
| (C) | (C) | ||
| -- | -- | ||
| - | ($(Ig3)+(-0.49,0)$); | + | ($(Ig3)+(-0.62,0)$); |
| - | \draw (Ig3) circle[radius=0.49]; | + | \draw |
| + | | ||
| + | | ||
| - | \draw[-{Latex[length=5.2pt,width=5.2pt]}] | + | \draw[-{Latex[length=8pt,width=8pt]},line width=1.5pt] |
| - | ($(Ig3)+(-0.24,0)$) | + | ($(Ig3)+(-0.30,0)$) |
| -- | -- | ||
| - | ($(Ig3)+(0.24,0)$); | + | ($(Ig3)+(0.31,0)$); |
| \draw | \draw | ||
| - | ($(Ig3)+(0.49,0)$) | + | ($(Ig3)+(0.62,0)$) |
| -- | -- | ||
| (R); | (R); | ||
| - | \node at (1.68,0.88) {$I_{g3}$}; | + | \node at (2.08,1.10) {$I_{g3}$}; |
| % ============================================================ | % ============================================================ | ||
| - | % Inner upper-left resistor | + | % Internal |
| % ============================================================ | % ============================================================ | ||
| - | \coordinate (IUL1) | + | \coordinate (IUL1) |
| - | \coordinate (IUL2) | + | at ($(TL)!0.27!(C)$); |
| - | \draw (TL) -- (IUL1); | + | \coordinate |
| - | \draw (IUL1) to[R] (IUL2); | + | |
| - | \draw (IUL2) -- (C); | + | |
| - | \node at (-1.08,1.43) {$R$}; | + | \draw |
| + | (TL) | ||
| + | -- | ||
| + | (IUL1); | ||
| + | |||
| + | \draw[resistor] | ||
| + | (IUL1) | ||
| + | -- | ||
| + | (IUL2); | ||
| + | |||
| + | \draw | ||
| + | (IUL2) | ||
| + | -- | ||
| + | (C); | ||
| + | |||
| + | \node at (-1.36,1.88) {$R$}; | ||
| % ============================================================ | % ============================================================ | ||
| - | % Inner lower-left resistor | + | % Internal |
| % ============================================================ | % ============================================================ | ||
| - | \coordinate (ILL1) | + | \coordinate (ILL1) |
| - | \coordinate (ILL2) | + | at ($(C)!0.31!(BL)$); |
| - | \draw (C) -- (ILL1); | + | \coordinate (ILL2) |
| - | \draw (ILL1) | + | at ($(C)!0.68!(BL)$); |
| - | \draw (ILL2) -- (BL); | + | |
| + | \draw | ||
| + | | ||
| + | | ||
| + | | ||
| + | |||
| + | \draw[resistor] | ||
| + | | ||
| + | -- | ||
| + | | ||
| + | |||
| + | \draw | ||
| + | | ||
| + | | ||
| + | | ||
| - | \node at (-1.08,-1.52) {$R$}; | + | \node at (-1.33,-1.88) {$R$}; |
| % ============================================================ | % ============================================================ | ||
| - | % E1 branch | + | % Internal upper-right source |
| % ============================================================ | % ============================================================ | ||
| - | \coordinate (E1) at (0.99,1.69); | + | \coordinate (E1) at (1.20,2.10); |
| \draw | \draw | ||
| (C) | (C) | ||
| -- | -- | ||
| - | ($(E1)!0.49cm!(C)$); | + | ($(E1)!0.62cm!(C)$); |
| - | \draw (E1) circle[radius=0.49]; | + | \draw |
| + | | ||
| + | | ||
| \draw | \draw | ||
| - | ($(E1)!0.49cm!(TR)$) | + | ($(E1)!0.62cm!(TR)$) |
| -- | -- | ||
| (TR); | (TR); | ||
| - | \node at (0.73,2.32) {$E_1$}; | + | \node at (0.83,2.97) {$E_1$}; |
| - | \node[rotate=-31] at (0.76,2.61) {$+$}; | + | \node[rotate=-31] at (0.87,3.31) {$+$}; |
| % ============================================================ | % ============================================================ | ||
| - | % E4 branch | + | % Internal lower-right source |
| % ============================================================ | % ============================================================ | ||
| - | \coordinate (E4) at (1.02,-1.66); | + | \coordinate (E4) at (1.24,-2.07); |
| \draw | \draw | ||
| (C) | (C) | ||
| -- | -- | ||
| - | ($(E4)!0.49cm!(C)$); | + | ($(E4)!0.62cm!(C)$); |
| - | \draw (E4) circle[radius=0.49]; | + | \draw |
| + | | ||
| + | | ||
| \draw | \draw | ||
| - | ($(E4)!0.49cm!(BR)$) | + | ($(E4)!0.62cm!(BR)$) |
| -- | -- | ||
| (BR); | (BR); | ||
| - | \node at (1.70,-1.35) {$E_4$}; | + | \node at (2.06,-1.67) {$E_4$}; |
| - | \node[rotate=-31] at (1.80,-1.75) {$+$}; | + | \node[rotate=-31] at (2.20,-2.14) {$+$}; |
| % ============================================================ | % ============================================================ | ||
| Line 282: | Line 359: | ||
| % ============================================================ | % ============================================================ | ||
| - | \fill (L) circle[radius=3.2pt]; | + | \fill (L) circle[radius=4.2pt]; |
| - | \fill (TL) circle[radius=3.2pt]; | + | \fill (TL) circle[radius=4.2pt]; |
| - | \fill (TR) circle[radius=3.2pt]; | + | \fill (TR) circle[radius=4.2pt]; |
| - | \fill (R) circle[radius=3.2pt]; | + | \fill (R) circle[radius=4.2pt]; |
| - | \fill (BR) circle[radius=3.2pt]; | + | \fill (BR) circle[radius=4.2pt]; |
| - | \fill (BL) circle[radius=3.2pt]; | + | \fill (BL) circle[radius=4.2pt]; |
| - | \fill (C) circle[radius=3.2pt]; | + | \fill (C) circle[radius=4.2pt]; |
| \end{circuitikz} | \end{circuitikz} | ||
| \end{document} | \end{document} | ||
test.1786988773.md.gz · Last modified: by Ivan Janevski
