![如何使这个方案看起来更好一些?](https://linux22.com/image/439911/%E5%A6%82%E4%BD%95%E4%BD%BF%E8%BF%99%E4%B8%AA%E6%96%B9%E6%A1%88%E7%9C%8B%E8%B5%B7%E6%9D%A5%E6%9B%B4%E5%A5%BD%E4%B8%80%E4%BA%9B%EF%BC%9F.png)
还可以进行哪些改进?
特别是装饰品。
平均能量损失
\documentclass{article}
\usepackage{circuitikz}
\usetikzlibrary{shapes,arrows}
\usetikzlibrary{decorations.pathreplacing}
\begin{document}
\begin{circuitikz}[american voltages,scale=2]
\draw (0,0) node [op amp,scale=1.5](amp){};
\draw (amp.+) to [short,-*] ++(0,0) node[ground]{};
\draw (amp.-) to [R=\SI{$R_1$}{\ohm},-o] ++(-2,0) to [V=\SI{1}{V}] ++(0,-2) node[ground]{};
\draw (amp.out) to [short] ++(1,0) to [R=\SI{$R_l$}{\ohm}] ++(0,-2) node[ground]{};
\draw (amp.-) to [short,*-] ++(0,1) to [R=\SI{$R_2$}{\ohm}] ++(2,0) to [short,-*] ++(0,-1.37);
\draw (-2.25,-0.2) node [1] {}
node[right,blue] {$i_P=i_N=0\,A$};
\draw [decorate,thick,decoration={brace,amplitude=5pt,raise=1ex,mirror},color=blue]
(-0.85,0.4) -- (-0.85,-0.4) node[midway,yshift=0em,xshift=-4.5em]{{$v_P=v_N=0\,V$}};
\end{circuitikz}
\end{document}
答案1
更“专业的外观”非常基于意见。因此,我绘制你的 shem 的方式可能与绘制其他人的方式有很大不同 :-)
\documentclass[border=3.131592]{standalone}
\usepackage{siunitx}
\usepackage{circuitikz}
\usetikzlibrary{arrows.meta,
decorations.pathreplacing,%
calligraphy,% had to be after decorations.pathreplacing
}
\tikzset{
BC/.style = {blue, decorate,
decoration={calligraphic brace, amplitude=6pt,
pre =moveto, pre length=2pt,
post=moveto, post length=2pt,
raise=3pt},% for mirroring of brace
very thick,
pen colour={blue}},
}
\begin{document}
\begin{circuitikz}[american voltages]
\node (amp) [op amp,scale=2] {};
\draw (amp.-) to [R,a=$R_1$,-o] ++ (-3,0) -- ++ (-1,0)
to [V=\qty{1}{V}] ++ (0,-3)
node[ground] {}
(amp.-) to [short,*-] ++ (0,2) coordinate (aux)
to [R=$R_2$] (aux -| amp.out)
to [short,-*] (amp.out) -- ++(1,0)
to [R=$R_l$] ++(0,-2)
node[ground] {}
(amp.+) -- ++ (0,-1) node[ground] {};
\draw[BC] (amp.+) --
node[left=3mm, font=\small, align=right] {$i_P=i_N=0\,A$\\
$v_P=v_N=0\,V$}
(amp.-);
\end{circuitikz}
\end{document}
注意:我修正了电阻标签。现在 MWE 可以编译了。