[pgf-tikz] circuitikz alignment
Romano Giannetti
romano.giannetti at gmail.com
Wed Apr 12 22:29:22 CEST 2023
Hello,
there is no guarantee that the anchors of a component of circuitikz
stay on a grid.
You can check for example my answers here:
https://tex.stackexchange.com/questions/681994/what-is-the-default-size-of-various-components-in-circuitikz/
https://tex.stackexchange.com/questions/634934/what-is-the-unit-of-width-and-height-in-circuitikz
The correct way to achieve what you are looking for is using the anchors
and moving relatively to them
\begin{circuitikz}
\draw
(1.5,-.5) node [op amp] (opamp) {}
(opamp.-) ++(-0.5, 0) node[left]{A}
to [short] (opamp.-) ;
\end{circuitikz}
--
Romano Giannetti http://www.rgtti.com/
More information about the pgf-tikz
mailing list.