Skip to main content

Questions tagged [circuitikz]

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

Filter by
Sorted by
Tagged with
0 votes
1 answer
45 views

Writing Tikzpicture/Circuitikz in HTML

I want to display this electric circuit diagram in HTML using Latex, how can I do this? \begin{circuitikz}[scale=.7, american voltages, voltage shift=0.5] \draw (0, 0) to[battery, l_={$V, r$}] (...
Qing Hong Boon's user avatar
2 votes
1 answer
49 views

Is there any way to draw a circuitikz bipole component between two points, but closer to one end?

Circuitikz draws components with beautiful symmetry between the endpoints, but what if I don't want the component centered? If I want to move the resistor closer to the top or bottom in the diagram ...
Jason S's user avatar
  • 2,880
2 votes
1 answer
49 views

how can i adjust the position at which the wire splits? and how to make a single wire splits into two wires seemlesly?

for example, I have the wires that run from the node b_2 which I want it to split to both label_g2 and XOR1.in 1, currently, I have 2 things I don't like about it: I have to do it with two different \...
Nate3384's user avatar
  • 197
0 votes
1 answer
73 views

Is there a Tikz or Circuitikz headphone jack connector diagram?

A Tikz or CircuiTikz headphone jack connector symbol like these here: https://en.wikipedia.org/wiki/Phone_connector_%28audio%29#/media/File:Phone_Jack_Symbols.svg A headphone jack connector is widely ...
Anisio Braga's user avatar
3 votes
1 answer
76 views

How to draw an up and down arrow on a closing switch in circuitikz

How can I draw an up and down arrow on a closing switch in circuitikz? Please see my current code, the output it produces, and the desired output below. Additionally, how can I add a comment "...
Marco Moldenhauer's user avatar
2 votes
1 answer
31 views

Customizing Arrow Length of Current Source in American-Style

I'm using LaTeX with the circuitikz package to draw circuit diagrams, specifically using the American-style components. I would like to customize the length of the arrow of a current source, but I'm ...
Andres Yenes's user avatar
1 vote
1 answer
39 views

How can I avoid two black dot in the circuit? [duplicate]

Here is the circuit code. I only want black dot at the intersection. However, it's at both end of the line segment. \documentclass[12pt,letterpaper]{article} \usepackage[left=20mm,top=30mm,bottom=...
kile's user avatar
  • 667
3 votes
1 answer
70 views

why's that line in circuitikz is behaving this way? and how do i fix it?

as you can see the horizontal line goes beyond where I want it to go instead of going straight down, I want it to go in the green path I've marked, how do I do it? and why in the first place I have ...
Nate3384's user avatar
  • 197
3 votes
1 answer
171 views

what would be the best way to wire these without it looking like a mess? (circuitikz)

simply doing it this way results in an unreadable mess, as you can see in the picture following it, I want to know if there's a better way of doing it without changing the pin order of the XNN ...
Nate3384's user avatar
  • 197
4 votes
2 answers
142 views

Tikz for CPU operation drawing/schematic

My aim is to visualize an ALU operation like this: What I have so far is: \documentclass[border=2pt]{standalone} \usepackage{tikz, circuitikz} \usetikzlibrary{chains, scopes} \begin{document} \...
olStckEx's user avatar
  • 449
1 vote
2 answers
105 views

Measurement elements [closed]

Do you know how I can draw this and implement it in an electrical circuit?
Jose G Lopez's user avatar
4 votes
1 answer
108 views

Body diode fill/stroke option for transistors

I need to change the format of body diodes in a given transistor, such that I can change it into a filled or stroked one, but I haven't found any documentation from the circuitikz package to do that. ...
Hartomes's user avatar
  • 157
2 votes
1 answer
81 views

Lines intersecting symbols in circuitikz

When I use: \documentclass[12pt]{report} \usepackage{graphicx} % Required for inserting images \usepackage{float} % For images inline \usepackage{amsmath} % For text in math \usepackage{geometry} % ...
Freddy Mcloughlan's user avatar
2 votes
1 answer
36 views

Vertically center circuitikz label/annotation (with zero depth)

When adding a label to circuitikz components, a strut is automatically inserted to ensure proper alignment between labels with/without ascenders and descenders. This is not always the desired behavior....
schtandard's user avatar
  • 15.4k
2 votes
1 answer
27 views

in lyx: preview of ert environment inside a table cell has weird bounds compared to the compiled output

In using the latest version of LyX (2.3.7) when I insert an ERT environment inside a preview, and all of that inside a table cell the output on the lyx file takes a huge part of the page length (I ...
Nate3384's user avatar
  • 197
4 votes
1 answer
83 views

Circuitikz - Label for component duplicated

I'm trying to recreate a small part of a circuit diagram for a lab report. I'm still a beginner to circuitikz and making tikz diagrams in general, but I think I'm starting to wrap my ahead around ...
BoomerangHunter's user avatar
0 votes
1 answer
35 views

what packages do i need to use in order for LyX to compile and render images made with mathcha.io?

I'm using LyX and I recently found out that mathcha.io lets you convert images and plots, which you can easily create, to tikz code. I tried using it but when compiling it only shows certain things; ...
Nate3384's user avatar
  • 197
-1 votes
1 answer
132 views

How to draw a quantum measurement in TikZ LaTeX

I want to draw a quantum measurement in TikZ LaTeX as the following image! Any ideas?
Nick Cooper's user avatar
2 votes
1 answer
100 views

Circuitikz with Labels on the right side

I'm trying to put all component values on the right side of the circuit. I have seen solutions with using label nodes in circuitikz but prefer to separate the two. I have only been able to come up ...
NicoAnde's user avatar
2 votes
1 answer
85 views

I need help drawing this electrical circuit with circuitikz

I'm new on Circuitikz. So, I need some help on drawing a little circuit for a lab report. I'd really appreciate if someone helps me. This is the circuit: I managed to do this: \begin{circuitikz} ...
Hunter S. Dogmpson's user avatar
1 vote
1 answer
35 views

Circuitikz: change current position in short

Is there a way of changing the position of the arrow for currents or flows in Circuitikz in a short component? For normal components you can use the order of ^ and > to achieve this (the first two ...
DraUX's user avatar
  • 555
1 vote
2 answers
28 views

Circuitikz: Access anchors for connection points of wire for inductors

I am trying to access the point of an inductor where the wire connects in circuitikz. I can't find a name for the anchors in the documentation (do they even exist?) and I tried to help me out with ...
DraUX's user avatar
  • 555
8 votes
1 answer
137 views

Cirkuitikz: How to only rotate alternating current symbol?

I'm tasked with correcting some minor issues with my recent lab report. One of those issues consists of a wrong orientation of the alternating current symbol; I know the wave is supposed to be aligned ...
Raiden's user avatar
  • 83
2 votes
1 answer
53 views

Line thickness in circuitikz looks bad when rasterized

Is there any way to make the line thickness uniform? \documentclass[border=2mm]{standalone} \usepackage{circuitikz} \usepackage{tikz} \begin{document} \begin{tikzpicture}[ every node/.style={font=\...
Jason S's user avatar
  • 2,880
2 votes
2 answers
124 views

CircuiTikz - Proper Labeling in narrow circuits

I aim to create a rather wide circuit, but have a problem of proper labeling my components. Is there a way to put those labels in the narrow free spaces? \begin{circuitikz}[] \draw (0,0) to[...
Jokarity's user avatar
1 vote
1 answer
29 views

How can I ensure current arrow a little bit far away from voltage source?

The current arrow is almost overlapped with test voltage here. \documentclass[12pt,letterpaper]{article} \usepackage[left=20mm,top=30mm,bottom=30mm,right=20mm]{geometry} \usepackage{tikz} % for ...
kile's user avatar
  • 667
5 votes
1 answer
244 views

How can I draw dashed line box in circuits?

The following is what I have tried. \documentclass[12pt,letterpaper]{article} \usepackage[left=20mm,top=30mm,bottom=30mm,right=20mm]{geometry} \usepackage{tikz} % for drawing pictures \...
kile's user avatar
  • 667
5 votes
1 answer
264 views

Why are markings of \$R_1\$ displayed everywhere in the circuit?

The marking of $R_1$ is display everywhere. \documentclass[12pt,letterpaper]{article} \usepackage[left=20mm,top=30mm,bottom=30mm,right=20mm]{geometry} \usepackage{tikz} % for drawing pictures \...
kile's user avatar
  • 667
3 votes
1 answer
61 views

What's the difference between \tikzset and \ctikzset?

The fine Circuitikz Manual shows extensive examples of \ctikzset to specify styles for lots of things (my PDF search shows 87 pages with \ctikzset on it). But, page 22 confuses me. There, \ctikzset ...
Bill Nace's user avatar
  • 389
2 votes
1 answer
43 views

How do I reduce the +- symbols on American voltage sources with the bipole length reduced?

I can reduce the bipole length, but the +/- signs on American voltage sources don't get smaller. How can I reduce those also? \documentclass[border=1.5mm]{standalone} \usepackage{tikz} \usepackage[...
Jason S's user avatar
  • 2,880
1 vote
2 answers
40 views

How to ignore some indentations or not to display indentation symbols in showexpl LTXexample?

Sorry for the basic question. I'm practicing how to use circuitikz, meanwhile I want to show the process of code and output. For the elegant of LaTeX source code in pdf what I want to do is to ignore ...
Jason Haynes's user avatar
-1 votes
1 answer
54 views

T-typ neutral point inverter i want to draw the image using Tikz [closed]

can anyone help me draw this circuit please i need it urgently
Ngouana derrick lambert's user avatar
0 votes
1 answer
51 views

How do I display "R_1" INSIDE the resistor-'block', AND showing the value outside the resistor? (circuitikz)

How do I display "R_1" INSIDE the resistor, AND showing the value outside the resistor? \documentclass[]{standalone} \usepackage{circuitikz, siunitx} \begin{document} \begin{circuitikz}[...
Alex Madsen's user avatar
1 vote
1 answer
73 views

TikZ, customize symbol of operational amplifier

In TikZ (used including the package circuitikz), the code \draw (0,0) node[op amp] (OA1) {}; creates an operational amplifier with its standard shape. I would like to customize it, for example adding ...
BowPark's user avatar
  • 1,213
1 vote
1 answer
56 views

How can I join these three figures in a single document?

I have problems when using scope in circuitikz. \documentclass{standalone} \usepackage{tikz} \usepackage{circuitikz} \usepackage{siunitx} %Inicio Preambulo \ctikzset{% monopoles/vcc/arrow={Triangle[...
Jose G Lopez's user avatar
4 votes
1 answer
160 views

European Relay with Circuitikz

How can I draw an european relay like in the following image with circuitikz. I am not able to find it in the circuitikz documentation.
Jana's user avatar
  • 43
5 votes
0 answers
134 views

Node text color not inherithed in xelatex (but inherited in pdflatex and lualatex)?

My last update to circuitikz popped up a strange thing that drove me crazy: if you look at page 78 of the manual for 1.6.7, you can see that the voltage source sign does not follow the color of the ...
Rmano's user avatar
  • 42.2k
1 vote
1 answer
43 views

circuitikz - dcvsource scale symbol

I would like to scale the symbol for dcvsource thus I try to use this snippet code: \ctikzset{bipoles/dcvsource/scale=0.8} \draw (A8) node[circ]{} to[dcvsource, l=\(V_1\)] (A10) node[circ]{}; but ...
JardaFait's user avatar
  • 3,974
2 votes
2 answers
99 views

Circuitikz: make only the line thicker towards the component, not the component itself

I'd like to make the line towards Rprobe thicker, but not the resistor itself \documentclass[border=6pt]{standalone} \usepackage[siunitx]{circuitikz} \begin{document} \begin{circuitikz} \draw ...
MrI2C's user avatar
  • 125
4 votes
3 answers
268 views

circuitikz: rotate labels 90° and place on both sides

\documentclass{standalone} \usepackage[siunitx]{circuitikz} \begin{document} \begin{circuitikz} \draw (0,0) to[V, v=$10V$,invert] (0,6) -- (2,6) to[R, l_={$ \SI{100}{\kilo\ohm}$},] (2,3) ...
MrI2C's user avatar
  • 125
4 votes
1 answer
80 views

Connecting Two Anchors Horizontally from Different Shapes

I have defined two shapes: myComponent1, which includes two anchors (PinA and PinB), and myComponent2, which includes one anchor (PinA). I am seeking guidance on how to directly connect PinA from ...
Marco Moldenhauer's user avatar
2 votes
1 answer
62 views

Current arrows on nmos terminals

Is it possible to have individual current arrows on each of the three terminals of an NMOS device in Circuitikz? I have only seen it on a path-like object with the i=... option.
Simon T.'s user avatar
3 votes
1 answer
181 views

Circuitikz and transformer core in ConTeXt

I discover that circuitikz is available in ConTeXt, and since it is way more complete than the circuits.ee.IEC tikz library, I am considering switching to it. However, I can't display a transformer ...
A. Licari-Guillaume's user avatar
3 votes
2 answers
192 views

Circuitikz and perpendicular coordinates in ConTeXt

I have a compilation error when I try to use perpendicular coordinates in circuitikz with ConTeXt : \usemodule[tikz] \usemodule[circuitikz] \ctikzset{current=european, voltage=european, resistor=...
A. Licari-Guillaume's user avatar
3 votes
2 answers
107 views

How to put the text at Vin at the bottom of M1 gate

The following is my code. \documentclass[12pt,letterpaper]{article} \usepackage[left=20mm,top=30mm,bottom=30mm,right=20mm]{geometry} \usepackage{tikz} % for drawing pictures \usetikzlibrary{...
kile's user avatar
  • 667
3 votes
1 answer
167 views

How to avoid mirror text \$M_2\$

The following is my tex code. \documentclass[12pt,letterpaper]{article} \usepackage[left=20mm,top=30mm,bottom=30mm,right=20mm]{geometry} \usepackage{tikz} % for drawing pictures \usetikzlibrary{...
kile's user avatar
  • 667
2 votes
2 answers
171 views

Jump crossing in circuitikz

I wanted to draw a jumping node to the intersections of leg1 and voltage. If you can run the code you will probably understand why I mean. I tried to[crossing] and naming the intersection point then ...
Barbaros Teoman Kosoglu's user avatar
3 votes
1 answer
107 views

Circuitikz - aligning nodes

I was drawing circuit in tikz and find problem. First problem: I am not able to align verticaly open nodes on the left. Is there simple solution for that? Second problem: Is there way to get for ...
duck67's user avatar
  • 33
2 votes
2 answers
158 views

TikZ and CircuiTikZ Graph Discrepancies and Proposed Solutions

Here is what I have right now: \documentclass[12pt]{article} \usepackage{siunitx} \usepackage{amsmath} \usepackage[margin=1in]{geometry} \usepackage[american,siunitx]{circuitikz} \usepackage{tikz} %\...
Superman's user avatar
  • 1,625
2 votes
1 answer
58 views

Graph Not Displaying Correctly

I am working on a circuits homework, and I'm trying to draw a graph. In a graph, I'm trying to draw a curvy line with an arrow in the middle with the label. Here's what I have: \begin{center} \...
Superman's user avatar
  • 1,625

1
2 3 4 5
24