I've been trying to use relative coordinates to make my drawings more precise but it seems I don't know how the command \node
works since I've been having this problem while connecting a circuit element to another:
I'm trying to eliminate the blank between the two wires.
This is the minimal code:
\documentclass{book}
\usepackage[siunitx,RPvoltages]{circuitikz} %Circuit Schematics/Diagram
\usetikzlibrary{arrows,shapes,calc,positioning}
\begin{document}
\begin{circuitikz}
\path (0,0) coordinate (C);
% Comparatore
\path (C) + (0,-1) + (1,0) coordinate (com) node[above]{};
\path (com) + (1.5,-1) node[op amp] (comp) {};
% Collegamenti Comparatore
\node (G1) at ([shift=({-1.3cm,0cm})]comp.-) {};
\draw (G1) -- (comp.-);
\node (G2) at ([shift=({-1.3cm,0cm})]comp.+) {};
\draw (G2) -- (comp.+);
\draw (C) -- (G1); % Collegamento Rettificatore - Comparatore
\end{circuitikz}
\end{document}
Thanks for any help!