Hi,
I am looking for a package that permits me to draw circuit diagrams (as used in technical informatics). So far, I have found the circ package, which seems to include at least most things I need (but I could not find multiplexers so far...). However, the documentation is quite brief and lacks a sample on how to draw logic diagrams. While I managed to get the basics going, I still do not know how to start by connecting inputs X_1, ..., X_n to the gates (e.g. \OR, \AND).
Is there any other documentation on circ available? Or does somebody happen to have a code sample?
Any help would be deeply appreciated.
Rainer
Document Classes ⇒ samples/documentation for circ package?
- Stefan Kottwitz
- Site Admin
- Posts: 10308
- Joined: Mon Mar 10, 2008 9:44 pm
samples/documentation for circ package?
Hi Rainer,
welcome to the board!
Concerning circ have a look here: circ on CTAN and especially circ.pdf.
Additionally you could have a look at the pst-circ package of PSTricks.
Stefan
welcome to the board!
Concerning circ have a look here: circ on CTAN and especially circ.pdf.
Additionally you could have a look at the pst-circ package of PSTricks.
Stefan
LaTeX.org admin
Re: samples/documentation for circ package?
Hi Stefan,
thanks for the tips
Unfortunately, I learned about circ on ctan and read the document you quote. Chances are good I misunderstood the doc (I am new to LaTeX as well), but this is why I would really appreciate a sample or some other doc (google search turned up almost nothing
).
I also had a look at the other package, but that provides less symbols. Anyhow, I'll evluate further
Thanks again for your time.
Rainer
thanks for the tips

Unfortunately, I learned about circ on ctan and read the document you quote. Chances are good I misunderstood the doc (I am new to LaTeX as well), but this is why I would really appreciate a sample or some other doc (google search turned up almost nothing

I also had a look at the other package, but that provides less symbols. Anyhow, I'll evluate further

Thanks again for your time.
Rainer
- Stefan Kottwitz
- Site Admin
- Posts: 10308
- Joined: Mon Mar 10, 2008 9:44 pm
samples/documentation for circ package?
Hi Rainer,
these forum topics are containing samples:
Stefan
these forum topics are containing samples:
Stefan
LaTeX.org admin
samples/documentation for circ package?
Sorry for not expressing myself well enough. I visited these sample threads, but they do not talk about logic gates or the problem I am facing.
I'll try to be a bit more elaborative
For example, I have this code (not really finished, because of the problem I face
):
Now, I would like to place the text "X1" right at I1 of OR1. However, I do not (yet) find a way to do this. I tried \put{X1}, but that lead to no useful result (the "X1" was written over the "a" label of the input wire. No of the few samples on circ I could find deal with logic gates.
Rainer
I'll try to be a bit more elaborative

For example, I have this code (not really finished, because of the problem I face

Code: Select all
\begin{circuit}0
\OR1 TextOR I1 a b c
\frompin OR1O
\AND2 TextAND I1 a2 b2 c2
\end{circuit}
Rainer
- Stefan Kottwitz
- Site Admin
- Posts: 10308
- Joined: Mon Mar 10, 2008 9:44 pm
samples/documentation for circ package?
Perhaps have a look at pgf/TikZ, it provides a library for logic gates, see 39.8 Logic Gate Shapes in its manual.
Stefan
Stefan
LaTeX.org admin