I wanted to draw an SR Latch using two NOR gates, with each input is branched out and fedback from other ones output.
I tried this way, please suggest me any better method. I feel this micro adjustment seems to be too impossible to make a book with a collection of many such diagrams.
Kindly share similar things, with advanced design philosophy.
\documentclass{memoir}
\usepackage{tikz}
\usetikzlibrary{circuits.logic.US}
\tikzstyle{branch}=[fill,shape=circle,minimum size=2pt,inner sep=0pt]
\begin{document}
\begin{figure}[ht]
\centering
\begin{tikzpicture}[circuit logic US]
\matrix[column sep=10mm, row sep=5mm]
{
&\node [nor gate, inputs=nn] (n1) {}; \\
& \node [nor gate, inputs=nn] (n2) {}; \\
};
\draw (n1.input 2) -- ++(180:3mm) -- ++(270:2mm) -- ++(345:15mm) |- node [branch] {} (n2.output) -- ++(0:5mm) node [right] {$\overline{Q}$} ;
\draw (n1.output) -- ++(0:2mm) node [branch] (o1){} -- ++(0:3mm) node [right] {$Q$};
\draw (n2.input 1) -- ++(180:3mm) -- ++(90:2mm) -- ++(25:15.5mm) -- (o1) ;
\draw (n1.input 1) -- ++(180:5mm) node [left] (R) {R};
\draw (n2.input 2) -- ++(180:5mm) node [left] (S) {S};
\end{tikzpicture}
\caption{$SR$ Latch}
\label{fig:SRLatch}
\end{figure}
\end{document}



picsif you have to reuse a lot these kind of objects in more complex schemes. – Ignasi Jan 09 '17 at 15:25