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

learn more… | top users | synonyms

18
votes
8answers
7k 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 ...
16
votes
3answers
2k views

Drawing a circuit structure in LaTeX

I want to create the following structure in LaTeX: Unfortunately I couldn't find a similar example in the pgf manual using the same symbols. An answer just showing basically how to produce a ...
13
votes
0answers
1k views

Industrial schematics [closed]

I'm investigating if it is possible to generate electrical schematics for industrial machinery with the LaTeX ecosystem. They are quite different from electronic circuits because are developed ...
11
votes
2answers
886 views

Diagonal Resistor Label Font Size and Curved Arrows

I'm trying to draw a Wheatstone Bridge and this is the code I have so far: \documentclass[12pt]{article} \usepackage[americanvoltages,fulldiodes,siunitx]{circuitikz} \usepackage[pdftex]{graphicx} ...
10
votes
1answer
3k views

Drawing control diagram in Latex

I am new to LaTeX and I am trying to draw a diagram similar to the one in the figure: This question was answered and the following is a code for similar diagram. \documentclass{standalone} ...
10
votes
2answers
472 views

How do I contribute to TikZ?

Stemming from this question and with due credits to @morbusg's answer, I was able to create a very fundamental symbol for the circuits.ee.IEC TikZ library, the AC voltage source. I call it the ac ...
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?
9
votes
2answers
962 views

Colorful Logic Gates using Circuitikz

I have to draw following circuit the LaTeX source of which is \documentclass{beamer} \usepackage{circuitikz} \begin{document} \begin{frame} \begin{figure} \centering \begin{circuitikz} \draw (0,0) ...
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 ...
9
votes
0answers
1k views

How do I contribute to CircuiTikZ? [closed]

Update (29 Dec 2012) The author has already update CircuiTikZ (Thank you, Massimo!). It should be integrated into the CTAN official repositories in a few days. The package is now hosted in Github for ...
8
votes
1answer
2k views

How can I invert the poles of an OP-AMP in circuitikz?

I have an op-amp in my circuit, but I would like the + pole to be above and the - pole to be downward. I don't know how to do that. (Sorry I can't upload an image, it is my first post) Can anybody ...
8
votes
1answer
1k views

Drawing a motor shaft in TikZ

I'd like to create a picture like the one with TikZ: I've already created the electrical part using circuitikz. I'd like to add the part on the right (the motor's shaft with arrows), but don't know ...
8
votes
2answers
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 ...
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
2k views

circuitikz labeling

I am trying to create a few logic circuits for a class that I teach. After brief investigation I decided to use TikZ library circuit due to the lack of the support by PSTricks for American notation. ...
8
votes
1answer
995 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: ...
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 ...
8
votes
1answer
653 views

Draw Circuit For LaTeX Documents: GUI [duplicate]

Currently, I use Circuitikz to draw my circuits for my LaTeX documents. My issue is, it really takes a while to draw them and a GUI which would allow me to drag and drop the components would really ...
7
votes
3answers
14k 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
7k views

Best way to make circuit diagrams for LaTeX?

I'm using PCTex (WinXP) and looking for the best way to make circuit diagrams for LaTeX. Something that will allow me to include many arrows, comments and equations around the schematic. The ...
7
votes
3answers
506 views

What would be the best way to draw this image using latex?

I have an assignment which involves drawing the layout of some wiring. I have been using a different program, but the rest of my work is in LaTeX and so I would like to learn how use LaTeX to create ...
7
votes
2answers
959 views

How to draw a multiplexer 8 to 1 with circuitikz

How can I draw a multiplexer 8 to 1 with tikz or circuitikz? A hand-drawn example is shown below.
7
votes
2answers
696 views

Boolean AND Gate

I cannot figure out how I can to draw and label a single AND gate. All of the online examples are horizontally aligned. I drew the image. Please anyone show me how do this in LaTeX. Edited to ...
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 ...
7
votes
1answer
2k views

How to draw circled transistors

How to draw a circled transistor in circuitikz? I did not find any info about circled transistors in circuitikzmanual.pdf.
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 ...
6
votes
4answers
4k views

Drawing electrical diagram using circuitikz

I looked at the documentation and examples on CTAN, but circuitikz is hard to get the hang of. I am trying to create Here is what I have so far: \documentclass{convert = false]{standalone} ...
6
votes
2answers
582 views

economic circuit

Having seen some examples of electronic circuits, I would like to make an economic one like this one: I haven't found any relevant example, so would like your help. In case that somebody is ...
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 ...
6
votes
2answers
284 views

Mutual coupling and Circuitikz?

I am desperately trying to draw mutual coupling between two inductors, something like this: or where the actual focus is on the mutual coupling M of the two coils. When I searched the web, I ...
6
votes
3answers
906 views

How to draw an inductive coupling with circuitikz and TikZ?

I'd want to draw a circuit with an inductive coupling, as you can see in the following image: What I need now is putting the dots related to the inductive coupling, as well as the power lines. I ...
6
votes
3answers
869 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
1k views

Inlining circuit symbols

in a prevois question i asked if there was a good way to display electronics symbols in TeX, i was pointed towards circuitikz (which is awsome), but is there a way to inline a symbol in text? eg. ...
6
votes
1answer
1k views

Using circuitikz, how do I make a ground node and link to it from several others?

I'd like to get two or three nodes linking to a ground symbol (this is not an electric circuit), as in this attempt: \documentclass{article} \usepackage{tikz} \usetikzlibrary{positioning} ...
6
votes
1answer
6k views

Plotting circuits with circuitikz

I have one small problem (I managed to draw what I needed, and for a first timer I'm very proud of myself XD). I need to draw image like this: And what I managed to get is this: So, the resistor ...
6
votes
1answer
1k views

How can I add a component to circuitikz?

Similar to CircuiTikZ — create new component I am using circuitikz to create an electric circuit diagram. I have found the preset symbol for the zener diode to be different to the symbol I wish to ...
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?
6
votes
2answers
1k views

Display ICs with circuitikz

How can I represent a IC using circuitikz? I'm thinking of something like this: I checked the whole manual and searched this information on google, but found nothing. It's hard to believe that no ...
6
votes
1answer
276 views

ADC in tikz (circuitikz)

How it is possible to draw an ADC (analog to digital converter) with tikz library ? Some Simple ADC like this ? What is the right way to place nodes on such rectangle so that i can use it further ...
6
votes
1answer
230 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 ...
6
votes
1answer
414 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
1answer
730 views

How to make my logic circuit drawn by circuitikz look nicer?

\documentclass{article} \usepackage{circuitikz} \begin{document} \begin{circuitikz} \draw (0,3) node[not port] (mynot1) {} (mynot1.in) node[anchor=east] {$r$} (mynot1.out) node[anchor=south] ...
5
votes
2answers
292 views

Drawing a circuit

How can I create the following drawing? I want to add the following diagram to my report: I hear it can be done in LaTeX so I read some of ...
5
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?
5
votes
2answers
743 views

Flow of current in a circuit

I am trying to create a circuit with resistors and voltage sources. I need to have each resistor labeled with their resistance (above) and the unknown current (below) flowing through the resistor. I ...
5
votes
1answer
1k views

How to draw a quarter car model in LaTex? Which is basically a two masses and spring system

This is the code that i have been able to write up but i would like to make it better and label the springs and dampers and draw the ground. Also i need to draw the direction of the motion which would ...
5
votes
2answers
298 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
881 views

draw single pole double throw switch in circuitikz

I am new to circuitikz so this question may be too easy for some of you. I want to draw a single pole double throw switch in circuitikz. It can be done with "spdt". However I don't find any example of ...
5
votes
2answers
476 views

circuitikz label placement seems inconsistent - how to fix it?

I'm new to circuitikz and fairly new to TikZ, and have a seemingly simple problem. The labels on my resistors are on opposite sides, for no reason that I can find. \documentclass{standalone} ...
5
votes
1answer
410 views

Increasing number of ports in circuitikz gate

Is it possible to add two ports to the gates (nand, and, or, not) in circuitikz on the top and bottom for reference voltages in a similar fashion to how they exist for the op amp?