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

learn more… | top users | synonyms

18
votes
8answers
8k 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 ...
6
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
2answers
966 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 ...
4
votes
2answers
434 views

How to plot quantum logical gates with tikz?

I have seen many examples of classical circuit with tikz but none of quantum logical gates. Here are some of the quantum logical gates A whole circuit maybe look like
1
vote
2answers
248 views

Making FFT Figure using LaTeX Tikz

I've been writing a paper on the FFT, and need to implement an image showing the basic premise of the 2-radix algorithm used. The image I want to create using Tikz is as follows. However, I've hardly ...
8
votes
1answer
1k 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
1k 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 ...
6
votes
2answers
2k views

Rotate voltmeter CircuiTikz

I'm using Latex and CircuiTikz to draw circuits but I can't rotate de voltmeter without making a disaster. Any idea? Here is an example. \begin{circuitikz} \draw (0,0) to[ammeter] (3,0) to ...
4
votes
1answer
1k 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? ...
2
votes
1answer
372 views

Miktex 2.9 pgfplots, circuitikz library collision problem

In my book, I use both libraries. After Miktex update yesterday evening (circuitikz ver 0.3 pgfplots 1.11), I have problem with compiling following code: \documentclass{article} \usepackage{tikz} ...
1
vote
1answer
211 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 ...
8
votes
3answers
15k 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, ...
7
votes
2answers
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 ...
10
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?
4
votes
3answers
695 views

Including +/- signs to battery in Circuitikz

I'm attempting to draw a battery (using the battery1 component) that includes positive and negative signs at the appropriate ends. A previous question that was answered here (using version 2.4) shows ...
8
votes
3answers
2k 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 ...
6
votes
1answer
434 views

Circuitikz inverter bubble

I'm using circuitikz to create some logic gate diagrams. In my course we use "inversion bubbles" as a convenient shortcut instead of drawing inverters everywhere. As in inputs A and B in this image: ...
6
votes
3answers
902 views

Use circuitikz voltage source icon as a node

I'm using circuitikz to draw a single line diagram: But I have no idea how to get rid of the line on top of the voltage source. Is there a simple way to do it? Here's my current code: ...
6
votes
1answer
3k 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?
5
votes
1answer
3k 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
985 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
5k 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
2k 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, ...
8
votes
2answers
2k views

How to combine two dipole and tripoles efficiently in circuitikz?

I'm trying to learn how to use circuitikz to draw some circuit diagrams. So far it is going pretty well, except that now I've run into a problem when trying combine dipole circuit elements (such as ...
8
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 ...
6
votes
1answer
240 views

Transform/Mapping of path in asymptote

I have recently started using asymptote for some plotting and drawings for my research. I have however stumbled upon something that I would like to do - but I don't know if it is possible. I have a ...
5
votes
2answers
331 views

Help with my tikz circuit

Im trying to implement the circuit in the picture, my attempt is ordinary. Any help improving would be appreciated. \documentclass[border=10pt]{standalone} ...
5
votes
1answer
690 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
298 views

Is there a predefined bandpass filter block in tikz?

I want to create this block diagram. \documentclass{article} \usepackage{tikz} \usepackage{circuitikz} \usepackage{pst-solides3d} \usetikzlibrary{shapes,decorations} ...
4
votes
2answers
183 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. ...
4
votes
1answer
220 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

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 ...
4
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 ...
3
votes
2answers
191 views

Circuitikz american controlled voltage signs

Hello, friends. Well, a picture is worth a thousand words. I would like the behavior on the left rather than on the right, the latters are CircuitTikZ defaults. A helpful guy helped me to do it with ...
3
votes
1answer
463 views

How to rotate Circuitikz circuit as a whole?

I've drawn a circuit path using CircuiTikZ library. Now I want to rotate the circuit as a whole. The nodes of circuit are transform correctly. However the circuit elements do not get rotated at all. ...
3
votes
1answer
543 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
3answers
2k views

Battery symbol in circuitikz

Is it possible to make circuitikz draw battery-symbols like this:
3
votes
0answers
2k 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 ...
2
votes
1answer
259 views

Defining a custom symbol by path in TikZ

I want to define a 2-to-1 multiplexer symbol, defined by this path: (0,0) -- (1,-0.5) -- (1,-1.25) -- (1.3,-1.25) -- (1,-1.25)-- (1,-2) -- (0,-2.5) -- (0,-1.75) -- (-0.3,-1.75) -- (0,-1.75) -- ...
2
votes
1answer
1k 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
1k 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
1k 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} ...
0
votes
2answers
489 views

Transformers in Circuitikz

This might be a basic question, but im trying to incorporate.. \draw (0,0) node [transformer](T){} (T.A1) node[anchor=east] {A1} (T.A2) node[anchor=east] {A2} (T.B1) node[anchor=north] ...
0
votes
1answer
3k 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 ...