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
33 views

How to make inductors larger?

I'm having a problem trying to make my cute inductors larger. I found a way of making them bigger with the /tikz/circuitikz/bipoles/length but that scales the entire inductor. I just want it to be ...
2
votes
2answers
57 views

Circuitikz question on how to solve a problem with voltage arrows

\begin{circuitikz} [european, scale=1.75] \draw (0,0) to[sinusoidal voltage source, l=Uq](0,4) (0,4) -- (3.9999,4) (3.9999,4) to[short, -*, l=$P_0$](4,4) (4,4) to[C, l_=$d_{eff}$,i>^=$I_C$] (...
5
votes
1answer
45 views

Can't put ground on the correct place (circuitikz)

I want to add some decoupling capacitors to my circuit but it's always placed wrong. It should just be at the bottom of the capacitor. What am I doing wrong? \begin{circuitikz} \draw (0, 0) ...
-1
votes
1answer
38 views

Drawing Electrical diagram using circuitikz_ [closed]

Please kindly help. I can't get a hang on this using latex.
5
votes
1answer
60 views

Combined spring-damper in circuitikz for representing viscoelasticity

I am hoping someone can help me draw a combined spring-damper in circuitikz, similar to the existing spring and damper components, for use in representing a viscoelastic element. \documentclass{...
2
votes
2answers
63 views

Drawing normally open switch with connectors

I'm using CircuiTikZ and want to draw a SPST switch that has the same style as the included SPDT switch. Something like the following: I've experimented with a few things: \documentclass{article} \...
2
votes
1answer
51 views

How to write Arabic subscript in XeLaTeX?

I mean like in English such as in V_s \documentclass{article} \usepackage{circuitikz} \begin{document} \begin{circuitikz}[american] \draw (0,0) to[V,v=$V_s$,invert] (0,2); \end{circuitikz} \...
2
votes
1answer
48 views

Change appearance of voltage source in circuitikz

I prefer my voltage sources as in the image below. How can I achieve this in circuitikz? There is an identical question here, however for plain tikz. I tried to implement the solution given their, ...
0
votes
0answers
47 views

Added a style file to ~/Library/texmf/tex/latex/circuitikzgit but I still get ! LaTeX Error: File `circuitikzgit.sty' not found

I'm using a Mac, I created the directory ~/Library/texmf/tex/latex/circuitikzgit and added the sty file circuitikzgit.sty to it. I then ran sudo texhash ~/Library/texmf, restarted TeX Live, and my tex ...
0
votes
1answer
30 views

Issue with ciruitikZ package

I'm trying to use the option RPvoltages for the package circuitikZ version 0.8.3 but I get the following error message: ! LaTeX Error: Unknown option `RPvoltages' for package `circuitikz'. This ...
1
vote
1answer
48 views

CicuiTikZ Special Sources not recognised

In the package CicuiTikZ there are some special sources listed in the documentation, in section 4.2.9. For some reason I can't get them to work. Here is my code: \documentclass{report} \usepackage{...
0
votes
2answers
62 views

How to draw a big logic circuit with many inputs in latex

how can we draw logic circuits with 128 inputs without showing all the input that means we can draw a logic diagram with showing of 3 or 4 bits as input but how can we draw it 128 inputs with labeling ...
2
votes
1answer
61 views

How to declare a custom coordinate

I have created this sample diagram, where everything is aligned with the inputs of the first and gate. Would it be possible to replace these ([xshift=-15mm]bothNegated.bin 1) with a custom expression ...
1
vote
1answer
45 views

How to change the scale of a two-port

I'm a beginner at drawings in Tikz and I was making a diagram for a report, and a little problem came up: I need to change the scale of a twoport, I tried to do the following, but it hasn't worked... ...
5
votes
1answer
104 views

How to invert Logic Gate input in Circuitikz

I have drawn the following circuit, but how could the inputs of a Logic Gate be inverted? (As in the scanned picture, but it does not matter which gate exactly, just generally) \documentclass[a4paper,...
3
votes
1answer
100 views

How to add circuitikz dots

I am trying to add dots to all T-Junctions, I can do it manually, but is there an automatic way to do it? \documentclass[a4paper,12pt]{article} \usepackage{tikz} %vectorgraphics \usetikzlibrary{...
5
votes
2answers
330 views

How to draw two different grounds

I wanna draw a ground with three lines (see Fig. a.), but in circuitikz, the ground is associated with four lines (see Fig. b.). My question is that is it possible to draw a nice ground with three ...
0
votes
0answers
42 views

Title block with circuitikz

To an electric circuit schematic I've made in circuitikz, I'd like to add a title block like the one given here, including logo if possible. I've searched the web for "LaTeX title block" as well as ...
2
votes
2answers
149 views

circuitikz: How to add + , - in ammeter?

I created Ammeter with out arrow. I want to add + and - outside the ammeter. \documentclass{beamer} \usepackage[american,siunitx]{circuitikz} \begin{document} \begin{frame} \begin{circuitikz}[x=3cm,...
0
votes
1answer
48 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
375 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
99 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
72 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
40 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
32 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
296 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
55 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
88 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
140 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
76 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
56 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
47 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
105 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
85 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
54 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
382 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
49 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
76 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
145 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
61 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
83 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
56 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
94 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
39 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
49 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
102 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
92 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
85 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
98 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
94 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); \...