Stack Exchange Network

Stack Exchange network consists of 175 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.

0
votes
1answer
35 views

TikZ: how to memorize current coordinate into a variable during path creation

I am creating electrical circuits using CircuiTikZ. Quite often I need to connect to a certain point, which has been created previously using relative coordinates. Right now I have to calculate ...
5
votes
2answers
349 views

How to get rid of arrows from european voltage source in tikz?

I would like to get rid of the arrow from the voltage source and just use the label without arrow. Is it posible? Any help would be much appreciated. Thanks \documentclass{article} \usepackage[utf8]{...
6
votes
1answer
85 views

How can I draw a nonlinear spring in the style of Circuitikz for a mechanical schematic?

The circuitikz package provides an easy way to draw linear springs (springs that have constant stiffness) in a mechanical circuit. I would like to draw a nonlinear spring (its stiffness varies as it ...
3
votes
1answer
45 views

How can I draw variable springs and dampers using Circuitikz?

I would like to be able to a draw mechanical circuit that includes variable springs and dampers using the circuitikz package. Circuitikz already includes commands for constant springs and dampers, but ...
0
votes
0answers
31 views

XOR using circuitikz and connecting problem

I'm teaching Discrete Math for the first time so I'm trying to typeset Boolean circuits. Trying to duplicate the Boolean circuit of Example 2.4.3.a of Discrete Math Epp 4e. The circuit is just xor as ...
0
votes
1answer
30 views

Fitting two circuit in a frame

I am trying to fit these two figures in a frame. \documentclass[aspectratio=169]{beamer} \usepackage{tikz} \usepackage{circuitikz} \begin{document} \begin{frame}{Question} \begin{columns}[...
8
votes
2answers
274 views

circuitikz vs. tikzpicture: generating multipage standalone documents for animations

This is a problem I found a while ago, and haven't been able to figure out. Maybe is something wrong with my distribution, but don't know exactly how to fix it. Here is the idea Consider this script ...
1
vote
1answer
51 views

Coloring a path in a circuit

I have edited my code according to the answer. \documentclass{article} \usepackage{tikz} \usepackage{circuitikz} \begin{document} \begin{figure} \begin{center} \begin{circuitikz} \draw (0,2.5) ...
0
votes
1answer
73 views

Drawing mesh currents in circuitikz

My problem is that I don't know how to draw the circular-like shaped mesh currents in circuits. The following messy currents were generated with MS Paint. Any help would be much appreciated. \...
2
votes
2answers
66 views

Help with drawing the following circuit diagram

I'm just learning how to use circuitikz and I'm trying to draw the following circuit diagram Here's what I've got so far \begin{circuitikz} \draw (0,0) node[ocirc,ground]{$-m$} to[short] (1,0) ...
2
votes
2answers
58 views

Star and Delta Connections using Circuitikz

I am making the delta and star connections in circuitikz. But I have some problems stylizing ... For the Star Connection: \documentclass[border=3mm]{standalone} \usepackage{circuitikz} \begin{...
4
votes
1answer
50 views

Modify PMOS definition in CircuiTikz

I'm trying to modify the pmos definition in circuitikz as per this answer but I cannot get the document to compile. I am using Overleaf V2 and I get this error. MWE: \documentclass{article} \...
0
votes
1answer
31 views

SR Latch using Circuitikz

I am trying to draw an SR Latch using Circuitikz My code is: \begin{circuitikz} \draw (0,2) node[nor port] (NOR1) {} (1,2) node[anchor=east] {Q} (1,0) node[anchor=east] {$\overline{Q}$} (0,0) node[...
3
votes
2answers
95 views

Changing the size of a Logic Gate using Circuitikz

I would like to change the size of a simple logic gate \begin{circuitikz} \draw (0,0) node[and port] () {}; \end{circuitikz} The output is: How can I control the size of the ouptut?
6
votes
2answers
77 views

Aligning two diagrams in tikz environment

I have created to diagrams separately using TikZ package and now I want to make them left-right shown in one figure with a caption. \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{...
2
votes
1answer
41 views

Can't use circuitikz bipoles in \pgfnode

Why I get error Package pgf Error: Unknown shape ``R''. (or with any other bipole) but I can use other symbols with no problem? How to use bipoles with \pgfnode? \documentclass{standalone} \...
4
votes
1answer
241 views

Circuit diagram with tikz

Hi I am trying to draw the following circuit: using Tikz package in Latex. The following is my code \begin{figure}[t] \begin{center} \ctikzset{bipoles/length=1cm} \begin{...
2
votes
2answers
33 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 ...
3
votes
2answers
65 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
124 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
40 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
62 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
51 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
55 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
29 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
44 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
81 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
70 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
73 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
86 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.
2
votes
1answer
66 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
50 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
56 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
44 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
58 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
115 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
150 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
43 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
2answers
141 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
309 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
326 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
105 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
65 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
189 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
146 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
160 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
127 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
65 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
73 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
36 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 ...