Episode #125 of the Stack Overflow podcast is here. We talk Tilde Club and mechanical keyboards. Listen now

Questions tagged [circuits]

{circuits} are networks of interconnecting elements, most commonly electrical circuits.

109 questions
Filter by
Sorted by
Tagged with
85 views

Electric Circuit PsTricks

Good morning, I'm currently learning to make figures with PsTricks, but the documentation, as well as books and examples are very poor as usual. I would like to make this circuit (in LaTeX, with ...
27 views

Changing the current direction arrow in TikZ' circuits.ee library

I want to change the arrow tip used for indicating the current directions in TikZ' circuits.ee library (first path in the MWE below) to something else, say the Stealth tip (second path in the MWE). In ...
34 views

Drawing a simple combinatorial circuit with circuitikz

I'am having problems creating this simple combinatorial circuit with circuitikz: I don't know how to link the ports between them and how to put the ports in a particular position. Can someone help ...
49 views

Help with drawing quantum circuit

I was looking for a little help or direction to more examples of drawing quantum circuits using tikz similar to http://texample.net/tikz/examples/quantum-circuit/? Starting with the above link i ...
51 views

Small handlers at end and beginning

I want to draw several diagrams for boolean circuits, as $w + x(y + zx')$. Is there a Tikz's library to draw this component? I'm sure there is a right way to do it but can't find anything in circuits ...
67 views

circuit as a theorem box

Is it possible to have a circuit as a theorem-definition box, using circuits.ee.IEC or something similar (e.g. CircuiTikZ)? I want: to have a text inside the circuit, the circuit's width fixed at 0....
374 views

Wires do not connect in Circuitikz

I've been trying to use relative coordinates to make my drawings more precise but it seems I don't know how the command \node works since I've been having this problem while connecting a circuit ...
69 views

Transmission Line as a Quadrupole in Circuitikz

How do I realize a circuit with a trasmission line as a quadrupole (quadripole?) like the one in the picture (from Wikipedia)? The standard versione is just a single cylinder which means I would ...
90 views

Color qubit lines using QCircuit

I'd like to color some qubit lines in quantum circuit diagrams drawn using QCircuit as exemplified in the following image: Can this be done with Qcircuit? As a follow-up, is it possible to do some ...
85 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)...
177 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 ...
74 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, ...
105 views

Formatting in quantikz circuit diagram

How do I club these wires under the class named 'MY TERM', do I use gateinput. This is the code: \begin{quantikz}[row sep={0.7cm,between origins}] \lstick{\ket{\tilde{C}^0_{ijk}}} &\qw &\qw &...
237 views

TikZ: Piping and instrumentation diagram (P&ID) shapes available?

To draw electrical wiring schemes in TikZ the nice package circuitikz is available. However, is there something similar existent for drawing piping and instrumentation diagrams? Example of such a ...
64 views

is there a package for schematic representation of Arduino?

i need to represent a circuit containing Arduino, i'm new to circuitikz and to latex, so i'm not able to code a complex circuit component.
104 views

Drawing logic circuits using circuit_macros

I am trying to draw a circuit logic diagrams using circuit_macros and it is not straightforward for me. I just read the manual of circuit_macros and then some of the publicly available examples at ...
86 views

Drawing example circuits with circuit_macros

At Circuit_macro examples, Version 8.9.3 webpage, example codes are shared with the outputs. I am trying to draw transformers, especially the one on the following picture: Then, I copied the code of ...
115 views

Create transfomer symbol consisting of two circles

I am drawing a simple power system in a single line diagram and want to define a shape for a transformer, which looks like two partly overlapping circles. I have already defined styles for generators ...
65 views

How to improve the creation of digital circuits in PGF?

I am currently designing a piece of hardware and wanted to document this in a Latex document. Luckily, there is circuitikz and pgf to work with. The building block I am interested in are not included ...
260 views

Properly installing circuit_macros on a Windows PC

I want to use circuit_macros, a tool for creating circuit diagrams using M4 macros written by Dwight Aplevich. I am using Windows and face problems since most of the avalaible documentation are for ...
358 views

Draw Circuit Diagram

I am trying to draw this diagram and I got stuck in Antenna text position. In addition I am not happy with semicircle antenna draw. I am also missing curved arrow inside the circle. Can you some one ...
138 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. \...
216 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) ...
133 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{...
96 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[...
582 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{...
143 views

How can I draw a square wave function on the screen of this tikz-generated oscilloscope?

Here is an oscilloscope which is entirely generated by tikz. I just copied it from texample.org and modified the code a little bit. I am now trying to draw a square wave function on it and I am stuck ...
234 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 ...
173 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}...
92 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 ...
158 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 ...
994 views

How to customize this oscilloscope picture?

This is an oscilloscope picture which I copy-pasted from texample.net I modified the code a little bit and now, I am stuck with two things: I would like to draw some probes that are connected to the ...
206 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 ...
70 views

Orientation of negative polarity notation in voltage source when connected diagonally

Follow up of this question. MWE is give below: \documentclass[border=3mm]{standalone} \usepackage{tikz} \usetikzlibrary{circuits.ee.IEC} \usepackage[american voltages, american currents, siunitx]{...
75 views

Orientation of negative polarity notation in voltage source when connected horizontally

This question is related to this question but I could not get the satisfactory output. My MWE is given below: \documentclass[border=3mm]{standalone} \usepackage{tikz} \usetikzlibrary{circuits.ee.IEC}...
424 views

How to draw Logic gates like the following :

I would like to draw the following logic gates. Actually I'm new in latex, so I have no idea how to draw it in latex. I can Draw this in Adobe photoshop, but I know latex produces better image ...
517 views

Drawing switching circuit in LaTeX?

I want to draw the following switching circuit? After googling I have found the linkhere, but I can not able to draw the required diagram. Updated : \documentclass{minimal} \usepackage{...
263 views

Drawing a transformer with multiple windings with circuitikz

I'm trying to draw a transformer with multiple windings with circuitikz similar to the figure shown here (except I'd like to have multiple primary windings and a single secondary winding): (Source: ...
288 views

How to draw arrows to circuits in LaTex?

I need to draw a arrow with power flow direction in my circuit. Anyone can help me ? My Code: \documentclass[border=3mm]{standalone} \usepackage[siunitx,american]{circuitikz} \usetikzlibrary{arrows....
1k views

How to create complex op-amp diagrams with Circuitikz

I am familiar with LaTeX but semi-new to Circuitikz. I am comfortable creating simple diagrams with nodes and bipolar, however combining them with op amps is difficult for me. I am trying to replicate ...
64 views

Optimizing & fine tuning circuitikz diagrams

Attached below is a pair of logic circuit diagrams that I've put together. The first is the original, pieced together from SVGs and PDF annotation tools. The second is my attempt to replicate the ...
99 views

Circuitikz - NC push button

I want to add a normally closed push button schematic sign in a circuit. I'm a beginner in circuitikz and I couldn't find how to do it directly, only by modifying... Can someone help me? Thanks in ...
224 views

How to draw Decoder (Add in/out pins)

I'm new in Latex, I try to draw an decoder and I don't know how to add the inputs/outputs (like the image). Decoder 2:4 2 inputs 4 outputs \documentclass{article} \usepackage{circuitikz,siunitx} \...
188 views

How to draw circuit logic (align the outputs)

I want to align the outputs of the ANDs (red) and write in the gates. I use the following code: \documentclass[border=3mm]{standalone} \usepackage{tikz} \usetikzlibrary{arrows,shapes.gates.logic.US,...
256 views

How to draw MUX 8:1

I have to draw an multiplexer 8:1 exactly the same as in the picture using Latex. I followed this link but I have trouble adapting it to my image (link and rename inputs). \documentclass{article} \...
138 views

3 poles Thyristor ploblem in circuitikz

I can't understand placing a 3-poles something in the circuit. there is a little circuit and I know it's not the good way to make a circuit but I want you to show me to change the hey C with a npn ...
723 views

SCR (aka thyristor) symbol in TikZ circuit

I want to use the SCR symbol in a circuit drawn with TikZ library circuit. I'm able to write a tikzpicture similar to the image below but I don't know how to draw a TikZ circuit symbol (with anchors ...
65 views

tikz circuits: how to adjust color of annotation

I defined an annotation for make contact symbol. It works well but I have a hard time overriding the color of annotation when I use the symbol. I checked, the same is the case for light emitting ...