Questions tagged [circuitikz]
{circuitikz} is a package for drawing electrical and electronic networks with TikZ.
1,110
questions
4
votes
2
answers
166
views
How to draw oval line through specified coordinates?
How to draw oval line through specified coordinates? I have used simple \draw [red, dashed, line width=1px] (A) to[out=180, in=180] (C); for each connection manually. And connected line dashes are not ...
2
votes
2
answers
49
views
How to raise component label position vertically?
How to raise component label position vertically? L1 label should be a bit higher. I can add new node and specify position - but perhaps exist some label property like "text yshift"? Would ...
1
vote
1
answer
36
views
How can I change variable resistor wiper / arrow size?
How can I change variable resistor wiper / arrow size? Is it possible? Seems too small (R3)..
\documentclass[preview,border=12pt,12pt, varwidth=\maxdimen]{standalone}
\usepackage[europeanresistors,...
2
votes
1
answer
34
views
How do I keep text from rotating when rotating an op amp in circuitikz?
As you can see when running the MWE, the minus sign of the op amp is vertical. What is the easiest way to make it horizontal?
\documentclass{standalone}
\usepackage{circuitikz}
\begin{document}
\...
1
vote
1
answer
40
views
circuitikz - how to change only the color of a bipole
I'd like to solely change the color of the bipole (and, if possible, also of the line). The labels as well as the current arrow should stay black. Is there any possibility to achive this? In the ...
2
votes
2
answers
58
views
I Install TexLive from Source and Want to Upgrade Package Circuitikz Manually, how?
I install from source Texlive into this directory /opt/texlive
version 2021.
It is a Linux OS.
I want to upgrade Circuitikz package manually, without using tlmgr because I have no internet in this ...
3
votes
1
answer
41
views
circuitikz: three phase generator
I'm trying to draw a simple ac/dc converter schematics with circuitikz. My attempt gives the following result:
I would like to have instead of the three sinusoidal current generators a single three-...
0
votes
2
answers
43
views
Circuit wires not printing out while downloading the PDF file
Basically, I have this code:
\begin{figure}
\begin{circuitikz} [american voltages, american currents]
\draw
(0,0) to (0, 0)
to [ V = $V_g$, invert] (0, 2);
...
2
votes
1
answer
68
views
circuitikz: Adjust label in switch and transformator
In a circuit I am putting together in circuitikz I want to use a switch and a transformator. However I am not able to put the label of the switch on the left side. And the label of the transformator ...
2
votes
1
answer
49
views
New switch components for circuitikz
I was looking for a normally closed switch in circuitikz, but with a closing or opening arrow. Since I couldn't find them, I coded them myself. It's mostly a copy-paste of the normally closed switch ...
3
votes
1
answer
87
views
circuitikz: Change position of label and arrow
I have put together a equivalent circuit model of a battery in Latex and circuitikz, but I can not change the position of two elements.
So I would like to have the arrow and label of the voltage ...
0
votes
4
answers
73
views
Line ends in circuitikz not working
How do I fix the line ends drawn with circuitikz?
\documentclass[border=3mm]{standalone}
\usepackage[siunitx,european]{circuitikz}
\usetikzlibrary{external}
\tikzexternalize[prefix=tikz/]
\begin{...
2
votes
1
answer
35
views
horizontal alignment cute spdt switch in circuitikz
I have hard time to understand how to shift the sw2 in y direction such that the sw2.in is perfectly aligned horizontally to sw1.out 1 perfectly without any guessing. In the manual, no constants are ...
1
vote
1
answer
46
views
Double arrows in Circuitikz
How do I add another arrow (like one on the right, current i(t)) also on the left side of the component? To get something like:
2
votes
1
answer
32
views
Names of ALU pins/anchors in circuitikz
In the TikZ diagram below I want to draw red arrows aligned with ALU pins as indicated in the 2nd figure. How do I do it? The code used to generate the first picture is pasted below the 2nd figure.
...
1
vote
1
answer
91
views
Draw Coupled Oscillators in Tikz
I am new in Tikz, any idea how can I draw the following figure in Tikz and in general coupled oscillators in Tikz?
2
votes
1
answer
44
views
Trouble formatting circuitikz with wrapfig and enumerate
I'm trying to format a basic circuit question, where a circuit diagram is placed to the right of the choices in a multiple choice question.
Currently, it looks like
I'm after something that looks ...
1
vote
1
answer
47
views
How to find out available key-value pair for CircuiTikZ
I'm using CircuiTikZ and I came across this issue frequently: every time I want to tweak some options using tikzset, there is no documentation for the available key-value pairs.
For example, if I want ...
1
vote
1
answer
97
views
Is there any tool to convert a circuit diagram to circuitikz latex code?
I'm looking for software that can convert a circuit jpg/png file to Circuitikz (Latex) codes, just like the image2latex-matrix tool.
Thank you
2
votes
1
answer
79
views
circuitikz: redefine current source
I can draw the european style current source as in this example:
\documentclass{standalone}
\usepackage{circuitikz}
\begin{document}
\begin{circuitikz}[european]
\draw (0,0) to[current source] (2,0);
...
1
vote
1
answer
42
views
How to set font size in standalone class globally or locally?
How can I set the font size for the standalone class globally or locally (as probably in some place you may need to increase or reduce size to make it fit)? I have copied the three \renewcommand from ...
2
votes
2
answers
57
views
Node size of body diode connections in transistors
I need to change the circle node size of the bodydiode to adjust it to the rest of the nodes, but I haven't found any documentation from the circuitikz package to do that.
From this example code:
\...
2
votes
1
answer
121
views
How can I ensure that Times New Roman font is used for text in circuitikz and tikz?
I am preparing figures for an IEEEtran journal, and they require that all text in the figures be written in Times New Roman font. I have tried using "\setmainfont{Times New Roman}" and "...
7
votes
1
answer
356
views
Vertical ellipsis in circuitikz
I'm trying to create a summing amplifier circuit using circuitikz with ellipsis to show that it may have infinitely many branches. Unfortunately, unlike \cdots on a horizontal line, \vdots isn't ...
1
vote
1
answer
69
views
Replace AC voltage source symbol in circuitikz
I am coding my electrical circuit in LaTeX using circuitikz.
I have a pulsed voltage source in my circuit, and have used an AC voltage source until now. I'd like to change the sinusoidal 'wiggle' ...
1
vote
2
answers
48
views
How can I align vertically/on top tikz pictures (circuitikz) in minipage/figure/tabular environment?
I am trying to align vertically this 3 circuits. I would like to align the on top, instead of bottom part (they automatically align bottom with that code).
Also, if possible, to know how to align the ...
2
votes
4
answers
119
views
Issue drawing all the connectors in digital circuit
I am trying to convert this digital circuit into Latex code. It is a full subtractor. I saw that in the blog there are anyone else that post the same function, but it resolves the circuit in a ...
1
vote
1
answer
114
views
How can I improve code for this circuit diagram?
How can I improve this code? I would like to know if there is a better way of doing this. Also, is there some way that I can change the dimensions of the circuit diagram without needing to manually ...
1
vote
1
answer
46
views
Circuitikz connections: connecting ball (*-) , plus turning a corner (-|)
There’s got to be a better way! And, I’m sure someone here can show it to me.
I often find myself wanting to make a connection in a schematic, where one end of the connection should have that ...
0
votes
0
answers
80
views
quantikz - drawing circuit with output in the middle
I'm currently trying to draw this circuit in the quantikz package:
This is what I have so far (+ the output):
\begin{quantikz}
\lstick{$\ket{x_1}$} & \gate{NOT} & \gate[2]{NAND} & ...
0
votes
2
answers
34
views
Use Circle of Output Negation for Input Negation with circuitikz
I want to use the compact illustration for a not gate with another logic gate at the input of the logic gate. So far, the documentation shows me how to do this with the ocirc. But this looks different ...
1
vote
2
answers
149
views
Logical circuits
I am trying to recreate a logical circuit using circuitikz package.
I drew the nor ports, and placed it where they should be. I have a problem with connecting it. What approach should I use for the A ...
0
votes
1
answer
46
views
Adding + and - symbols to Voltage Source
I want to create schematics using circuititkz, and I can't find a way to do this:
I need to use european style symbols, but when drawing voltage sources, I want to display both the arrow AND the + and ...
4
votes
2
answers
134
views
Define a new Source Object in CircuiTikZ
German school books use open circles to mark electrical sources:
\documentclass[border=3mm]{standalone}
\usepackage{circuitikz}
\makeatletter
\pgfcircdeclarebipole{}{\ctikzvalof{bipoles/open/...
1
vote
1
answer
68
views
Adding waveguide elements to Circuitikz diagrams
In literature, generalized waveguide connections to other circuits are represented similar to Z_in and Z_out in figure a) which is from M.S Khalil et al. 2012(1). Does Circuitikz have a similar ...
2
votes
1
answer
48
views
How do I reproduce exactly and add the current symbol I in these RL and RC Circuitz? MWEs attached
This is the MWE for the first diagram:
\begin {document}{standalone}
\usepackage[straightvoltages]{circuitikz}
\begin{circuitikz}
\draw (0,0) to [short] ++(0,1) node [right] {$-$}
to [open, v^&...
4
votes
1
answer
102
views
How can I create these two pictures in LaTeX, using tikz or circuitikz?
The image depicts an optomechanical system, where a coplanar waveguide interacts with a nanomechanical oscillating capacitor mediated by a qubit.
I want to create images (a) and (b) both in LaTeX. I ...
3
votes
1
answer
63
views
Logic gates and osquarepole in circuitikz
I have this little problem, I would like to resolve, how can I put some squared terminal with the usual syntax to [short, -s] or to [short, s-], without having to specify both stile, -s and s-in the ...
1
vote
1
answer
57
views
Draw NE555 timer as a rectangle (4 pins-4pins)
Hello I need to draw a NE555 timer in circuitikz.
I want to draw it like it is represented on the following figure (next part on pin 3) :
How can I do it ? Add pin number from 1 to 8 and add legend ...
4
votes
1
answer
83
views
What is the default size of various components in circuitikz?
What is the default size of various components in circuitikz?
for example:
the length of a resistor (and other bipoles)?
if node[npn]{Q} is at (0,0), what is the absolute coordinate of Q.b/Q.c/Q.e?
...
0
votes
2
answers
38
views
Circuitikz & op amp: different symbols for input and output
This is from texdoc circuitikz:
If you want different symbols for input and output you can use a null symbol and put them manually using the border anchors.
\begin{circuitikz}[]
\ctikzset{amplifiers/...
0
votes
1
answer
47
views
Resizing nmos circuitikz
I'm doing some design for what's inside a D flip flop, with all the transistor, to explain all the basic components that are inside; and I have like 26 mos to fit. I tried to resize them, but the ...
0
votes
1
answer
77
views
Wheatstone bridge scheme using CircuiTikz
I tried making Wheatstone bridge scheme in LaTeX, but here is what I came up with so far:
\begin{circuitikz}
\draw (0,0) to (8,0);
\draw (0,0) to (0,2);
\draw (0,2) to [battery1] (8,2);
...
2
votes
1
answer
39
views
How do I change the size of a diode in Circuitikz?
I want to reduce the size of the diode D1 in my circuit, but I can't seem to be able to do that using \ctikzset{diode/scale=0.5} as it gives an error wherever in the document I place it. Here is my ...
0
votes
0
answers
43
views
LTspice G source in latex
I was wondering if it is possible to draw this G source
in latex and the eventual corresponding code.
Thanks in advance.
4
votes
2
answers
196
views
Customizing circuitikz, thickness and colors
I am drawing a simple circuit with circuitikz package. I am struggling with colors and thickness.
\documentclass{report}
\usepackage{circuitikz}
\begin{document}
\begin{center}
\begin{...
2
votes
2
answers
75
views
transistor not showing
I am using circuit tikz to draw a diode in series with a transistor using the following:
\begin{figure}[h!]
\centering
\begin{circuitikz}[american, line width=0.3, line cap=round, line join=round]
...
3
votes
1
answer
146
views
Correct positioning of a node and a circuitikz component
I would like to mix "conventional" tikz node and circuitikz components in the same tikzpicture but I have problem with positioning them.
For example, I would like to obtain this result:
But ...
-1
votes
1
answer
104
views
Circuitikz: How to draw an electromagnetic relay? [closed]
How to draw an electromagnetic relay in circuitikz similar to the one in the figure?
3
votes
2
answers
233
views
Align vertically 2 circuits
I'm currently at 8th grade working on circuits and I'm taking notes with LaTeX and CircuiTikZ. The problem is that I have 2 circuits, but one is vertically bigger than the other, and so I don't know ...