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.

2
votes
1answer
38 views

Making a custom circuit element in circuitikz

I am writing intro physics exams in LaTeX, using the circuitikz package to make circuits. A lot of the circuits use simple light bulbs, which we represent as a circle with a curly-cue inside. ...
3
votes
1answer
34 views

Retrieve the name of the key in a pgfkeys .code macro

Just to focus the problem, I am thinking of reducing the numbers of parameters of the circuitikz package into a reasonable ballpark; now for example each one of the 30+ generators have a different key ...
6
votes
1answer
57 views

CircuiTikZ: How to create professional wiring diagram borders?

Assumed we have this Minimum Working Example (MWE): \documentclass{article} \usepackage{tikz} \usetikzlibrary{circuits.ee.IEC} \begin{document} \begin{tikzpicture}[circuit ee IEC] \draw (...
4
votes
2answers
68 views

Possible runaway argument using circuitikz

The following MCVE code originates a Runaway argument? error during compilation time (using pdfLaTeX). If the last line before ending tikzpicture (that is,(errtest.center) to[kinky cross=(nmos9.drain)...
3
votes
2answers
107 views

CircuiTikZ: How to draw contactor coil?

It seems the amazing package CircuiTikZ is mainly focussed on electronics or circuit boards. However, sometimes it is necessary to draw some contactor coils for relais, contactors etc. what is not ...
1
vote
1answer
35 views

How can I draw a symbol like below for transformer by using circuitikz?

Hello all I hope you are doing well. I am using circuitikz to draw the electrical circuit. now I need to draw a transformer symbol like below, but I don't know how to use it. Can you help me?
1
vote
1answer
42 views

Alignment of DIP chips in CircuiTikZ

I want to use circuitikz to make a breadboard layout. Preamble: \tikzset{ open socket/.style = { circle, fill = lightgray, inner sep = 1pt }, filled socket/.style = { circle, ...
5
votes
2answers
66 views

Block diagram in electrical circuit

I'm new to LaTeX and I don't know how to put a block diagram in an electrical circuit. I'm all done with it except the block with G. Here is my code : \begin{circuitikz}[scale=3] \draw (0,1.5) ...
2
votes
3answers
62 views

Draw dipoles and tripoles with blocks

In order to draw a circuitikz picture with a transformer, I have to draw the transformer first, as in the following code. %Flyback \begin{circuitikz}[scale = 1.5] \draw (0,0) node[transformer, ...
2
votes
1answer
27 views

Curve between two point in circuitikz

How can I draw a arrow edge curve over two node or between two point in circuitikz. I have added MWE... \begin{circuitikz} \draw (0,0) to [twoport,t=G,v^<= .] (2,0) (2,0) -- (4,0)node[anchor=...
1
vote
0answers
64 views

Correct way to draw the diagram using circuitikz

Can any one draw this circuit using circuitikz? I have drawn the figure but I don't know how to draw the arrow above the two ports as in the diagram. \begin{circuitikz} \draw (0,0) to [twoport,t=G,...
4
votes
1answer
111 views

New circuitikz is here! And first problem too

I update my MikTeX yesterday and got new version of the circuitikz package! I immediately made short check, if my old circuitikz pictures work as at old packet version. So far all test except one ...
2
votes
2answers
32 views

make top of circuitikz diagram align with top of item label within enumerate

\begin{enumerate} \item \begin{circuitikz} \draw (2,3) node[and port] (myand) {} (4,1) node[or port] (myor) {} (myand.out) -- (myor.in 1); \end{circuitikz} \end{enumerate} is currently ...
4
votes
2answers
75 views

labelled end points on logic diagram

I want to make a diagram like this: see the labelled endpoints, A, B, C, Y. Currently my code: \documentclass{article} \usepackage{circuitikz} \begin{document} \begin{circuitikz} \draw (0,2) node[...
2
votes
2answers
44 views

(Circuitikz) How to draw SP3T Switch

I am using Circuitikz and trying to get a SP3T switch. I was wondering if anyone knew a solution for either what the node format (node[spdt]) is or if there is another way. I've already combed through ...
3
votes
1answer
39 views

circuitikz: setting color using \pgfmathparse

\documentclass[a4paper]{article} \usepackage{tikz} \usepackage{circuitikz} \usetikzlibrary{shapes.geometric,arrows,shapes,decorations.markings} \begin{document} \begin{circuitikz} [american ...
4
votes
2answers
88 views

Changing the lines of the arrowhead in circuitikz

First of all, this is a crosspost from the german website golatex.de. I am hoping another set of eyes on it might help find a solution. If I draw two voltage sources with circuitikz and the second ...
0
votes
0answers
36 views

Node position adjusting with math

It's been a while and I'm getting back into circuitikz. I'm trying to make a simple block diagram, here is my code. \begin{tikzpicture}[auto, node distance=3cm,>=latex'] \node [input] at (0,0) (...
1
vote
1answer
67 views

Simple capacitor diagram Circuitikz

I want to draw this diagram: I wrote the following lines to draw something similar: \begin{circuitikz}[american voltages] \draw (0,0) to [polar capacitor, invert, l=$C$, *-*, f=$i$, v_=$v$] (...
5
votes
1answer
57 views

Odd minus style when drawing american voltage

Looking closely at the image produced by circuitikz, I find that the minus sign of an american voltage looks rather odd. The alignment seems off and the sign seems much too wide. Is there a way to ...
1
vote
1answer
42 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
86 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$] (...
4
votes
1answer
64 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) ...
0
votes
1answer
42 views

Drawing Electrical diagram using circuitikz_ [closed]

Please kindly help. I can't get a hang on this using latex.
4
votes
1answer
71 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
3answers
86 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
66 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
61 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
54 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 ...
1
vote
1answer
40 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
50 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{...
1
vote
2answers
77 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
80 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
59 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... ...
4
votes
1answer
159 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,...
2
votes
1answer
154 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
336 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
71 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
159 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
51 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
390 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
113 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
105 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
44 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
33 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
318 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
104 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
174 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
96 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{...