Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.

Questions tagged [circuitikz]

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

Filter by
Sorted by
Tagged with
3 votes
1 answer
37 views

How can I add a capacitor and ground to the supply voltage of OPAMP?

I am new to LaTeX and currently trying to redraw this Schematic via Circuitikz, which my Professor drew in class by hand. For some reason I cannot get the capacitor and ground on both supply voltages ...
user avatar
4 votes
2 answers
355 views

How can I place two circuit diagrams next to each other?

I made these two circuit diagrams: But I don't want them to be one above the other, instead I want them to be ''in the same line'' if that makes sense, one next to the other. I tried the multicolumn ...
user avatar
  • 95
0 votes
1 answer
30 views

Seven segments anchors, how to use them?

I had a hard time figuring this one out so I thought I may ask my future self about how to use the seven segment anchor points in Circuitikz. In the document this is all I find on the topic:
user avatar
1 vote
1 answer
40 views

Use datatool to create circuitikz IC documentation from external file

I'm hoping to store data for N number of integrated circuits in simple CSV files and have the corresponding file drive the LaTeX document upon compile. See my MWE below and you see what I like to ...
user avatar
1 vote
1 answer
43 views

Drawing logic level diagrams (not circuits) [duplicate]

Is there a package or tikz macro I could use to make something like this: I'm looking for a way to create the "high"/"low" zig zag line.
user avatar
2 votes
1 answer
82 views

How do you draw a motor using circuitkz?

How do you add a motor to this circuit diagram? I could do most of this circuit except the motor part. Below is what I am trying to copy in LaTeX vs my code. The last line in Circuitikz produces an ...
user avatar
  • 21
1 vote
1 answer
64 views

Transorb symbol in circuitikz

A voltage supressor like the transorb diode is frequently used in circuits complementing gas filled surge arrester. Following is an improvised symbol version using Circuitikz. The problem is that a ...
user avatar
2 votes
1 answer
61 views

proximity symbol in Circuitikz

A proximity symbol would be nice to have in Circuitikz. Here are examples: https://knowledge.autodesk.com/support/autocad-electrical/learn-explore/caas/CloudHelp/cloudhelp/2019/ENU/AutoCAD-Electrical/...
user avatar
5 votes
2 answers
153 views

How to color individual paths differently in CircuiTikz?

I've produced the following code: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{circuitikz} \begin{document} \maketitle \begin{circuitikz} \draw (2,2) node[nand ...
user avatar
1 vote
2 answers
58 views

Drawing with a corner using `to`

I know that I can connect the points (0,0) and (1,1) using a horizontal then a vertical line using \draw (0,0) -| (1,1); Is there any behavior that allows one to do this using the to command? \draw (...
user avatar
1 vote
1 answer
47 views

Overlap Circuitikz and Pgfplots figure

My problem today is to get to fit an electrical circuit (drawned using mainly \draw) into a Tikz Axis. I am using the Axis command to plot (using \addplot) a curve from a set of points (no problems so ...
user avatar
-1 votes
1 answer
58 views

I am unsure how to get the resistors in parallel from a point. The LHS part is the one I am struggling with

This is what I have done so far. \begin{circuitikz} \draw (0, 0) node[op amp] (opamp) {} (opamp.-) to[short,-*] ++(-1, 0) coordinate(A) (opamp.+) node[ground](B){} (opamp.out) to[...
user avatar
1 vote
1 answer
63 views

Buzzer symbol in circuitikz

I miss the symbol for a buzzer in circuitikz. The labeling and orientation for the buzzer should work like the "push button". The "legs" in the symbol should be part of the symbol. ...
user avatar
1 vote
1 answer
30 views

CircuiTikZ error: Package pgfkeys Error

I am new to CircuiTikZ and I am trying to start with very simple diagrams. I have been given a preamble and the relevant parts of it for CircuiTikZ seem to be \usepackage[americanresistors,...
user avatar
11 votes
1 answer
215 views

Add ports for flipflop in Circuitikz

I've got this so far: \begin{circuitikz} \node[flipflop D] (D) at (2,0) {}; \node[flipflop T] (T) at (6,0) {}; \node[flipflop JK] (JK) at (10,0) {}; \draw[SkyBlue] (D.pin 4) -| (3.8,0) |- (T.pin 1); \...
user avatar
1 vote
1 answer
59 views

Draw circuit with labels

I want to create the following circuit Can someone help me because I have no much experience with Latex. Especially, how can I obtain the yellow colour in the right hand side of the picture. Thanks ...
user avatar
  • 387
1 vote
1 answer
96 views

Drawing Intelligent Reflecting Surfaces in LaTex

How to generate in LaTeX (TikZ or something similar) the following image: 1-IRS (a planner surface that is gridded) I wrote This code but I don't know how to tilt it; \begin{center} %\fbox{ \begin{...
user avatar
1 vote
1 answer
29 views

Is it possible to resize a block component for CircuitTikz in Latex?

I'm struggling to change the width/height of a directional coupler component provided by CircuiTikz package. Its code is given by: node [coupler2, rotate =90, scale = 1](d.c){}; which produces the ...
user avatar
2 votes
1 answer
50 views

Circuitikz - Adding adjustable / variable indication arrow to component

I'm trying to create an RF block diagram using circuitikz and was wondering what the best way of adding an arrow to indicate that it has an adjustable/variable parameter would be. E.g. turn this \node[...
user avatar
0 votes
1 answer
28 views

How can I create a three variable port AND (logic circuit)

experts of TikZ. I'm trying to do a simple thing: create the logic circuit S=A.B.C with three lines entering the AND port (not two!). I thank you in advance, legendary heroes! Edit.: All I can do is ...
user avatar
  • 129
1 vote
2 answers
53 views

circuitikz: Change the scale of a label

I would like to be able to highlight the text of a label of a component for example by increasing the size of the text. How can I do ? Thank you
user avatar
  • 659
3 votes
3 answers
252 views

Drawing diamond lattice

How do I draw \documentclass[12pt,a4paper]{article} \usepackage{graphicx} \usepackage{circuitikz} \usepackage[utf8x]{inputenc} \usepackage{tikz} \begin{document} \begin{circuitikz} ...
user avatar
3 votes
1 answer
110 views

CircuiTikz bug - unwanted point shift

I have been working with CircuiTikz recently and I have encountered an unwanted feature. Here is my MWE : \documentclass[10pt]{article} \usepackage{pgf} \usepackage{tikz}% dessin \usepackage[...
user avatar
  • 1,100
1 vote
1 answer
46 views

How do you code the following logic gate circuits?

How do you code the following logic gate diagrams? My current attempts: \begin{circuitikz} %Top OR Gate \draw (0,-1) node[label = left:$A$] {} to [short] ...
user avatar
0 votes
1 answer
61 views

How to do the latex code for the following op amp circuits?

I am unsure about how to code op amp circuits. Can someone please help me code this ASAP ?
user avatar
0 votes
0 answers
20 views

How to Typeset This RC and RL Circuits [duplicate]

Please, I need the latex code that will typeset the following circuits. I will be grateful if help in this regard is rendered. Please I don't even know how to start. Help me.
user avatar
1 vote
1 answer
55 views

What is the unit of width and height in circuitikz?

\ctikzset{quadpoles/transformer core/inner=1,quadpoles/transformer core/height=2, quadpoles/transformer core/width=0.6} What are the units of the 2 and 0.6 here?
user avatar
1 vote
1 answer
55 views

Option add a node to any point in a circuit?

Was wondering if there is a way to add a node to a circuit drawn with "circuitikz" at any point. However, if I would, for example, change the bottom-left node of my circuit to point ...
user avatar
  • 13
1 vote
1 answer
44 views

How to use circuitikz command inside latex new command?

I want to make a new command in circuitikz which creates a bus line with an arrow at the end. The code is the following: \newcommand{\busLineWithArrow}[3]{\draw (#1) \to[multiwire=#3] (#2) [arrow];} \...
user avatar
  • 13
1 vote
1 answer
54 views

Circuitikz (the new version 2020/02/05) not recognizing node names

My problem is straightforward, I copied the below code from the package and ran the code, but I keep getting the attached error in the picture. \documentclass{minimal} \usepackage{tikz} \usepackage[]{...
user avatar
  • 973
2 votes
1 answer
44 views

Decorations on circuitikz elements

I was trying to create a schematic with TikZ that looks like hand drawn. Unfortunately circuitikz seems not to work nicely with the decorations library. See the following example: \documentclass{...
user avatar
  • 455
1 vote
1 answer
31 views

circuitz node connection problem

I'm having trouble making a 3-way node using relative coordinates. Op-amps have fractional coordinates and I find it is easier to connect to using relative coordinates, but this diagram has a ...
user avatar
2 votes
2 answers
71 views

tikz shorten with circuitikz

in circuitikz double bipoles are drawn as nodes (not via to[...]), but sometimes one needs voltage arrows for double bipoles as well. As I didn't find a way to do this directly (with circuitikz), I ...
user avatar
  • 393
2 votes
2 answers
78 views

circuitikz, battery symbol changes

When I make a simple circuit containing a cell with to[battery2, V=$1.5V$] and a resistor (R), I get the circle for the battery symbol: \documentclass{article} \usepackage{circuitikz} \begin{document}...
user avatar
  • 21
1 vote
1 answer
52 views

circuitikz doesn't draw transmission line with overlay option

Consider the following MWE. \documentclass{article} \usepackage{circuitikz} \begin{document} \begin{circuitikz} \draw (0,0) to [TL] (2,0); \end{circuitikz} \begin{circuitikz} [overlay] \draw (...
user avatar
  • 12.5k
1 vote
1 answer
99 views

Circuitikz custom symbol

I want to reproduce the circuit below: How can I reproduce the circulator symbol? Circuitikz have some thermodynamic symbols library? My code: \documentclass{standalone} \usepackage{circuitikz} \...
user avatar
4 votes
1 answer
188 views

Transistors inconsistent anchors

The nmos and pmos transistors have different placements for their source and drain anchors (for nmos, drain is on top and source on bottom; for pmos, source is on top and drain is on bottom). Why is ...
user avatar
3 votes
1 answer
91 views

Arc arrow to indicate a loop of electric flow

I would like to draw an electric circuit diagram that looks like this: I am suffering from those circular flows $i_1(t),i_2(t)$ (I drew them in red to point out; they actually don't need to be ...
user avatar
3 votes
1 answer
66 views

AC/DC converter with multi ports

I want to reproduce the following circuit: My question is about how I make the AC/DC converter with 3 and 2 input and output ports, respectively? My code and respective output: \documentclass{article}...
user avatar
2 votes
1 answer
57 views

Black rectangle instead of an inductor in CircuitTikZ

I am trying to get an european inductor with CircuitTikZ with opposite arrows for current and voltage, but I am getting a black rectangle instead. The minimal code is as follows: \documentclass[...
user avatar
2 votes
1 answer
42 views

Circuitikz: using sans-serif fonts for text

I want to make all the text on my circuit diagram to be in a sans-serif font. Does anyone know how I would do this? THanks \documentclass[twoside,12pt]{article} \usepackage[a4paper, left=1in, top=1in, ...
user avatar
  • 45
5 votes
1 answer
156 views

Elegant solution to place a circuit element in middle of path in circuitikz/tikz

Consider the following MWE \documentclass[border=0.5cm]{standalone} \usepackage{tikz} \usetikzlibrary{calc} \usepackage[betterproportions]{circuitikz} \begin{document} \begin{circuitikz}[line width=...
user avatar
  • 153
2 votes
1 answer
75 views

Positioning two boxes inside a LC circuit in Circuitikz

I am trying to introduce two boxes inside an LC circuit, but I encounter two problems: the first concerns the positioning of these two boxes, I cannot align them perfectly with the node, I cannot find ...
user avatar
2 votes
1 answer
41 views

Conflict between circuitikz and babel french

When I add the reference to the french babel package my code can't compile. Here is a MWE. I have searched for a solution during hours but I failed. \documentclass{article} \usepackage[french]{babel} %...
user avatar
0 votes
1 answer
72 views

Drawing a servo loop with Circuitikz [closed]

I would like to draw this with Circuitikz. I am having trouble adding the V_in sign and the left differential amplifier. I cannot invert the positive and negative output signs. Your help would be ...
user avatar
0 votes
1 answer
43 views

Circuitikz buffer port has not "up" anchor

I was trying to create a circuit that uses a buffer that "doubles" the output (one is negated, the other is not). In essence, something like this: but with horizontal up and bottom ...
user avatar
2 votes
1 answer
126 views

Circuitikz three-terminal linear regulators

I've been trying to draw the schematic of a linear power supply using a three-terminal linear regulator. As you can see, I have succeeded with the regulator. Sort of: However, the code that I'm using ...
user avatar
1 vote
0 answers
84 views

Error compiling when I use "circuitikz" package. Error message: !Undefined control sequence \pgfutil@protected [closed]

I'm having some problems with "circuitikz" package. When I try to use it TexStudio gives me the following error Undefined control sequence. \pgfutil@proteced. The code works correctly but ...
user avatar
2 votes
1 answer
62 views

How to place an op amp using the input anchor's position?

I have a circuit that consists of a few components, and would like to know how can I draw an op amp without knowing the center position of the op amp. Here is the code I currently have Note: This is ...
user avatar
2 votes
3 answers
89 views

Floating gate mos with circuitikz

We've covered in a digital electronics class the floating gate mos used to construct EPROMs. I have searched in the circuitikz documentation but I've found no way of drawing it. I am pretty new to ...
user avatar

1
2 3 4 5
20