{circuitikz} is a package for drawing electrical networks with TikZ.

learn more… | top users | synonyms

15
votes
7answers
6k views

Electric circuits in TeX, LaTeX, and Friends

What are some ways to draw electric circuits in TeX systems? I'm making this community wiki since I haven't found a question related to this. I was thinking along the lines of circuitikz. What do ...
4
votes
1answer
1k views

Relationship between tikz circuit library and circuitikz?

Is there any relationship between tikz circuit library and circuitikz, for example that one is build on top of the other. Are they compatible in some way? Is one of them in some way obsolete?
3
votes
1answer
799 views

Does a workaround or solution exists for the label conflict of circuitikz and TikZ?

I would like to use circuitikz with TikZ. However, I find that circuitikz modifies or does not recognize TikZ labels. The author of circuitiz has commented that in the "released version of CircuiTikz ...
9
votes
2answers
3k views

AC source symbol in TikZ circuits.ee.IEC library

I can draw an AC source manually: \begin{tikzpicture} \draw (0,0) sin (1,1) cos (2,0) sin (3,-1) cos (4,0); \draw (2,0) circle (2.5); \end{tikzpicture} How do I declare an ACsource symbol so ...
7
votes
1answer
791 views

Compiling CircuiTikZ with -shell-escape (pdflatex)

I'm trying to use both CircuiTikZ and pgfplots. In order not to overflow LaTeX memory, I use the TikZ externalize library with -shell-escape command in pdfLaTeX. It compiles the pgfplots nicely, but ...
3
votes
1answer
428 views

Circuitikz place text above and below component

Lets say I create a component like this (0,0) to [R, l^=$R1$] (0,2) How can I make it so that the value, R1, is say, on the right hand side, and the resistance, say, 1kohm is on the left hand side? ...
0
votes
1answer
113 views

Can I use the circuitikz tripole shapes without loading the complete circuitikz package?

I'm using the tikz circuit library for my drawings. But I just realized that I need Transistors. These exist for circuitikz, but not in the tikz library. Is there a way to only use the circuitikz ...
7
votes
3answers
9k views

Drawing circuit diagrams (with logic gates) in LaTeX

I'm having some difficult drawing circuit diagrams with logic gates in LaTeX. I've tried with circuitikz and pst-circ. \begin{pspicture}(-1,-1)(5,3) \logicand[ninputs=2,invertinputa=true, ...
6
votes
1answer
2k views

CircuitTikZ - Combine Tripoles with resistors

I'm just learning how to use CircuitTikZ to draw circuits, and I am trying to draw a good looking BJT biasing circuit. But I am having making the resistors across from each other look even, and since ...
9
votes
2answers
2k views

CircuiTikZ — create new component

How can I create a new component and include it in CircuiTikZ? For example a 4 bit adder?
8
votes
2answers
1k views

Circuitikz doesn't recognize units

For example when I use \ohm or \micro it throws an error. For example, in the MWE: \documentclass{article} \usepackage{circuitikz} \begin{document} \begin{circuitikz} \draw (0,0) to ...
5
votes
1answer
2k views

Circuitikz - IC circuit with relative coordinates

I've represented an IC circuit using circuitikz, but it's a bit too rough to what I prefer. In particular I would like to use relative coordinates in this case and connect them to the ``IC device'' so ...
4
votes
1answer
685 views

Complicated logic circuit drawing with Tikz - two input buffer gate?

i'm trying to draw similar image with Tikz and Circuit Library, so far i'm stucked at drawing buffer gate with two labeled inputs (IBUFGDS and IBUFDS), standard library have a gate with only one ...
4
votes
1answer
4k views

Block Diagrams in TikZ

for my thesis i need to put some block diagrams in my LaTeX document. I was recommended to use TikZ for that. This is the only sample code i could find. Do you guys maybe have some tutorials / doc ...
3
votes
1answer
1k views

Circuitikz label in middle of open circuit

I've just started using Circuitikz and and I'd like to know how one would go about getting a label say, 'v', in the middle of the open circuit (perhaps with a plus and minus either side of it). Also, ...
7
votes
1answer
700 views

Set label name on two lines in CircuiTikZ

I'm a very beginner in using circuitikz in my tex documents. I'd like to obtain a label that shows both the part name and the component value. Looking in this forum I found this solution: ...
7
votes
1answer
4k views

Circuitikz symbols in TikZ circuit library

Some time ago, I asked about Relationship between tikz circuit library and circuitikz?. wh1t3 wrote: "However, as far as I know there is nothing the circuitikz package does that the TikZ circuit ...
5
votes
1answer
532 views

Voltage labels too close to circuit element with circuitikz 2.4

Since upgrading to circuitikz 2.4, I noticed that the voltage labels are way too close to the circuit elements. For example: \documentclass{article} \usepackage[american ...
4
votes
1answer
184 views

circuitikz label malfunction

This may be a total newbie problem, but I cannot find a single reference of this behaviour anywhere I look and thus this question: This is my code: \documentclass{article} ...
4
votes
1answer
2k views

Voltage sign convention (European vs. American) in Circuitikz

This time I dive into Circuitikz. Anyway, I've got a problem with the american and european styles of e.g. voltages. IIRC Voltage drops are counted positive which means the voltage arrow in the ...
4
votes
1answer
2k views

Scaling in CircuiTikZ

When scaling a circuit with the scale option: \begin{circuitikz}[scale = 'some_scale_factor'] all the coordinates are well scaled but not the components. How to correctly scale the whole scheme?
4
votes
1answer
2k views

Creating custom electronic components in TikZ

In Tikz there is an opportunity to draw logical gates,... I was wondering if it is possible (and easy) to make custom components, like a CMOS-transistor, a Multiplexer, flip-flop,... Perhaps these ...
3
votes
1answer
213 views

How to put a label on a wire using CircuiTikz

I would like to put a label on a short circuit element. I have tried something like this: \draw (2,2) to [short=$L = \lambda/4$, *-*] (5.5,2) (2,0) to [short, *-*] (5.5,0); but ...
3
votes
0answers
1k views

Using circuitikz to generate logic circuit diagrams? [closed]

How can I use circuitikz (or similar library for small code) to generate logic circuit diagrams with full variable life. x ---[and1]--- z y ---[and1]--- z So f(x,y)=z An image of the kind of ...
3
votes
1answer
2k views

Different switch symbols in circuitikz?

I'm wondering if there are other commands associated with the switch symbol so that one doesn't have to specify if the switch is open or closed. I would like the switch symbol with two connectors and ...
2
votes
1answer
74 views

error while drawing currents in circuitikz

This is my first complete circuit in circuitiks. I'm trying to draw a circuit to show Kirchoff's Law. I was able to draw the nodes and voltages, but putting currents with arrow is giving me trouble. ...
2
votes
1answer
922 views

circuit schematic symbol for buffer with control input

circuitikz has an op amp component type with two inputs, output, and up and down ports, usually used for power supply rails. There's also a buffer component type (which I think is provided by tikz ...
2
votes
2answers
752 views

Spacing circuit element labels from their elements with CircuiTikz

I want to draw a resistor with a resistance value showing and a voltage label showing as well. This is content-wise an MWE of everything I want: \documentclass{article} ...
2
votes
2answers
643 views

Circuitikz: polar capacitor terminals polarity labels are wrong

When using circuitikz to draw some circuit pictures, I noticed that the terminal polarity labels are incorrect (I believe) for polar capacitors. Consider the following: \documentclass{article} ...
2
votes
2answers
1k views

Battery symbol in circuitikz

Is it possible to make circuitikz draw battery-symbols like this:
0
votes
1answer
2k views

Drawing vectorized digital logic circuits

I'm looking for a tool to draw vectorized digital logical circuits. I first wanted to use Circuitikz, but found out that their are only two input lines for AND and OR gates. Are there any options to ...