Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [circuitikz]

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

2
votes
2answers
16 views

Image and text block

I do school project, there are a circuitikz circuits and some equations to each one. I'd like to keep it together and put the picture to the left, and equations on the right - as on the attached ...
0
votes
0answers
25 views

Need help with making a block diagram

I need some help with making the blockdiagram pictured under here in circiutikz. I am not sure how I label the boxes.
3
votes
2answers
54 views

How to color only part of a circuitikz?

I want to color part of my circuit but it seems that TeXstudio gets stuck every time. My original code is: % Power electronics---converters and inverter % Author: Ali Mehrizi-Sani \documentclass{...
5
votes
2answers
101 views

How can I create new components in circuitikz in order to distinguish between sinusoidal sources?

So in circuitikz, there is no distinction between a sinusoidal votage source sV and a sinusoidal voltage current source sI. The same goes for controlled sinusoidal voltage sources csV and controlled ...
1
vote
1answer
22 views

How to center a circuit?

I have the following problem: when I draw a circuit using circuitikz I can't center it when I add some figures on its side. Take a look at my code. The problem is that the environment considers both ...
3
votes
2answers
38 views

how to represent series and parallel associations

I would like to know how do I make series and parallel associations in latex? I am trying to use the following code: \documentclass{standalone} \usepackage{tikz, tkz-euclide} \usepackage[american]{...
0
votes
1answer
36 views

In circuitikz for mos symbols can I reduce the source drain extensions?

\documentclass{article} \usepackage{circuitikz} \usetikzlibrary{positioning} \usepackage[active,tightpage]{preview} \PreviewEnvironment{circuitikz} \setlength\PreviewBorder{1em} \begin{...
2
votes
2answers
35 views

Connect output with input at same logic gate

Is there a nice way to connect the output with the input of the same logic gate as shown in the following picture? My current "code" looks like this: \documentclass[11pt]{scrartcl} \usepackage{tikz}...
0
votes
1answer
21 views

Simple electric circuit using circuitikz

I am looking for a simple code that describes a simple circuit with a battery and two resistors(2,2 ohm and 4,7 ohm) and a voltmeter for the two resitors, can anyone help me? \begin{figure}[h!] \...
1
vote
1answer
31 views

How to precisely define the placement of the labels in circuitikz?

I want to have complete control on where to put the labels R1 and L1, the annotation 100 Ohms and the Voltage VL. For example, how to move L1 label a little more to the right, and a little more to ...
1
vote
1answer
60 views

How to create a different ground symbol?

I have read this thread about creating a custom ground symbol. I don't still have the skills to edit the solution proposed on this question. I am trying to get a ground like the one one the following ...
1
vote
1answer
41 views

How to change the colour of only some component labels in circuitikz?

I tried to look at these previous posts to solve my problem: Coloring the current arrows Coloring the current label It seems that the solutions proposed by these posts reprogram the colour of all ...
1
vote
1answer
54 views

How can I vertically align the circuit diagrams on a page?

I created two circuit diagrams and they do not align vertically despite being completely identical. Here is the code. \documentclass[12pt,a4paper]{article} \usepackage[utf8]{inputenc} \...
0
votes
1answer
73 views

What would be the tikz code for this particular voltage source?

I am using circuitikz and I cannot find the code for this particular voltage source. It is a sinusoidal source with the polarity + and - on its ends, inside the circle.
0
votes
0answers
33 views

Use curved voltage arrows for voltage source in circuitikz

I would like to use curved arrows for the voltage source when using the circuitikz package. For example, using \begin{circuitikz}[european voltages] \draw (0,0) to[R, v^=$v_1$] (2,0); \...
0
votes
1answer
41 views

Connecting a Transformer in CircuiTikZ

I am writing lab reports for my electronics class, and we got to transformers. Looking in the documentation for CircuiTikZ, it shows how to get the anchors for each of the lines for connecting labels. ...
2
votes
1answer
52 views

Orientation of negative polarity notation in voltage source when connected diagonally

Follow up of this question. MWE is give below: \documentclass[border=3mm]{standalone} \usepackage{tikz} \usetikzlibrary{circuits.ee.IEC} \usepackage[american voltages, american currents, siunitx]{...
2
votes
1answer
39 views

Orientation of negative polarity notation in voltage source when connected horizontally

This question is related to this question but I could not get the satisfactory output. My MWE is given below: \documentclass[border=3mm]{standalone} \usepackage{tikz} \usetikzlibrary{circuits.ee.IEC}...
3
votes
1answer
50 views

Recent update of exam class gives an error on earlier working file

This question has been derieved from two questions- the first question here solved by @Gonzalo and the follow up question here solved by @touhami. Now, I get the same error that of the follow up ...
4
votes
1answer
103 views

I want to draw the image attached. Which TikZ packages could I use for this?

I am not sure which tools were used to draw this image. I am assuming TikZ is to be used. Any guidance on which TikZ packages, I could use to draw this?
1
vote
1answer
75 views

Transmission lines with circuitikz

It is more convenient to draw transmission lines with colored rectangles (strips) like in the circuit below rather than using standard circuitikz symbol . My knowledge of TeX is poor to do this, but ...
1
vote
0answers
33 views

Problem with the circuitikz environment inside a wrapfigure not displaying the image

I'm trying to insert a circuit that I've drawn using circuitikz in a wrapfigure environment, but it gives me some error and it doesn't display the circuit. Here is a MWE: \documentclass[12pt]{...
0
votes
0answers
42 views

Making parallel and horizontal Switching Circuits with Latex [duplicate]

Required latex code for the following diagram : I have used the following codes to generate the above diagram, but failed : \documentclass[margin=0.5cm]{standalone} \usepackage{circuitikz} \...
0
votes
2answers
85 views

How to draw Logic gates like the following :

I would like to draw the following logic gates. Actually I'm new in latex, so I have no idea how to draw it in latex. I can Draw this in Adobe photoshop, but I know latex produces better image ...
3
votes
1answer
159 views

How to draw logic gates in tikz

I would like the draw the following diagram : Here is the code I have tried : \documentclass[tikz, border=1mm]{standalone} \usetikzlibrary{arrows, shapes.gates.logic.US, calc} \begin{document} \...
4
votes
3answers
250 views

Drawing switching circuit in LaTeX?

I want to draw the following switching circuit? After googling I have found the linkhere, but I can not able to draw the required diagram. Updated : \documentclass{minimal} \usepackage{...
3
votes
2answers
69 views

Correct American Voltage Source Current Arrow circuitikz

I have this issue where a voltage source won't invert the current coming out of it, it will only rotate the signs, the arrow will still come from the south of the node. I basically need the current i ...
0
votes
1answer
53 views

Circuitikz: Invert amp

I'm trying to use the code invert in circuitikz, however I'm getting an error with it, other bipoles work well. How can I invert/ flip it? Thanks! \documentclass[border=5pt]{standalone} \usepackage{...
2
votes
3answers
149 views

How to place and rotate a Galvanometer using Circuitikz

I'm new to ciruitikz so my question could be a silly one. I was trying to draw a circuit using the circuitikz package, but I stumbled upon the problem of inserting a galvanometer and rotating it. ...
0
votes
1answer
110 views

How to plot GRU (Gated Recurrent Unit)?

I was trying to reproduce the plot for GRU as below. But I can't find a way to generate those switch-like buttons.
2
votes
1answer
88 views

Latex code for three-phase inverter

I am trying to use tikz to do something like this but I have failed so far. I was looking around and I could not find a simple code for 3-phase inverters in tikz. Has someone a code to share? Best
2
votes
1answer
91 views

Drawing a transformer with multiple windings with circuitikz

I'm trying to draw a transformer with multiple windings with circuitikz similar to the figure shown here (except I'd like to have multiple primary windings and a single secondary winding): (Source: ...
1
vote
1answer
50 views

Missed symbols in schematics

I'm trying to use OverLeaf with Circuitikz to draw schematics. For training example I chose simple schematic for switch input de-bouncing: (But with replacement of buffer symbol with actual ...
1
vote
0answers
65 views

How to set global options / parameters in Circuitikz?

I use Circuitikz quite often with modified sizing as styles as follows: \begin{circuitikz}[line width=0.7pt, line join=round] \draw (0,0) ... to [/tikz/circuitikz/bipoles/length=22pt, L] (1,0) \end{...
2
votes
1answer
29 views

Controlling the size of circuitikz junctions

Is there a way to control the size of junction dots / open circles in circuitikz ? It looks like bipoles/length influences everything including junction dot size; I want to keep the junction dot size ...
1
vote
2answers
80 views

How to draw arrows to circuits in LaTex?

I need to draw a arrow with power flow direction in my circuit. Anyone can help me ? My Code: \documentclass[border=3mm]{standalone} \usepackage[siunitx,american]{circuitikz} \usetikzlibrary{arrows....
5
votes
3answers
471 views

How to create complex op-amp diagrams with Circuitikz

I am familiar with LaTeX but semi-new to Circuitikz. I am comfortable creating simple diagrams with nodes and bipolar, however combining them with op amps is difficult for me. I am trying to replicate ...
0
votes
1answer
45 views

\draw[snake=coil]

I am new to tikz / circuitikz, each time I try to make a spring or snake I got only a straight line: %%circuitikz filename=p236 dpi=100 \begin{circuitikz}[snake] \draw[snake=coil] (...
3
votes
2answers
157 views

How do I simulate a logic circuit in latex?

I have to simulate the working of a jk flip flop. Using circuitikz to draw each gate individually and then simulating it is cumbersome, because I have to do complex circuits later on. Searching ...
2
votes
1answer
65 views

How to draw this circuit diagram using tikz

I want to draw the circuit diagram like this: However using my code below, I only able to draw like this: \usepackage{circuitikz} \begin{circuitikz} \draw (0, 0) node[op amp] (opamp) ...
1
vote
1answer
40 views

Circuitikz misaligned cir

I am trying to sketch a high pass filter but the capacitive input is weird. Why is that? \begin{circuitikz} \draw (0,0) node[op amp] (opamp) {} (opamp.-) to [R=$R_1$] ($(opamp....
3
votes
1answer
168 views

How can I produce this circuit on Latex?

I have no idea how to do a circuit with "off" itens like the S2 IGBT and diode D1 below. anyone can help me ? Here is My Code \documentclass[border=3mm]{standalone} \usepackage[siunitx,american]{...
-2
votes
1answer
75 views

Draw Electrical Characteristics using tikz

How can i draw any one of the following transfer characteristics using tikz? Especially arrows between the nodes?
1
vote
2answers
94 views

Circuitikz - R (resistor does not compile

It looks almost like it can't get any simpler. I try to compile this test circuit: \documentclass[10pt,a4paper]{article} \usepackage[siunitx]{circuitikzgit} \begin{document} \begin{circuitikz} \...
2
votes
1answer
53 views

Circuitikz bipole label error

I am trying to compile this circuit: \documentclass[10pt,a4paper]{article} \usepackage{circuitikz} \begin{document} \begin{circuitikz} \draw (0,0) to[V=1<\volt>] (0,2) { to[R=1<\ohm>, ...
2
votes
1answer
25 views

How to arbitrarily manipulate line paths in circuitikz diagrams?

I'd like to draw this with LaTeX: This is what I have so far: %%%%%PREAMBLE%%%%% \documentclass[border=0.25cm]{standalone} \usepackage{circuitikz} %%%%%HEAD%%%%% \begin{document} \begin{...
0
votes
1answer
45 views

Optimizing & fine tuning circuitikz diagrams

Attached below is a pair of logic circuit diagrams that I've put together. The first is the original, pieced together from SVGs and PDF annotation tools. The second is my attempt to replicate the ...
2
votes
4answers
89 views

How can i rotate circuitkz figure vertical?

I have a pretty bigcircuit for a band pass filter that uses two opamps in cascade.Now this looks pretty small when aligned horizontal A4 layout.I want to to rotate this figure vertical(or 90) so that ...
1
vote
1answer
62 views

circuitikz: Bipole label position depends on drawing direction

I've stumbled over something I consider strange behavior in circuitikz. The label distance for a bipole (in this case a lamp) seems to depend on whether the component is drawn from left to right (R) ...
0
votes
1answer
62 views

Draw a twoport as a node with circuitikz

Simple question: can I draw a twoport as a node using circuitikz? The manual would suggest I can using something like: \draw (0,2) node[twoport,t=text] {}; Context: I am drawing a block diagram and ...