Graphics, Figures & TablesHelp with circuitz problem

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
Safari8331
Posts: 11
Joined: Wed May 17, 2017 5:34 pm

Help with circuitz problem

Post by Safari8331 »

Hello,

I really need help with drawing this one, I don't know even how to start. Can anyone make code for this so I can see it and try to understand what is what here.

Thanks a lot!
Last edited by Safari8331 on Thu May 25, 2017 8:26 pm, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Stefan Kottwitz
Site Admin
Posts: 10328
Joined: Mon Mar 10, 2008 9:44 pm

Help with circuitz problem

Post by Stefan Kottwitz »

Welcome to the forum!

You could start with an example from http://www.texample.net/tikz/examples/tag/circuitikz/ or that circuit library example, or an example from the circuitikz or tikz manual.

Stefan
LaTeX.org admin
Safari8331
Posts: 11
Joined: Wed May 17, 2017 5:34 pm

Help with circuitz problem

Post by Safari8331 »

I saw this second example, but I cant figure out what is what, I only know how to type code for nodes lol. The rest is mistery, thanks anyway. I'll give it a shot.
User avatar
Stefan Kottwitz
Site Admin
Posts: 10328
Joined: Mon Mar 10, 2008 9:44 pm

Help with circuitz problem

Post by Stefan Kottwitz »

Sure, then post your shot here, to check unsolved issues.

Stefan
LaTeX.org admin
Safari8331
Posts: 11
Joined: Wed May 17, 2017 5:34 pm

Help with circuitz problem

Post by Safari8331 »

Image


How can I get this gate? This is not in nand?
Safari8331
Posts: 11
Joined: Wed May 17, 2017 5:34 pm

Help with circuitz problem

Post by Safari8331 »

Any help?
Last edited by Safari8331 on Sat May 27, 2017 2:16 pm, edited 2 times in total.
User avatar
Stefan Kottwitz
Site Admin
Posts: 10328
Joined: Mon Mar 10, 2008 9:44 pm

Help with circuitz problem

Post by Stefan Kottwitz »

Here is the standard nand gate with just another branch node left of it.

Code: Select all

\documentclass[border=10pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{circuits.logic.US,positioning,calc}
\begin{document}
\tikzset{branch/.style = {fill, shape=circle, minimum size=4.5pt, inner sep=0pt}}
\begin{tikzpicture}[every circuit symbol/.style={thick}][label distance=2mm]
  \node[nand gate US, draw, logic gate inputs=nn] at (1.3,0) (nand) {};
  \node [branch, left = 0.4 of nand] (nand-left) {}; 
  \draw (0,0) -- (nand-left);
  \draw (nand-left) |- ($(nand.input 1)+(0,0.05)$);
  \draw (nand-left) |- ($(nand.input 2)-(0,0.05)$);
\end{tikzpicture}
\end{document}
circuit-node.png
circuit-node.png (937 Bytes) Viewed 4683 times
Stefan
LaTeX.org admin
Safari8331
Posts: 11
Joined: Wed May 17, 2017 5:34 pm

Help with circuitz problem

Post by Safari8331 »

Thanks a lot, this will help for sure.
Post Reply