大家好,这里是我希望文本去的地方:
以下是代码:
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{tikz}
\usepackage{mathtools}
\usepackage[american]{circuitikz}
\usepackage{enumitem}
\usetikzlibrary{shapes,arrows}
\renewcommand*\contentsname{Contenido}
\begin{document}
\begin{figure} [ht]
\begin{circuitikz}
\fill[red!20] (3.1,1.3) rectangle (2.9,2.7);
\draw (0,-1.5)
to [V, v=$V_i$,invert] (0,3)
to [short] (3,3)
(3,3) to [short] (6,3)
to [battery, label = 1V] (6,1)
(3,1) to [R=$1k\Omega $,v = $V_o$,*-*] (6,1)
(6,1) node[label={[font=\footnotesize]right:\textbf{B}}] {} to [R=$2k\Omega$] (6,-1.5)
(3,1) to [R=$2k\Omega$] (3,-1.5)
(0,-1.5) to [short] (3,-1.5)
(3,-1.5) to [short] (6,-1.5)
(3,-1.5) -- (3,-1.7) node[ground]{}
;
\draw
(3,3) to [short, -o] (3,2.5)
(3,1) node[label={[font=\footnotesize]left:\textbf{A}}] {} to [short,-o] (3,1.5)
(3,2.5) to [open, v = $V_\gamma$] (3,1.5)
;
\end{circuitikz}
\end{figure}
\end{document}
我认为它看起来像这样:
我在图像里面放了电路,因为我认为它可能会有帮助。
感谢您的帮助!
答案1
带有包的解决方案paracol
。
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{tikz}
\usepackage{mathtools}
\usepackage[american]{circuitikz}
\usepackage{enumitem}
\usetikzlibrary{shapes,arrows}
\renewcommand*\contentsname{Contenido}
\usepackage{paracol}
\begin{document}
\setcolumnwidth{0.65\textwidth,0.35\textwidth}
\begin{paracol}{2}
\begin{figure} [ht]
\begin{circuitikz}
\fill[red!20] (3.1,1.3) rectangle (2.9,2.7);
\draw (0,-1.5)
to [V, v=$V_i$,invert] (0,3)
to [short] (3,3)
(3,3) to [short] (6,3)
to [battery, label = 1V] (6,1)
(3,1) to [R=$1k\Omega $,v = $V_o$,*-*] (6,1)
(6,1) node[label={[font=\footnotesize]right:\textbf{B}}] {} to [R=$2k\Omega$] (6,-1.5)
(3,1) to [R=$2k\Omega$] (3,-1.5)
(0,-1.5) to [short] (3,-1.5)
(3,-1.5) to [short] (6,-1.5)
(3,-1.5) -- (3,-1.7) node[ground]{}
;
\draw
(3,3) to [short, -o] (3,2.5)
(3,1) node[label={[font=\footnotesize]left:\textbf{A}}] {} to [short,-o] (3,1.5)
(3,2.5) to [open, v = $V_\gamma$] (3,1.5)
;
\end{circuitikz}
\end{figure}
\switchcolumn
\begin{eqnarray*}
&e + f+l+k+p+h\\
&e + f+l+k+p+h+t+r\\
&e + f+l+k+p+h+w+f+r+t+y+b\\
&c=a+b
\end{eqnarray*}
\end{paracol}
\end{document}
答案2
作为起点..我留给你写真正的方程。注意:参见siunitx
方程中使用的单位:
\documentclass{article}
\usepackage{geometry}
\usepackage[siunitx, american]{circuitikz}
\usetikzlibrary{arrows, backgrounds, fit, shapes}
\usepackage{mathtools}
\usepackage{siunitx}
\begin{document}
\begin{table}
\centering
\begin{tabular}{ c >{$}c<{$} }
\begin{circuitikz}[baseline=(auxA)]
\draw (0,0) coordinate (A)
to [V=$V_i$,invert] ++ (0, 6)
to [short,-*] ++ (2, 0) coordinate (aux1)
to [short,-o] ++ (0,-1)
to [open,v=$V_\gamma$] ++ (0,-1)
to [short,o-*] ++ (0,-1) coordinate[label=left:A] (auxA)
to [R=2<\kilo\ohm>,-*] ++ (0,-3) node[ground]{}
to [short] (A)
(aux1) to [short] ++ (2,0)
to [battery,l=1<\volt>] ++ (0,-3)
to [R=2<\kilo\ohm>] ++ (0,-3)
to [short] ++ (-2,0)
(auxA) to [R=1<\kilo\ohm>,v=$V_0$,-*] ++ (2,0) coordinate[label=right:B] (auxB)
;
\end{circuitikz}
& \begin{gathered}
V_i \ll 0 \to D_1(\text{off}) \\
V_B = V_i - \SI{1}{\volt} \\
V_A = V_B \frac{\SI{2}{\kilo\ohm}}{\SI{1}{\kilo\ohm}+\SI{2}{\kilo\ohm}} = \dots\\
xxx= ...\\
yyy= ...\\
V_d < 0 \to\frac{1}{3} ... V_i <-\SI{2}{\volt}
\end{gathered}
\end{tabular}
\end{table}
\end{document}