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

learn more… | top users | synonyms

15
votes
3answers
1k 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 ...
4
votes
1answer
666 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? ...
4
votes
1answer
495 views

CircuiTikZ: draw transformer without conductors going to the side

I would like to draw a transformer in CircuiTikZ without the small parts of conductor going to the sides. Left: Current situation. Right: What I want. Code: \documentclass{article} ...
2
votes
1answer
366 views

Circuitikz Current Source

I'd like to know if it is possible to place a current source that looks like the following:
5
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 ...
8
votes
1answer
2k 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} ...
2
votes
1answer
490 views

Current Noise Source. New Symbol needed

I write a code for the Voltage and Current Noise Sources, using the "circuit declare symbol". The option works well for the Noise Voltage. I can change the color of the font, circumference and ...
2
votes
1answer
411 views

Circuitikz works with ground but does not work for rground

If I try to plot the following circuitikz schematic it works: \begin{figure}[bth] \myfloatalign \begin{center} \begin{circuitikz}[american voltages] \draw (0,0) node[ground] ...
6
votes
2answers
527 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 ...
5
votes
1answer
411 views

Circuitkz arrowhead scaling

I have problem with scaling of the arrowhead (see figure below). I found some examples, but unfortunately it does not work: question 1, question 2, question 3. I would like to reduce arrowhead of the ...
1
vote
0answers
198 views

Circuitikz common [closed]

I'm learning Circuitikz to draw schematics in my reports. I'd like to use the symbol for common; however, it doesn't seem to be there. What are my options? Thanks. Example of use: ...
3
votes
1answer
1k views

straight voltage arrows in circuitikz

I want straight voltage arrows in circuitikz, but all are bowed. Someone has a new solution? The bowed arrows are totally ugly. \documentclass[a4paper,10pt]{scrartcl} \usepackage{tikz} ...
2
votes
2answers
621 views

Using Circuitikz: Transformer

Could you help me with drawing of the transformer (see below)? I haven't enough experience with circuitikz library, but I think, that it is the best way.
4
votes
1answer
459 views

How to switch the poles of the SPDT switch in circuitikz

I am drawing a circuit with circuitikz that have lots of SPDT switches. I want to show the circuit at two different moments: once, when all the SPDT switches connected to out1 and the second with all ...
3
votes
0answers
349 views

Can´t draw plain amp with circuitikz [closed]

I'm trying to use the package circuitikz, and I need to draw a plain amp, I'm traying to do this as the manual says but it keep throwing this error message "I don´t know the '/tikz/plain amp' and ...
5
votes
1answer
2k views

circuitikz: labels, component size, and documentation

I'm trying to pick up circuitikz tonight to draw a few circuits. I ran into a few problems. Problem 1: Positioning Labels Here's my problem. When I use this code: \documentclass{article} ...
7
votes
2answers
552 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 ...
2
votes
0answers
126 views

circuitikz: error: cannot use all symbols [closed]

I cannot use all symbols for examble I want to use an thR resistor. In the old version of circuit there was no thR, but in Version 0.3.0 there is one. But I allways get an error when compiling. ...
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 ...
7
votes
1answer
924 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 ...
4
votes
1answer
296 views

CircuitTikZ splitting input into two gates

I have LaTeX code using the CircuitTikZ package for drawing a simple logic circuit, but I'm not convinced that my code is the correct way to do what I'm trying to do. Essentially, I have two inputs ...
3
votes
1answer
698 views

How to put label and voltage on same object in CircuiTikZ?

If I type the following code there is no problem: \begin{circuitikz}[american] \draw (0,0) to[R, l^=$R_4$, v=$V_1^+$, -*] (0,2) --(0,4); \end{circuitikz} But the polarity is not the one I need. And ...
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, ...
3
votes
1answer
1k views

Change symbol size in circuitikz

How can I make the diodes in the following circuit smaller? \documentclass{article} \usepackage{tikz} \usepackage[europeanresistors,americaninductors]{circuitikz} \begin{document} ...
1
vote
1answer
212 views

pdflatex renders files differently from a strings — example provided

I am running pdftex from command line and the images are getting clipped. When I run the same commands from a saved tex file, no clipping occurs. I have attached the commands and rendered outputs ...
2
votes
0answers
546 views

Off Grid Circuitikz Symbols [closed]

Shouldn't circuits line up on the grids? Otherwise, drawing code get messy -- really quick. I have found pins-to-grid alignment to be common practice in most the Schematic/Diagram programs I have ...
3
votes
2answers
653 views

Circuitikz - Have european voltages sources but american voltages indicators

I currently have the following: Now the problem is with the voltage indicator Vc. I don't want to it to be an arrow but a + Vc - kind of notation. This is easily done by using the option american ...
1
vote
1answer
509 views

I am trying to use circuitikz, but this error pops up whenever I compile

I am currently trying to run some examples in the circuitikz library, and I keep getting the following error and the document will not compile: Package pgfkeys Error: I do not know the key ...
6
votes
1answer
806 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
3answers
705 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: ...
5
votes
1answer
326 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: ...
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 ...
2
votes
2answers
839 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} ...
1
vote
1answer
2k views

3-input logic gate on circuitikz

How can I draw a 3-input logic gate with circuitikz? Is there a way to do so? For example, \begin{circuitikz} \draw (0,0) node[and port](myand){} (myand.in 1) node[left]{A} (myand.in 2) ...
3
votes
1answer
109 views

Make ins and outs longer on ports in ciruitikz

I have the following using circuitikz. I would like to make the lines going from the vertical 2 lines to the inverters be longer. I could create the small sections of lines myself, but I was wondering ...
4
votes
2answers
2k views

Drawing switches in circuitikz with connectors (dots)

I'm trying to draw an example of the logical operation of a logic gate for an analog electronics report. In the following code: \begin{circuitikz} \draw (-3,0) to[battery] (-3,2); \draw (-3,2) ...
6
votes
0answers
821 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 ...
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 ...
1
vote
1answer
633 views

Complicated Tikz logic drawing

This is a follow-up to this question Complicated logic circuit drawing with Tikz - two input buffer gate? Any ideas how can I draw this next element IODELAY2, should I use Resistance symbol? For me ...
4
votes
1answer
797 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 ...
2
votes
1answer
329 views

Reverse labels without reversing the coordinates in circuitikz

How do I flip the label to the bottom without having to flip the coordinates? \documentclass[preview, american, convert]{standalone} \usepackage[siunitx]{circuitikz} \begin{document} ...
6
votes
1answer
510 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] ...
4
votes
1answer
677 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 ...
2
votes
2answers
779 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
1answer
570 views

Cannot manipulate nodes in tikz

I am using the following code \documentclass[11pt,a4paper]{book} \usepackage{tikz} \usepackage[american voltages, american currents]{circuitikz} \usetikzlibrary{% calc,% fadings,% shadings% } ...
2
votes
2answers
1k views

Circuitikz different ground symbol

Is it possible to make circuitikz draw a different ground symbol? I would like to have a ground symbol with only one horizontal line. Thanks.
4
votes
2answers
1k views

Labeling a circuit element with its symbol and value on both sides

I have modified the circuit code given in Voltage sign convention (European vs. American) in Circuitikz to serve my presentation in circuit making. However, I am unable to change the voltage source ...
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 ...
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} ...
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 ...