{circuitikz} is a package for drawing electrical networks with TikZ.
13
votes
7answers
4k 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 ...
13
votes
0answers
583 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 ...
12
votes
3answers
520 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 ...
10
votes
2answers
399 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
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
510 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 ...
7
votes
1answer
551 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
1answer
2k 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
3answers
5k 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
2answers
3k 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 ...
6
votes
2answers
125 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 ...
6
votes
3answers
284 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
319 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
744 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
456 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
704 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
2answers
903 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 ...
6
votes
1answer
1k 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
1answer
220 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] ...
6
votes
0answers
273 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 ...
5
votes
1answer
864 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. ...
5
votes
1answer
2k 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 ...
5
votes
2answers
803 views
Opposite poles battery in circuitikz
This might be a simple question, but I would like the battery positive pole to be to the left, and to the right as the default,
(0,0) to [battery, v=$\varepsilon$] (2,0)
Also, is there an option ...
5
votes
1answer
362 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:
...
5
votes
1answer
361 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 ...
5
votes
1answer
429 views
How to make the code of a circuitikz diagram more flexible?
I am a beginner in LaTeX, and TikZ, trying to use them for industrial documents.
The sample code below (largely made with previous help) shows a circuit made with circuitikz. However I have now the ...
4
votes
1answer
459 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 ...
4
votes
1answer
852 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?
4
votes
1answer
508 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 ...
4
votes
1answer
412 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
325 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 ...
4
votes
1answer
1k 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
202 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 ...
4
votes
1answer
175 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?
4
votes
2answers
1k 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) ...
4
votes
1answer
92 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}
...
4
votes
1answer
82 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 ...
4
votes
1answer
619 views
How to draw this circuit (or something similar) with circuitikz?
I've been playing around with circuitikz, and am really loving it so far. The only problem is that I really don't know how to adapt it when there a symbol that I want is not present.
For example, ...
4
votes
1answer
130 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:
...
4
votes
1answer
988 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
...
3
votes
1answer
161 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 ...
3
votes
1answer
318 views
Grid customized
I would like to build a grid such as the figure shown below where each grid point is surrounded by some of the two curves that describe below.
First curve: an outline around the point forming a ...
3
votes
1answer
823 views
CircuiTikZ — create new component
How can I create a new component and include it in CircuiTikZ? For example a 4 bit adder?
3
votes
1answer
56 views
Flipping Transistors with Circuiktikz
I was wondering if there was any way to flip a transistor or similar node component around in the circuitikz package? For the bipoles it's fairly simple as you just reverse the start and end, but for ...
3
votes
2answers
187 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 ...
3
votes
1answer
75 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 ...
3
votes
1answer
643 views
Drawing a Power Flow arrow in circuitikz
Is it possible to draw a power flow arrow in circuitikz?
I'd like to draw an arrow point away from the voltage source on the right that indicates the flow of power towards the left.
What I'm after ...
3
votes
1answer
619 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
3k 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
65 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 ...