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 [tikz-circuit-lib]

{tikz-circuit-lib} concerns the circuit library for TikZ-pgf

2
votes
1answer
75 views

How can I circumvent this TikZ circuits bug when placing symbols at start or at end?

In the following MWE (essentially taken from page 603 of the pgf manual), when I try to place the symbols at start and at end, two unintended effects occur: In each symbol there is an extra line ...
-1
votes
1answer
41 views

Drawing Electrical diagram using circuitikz_ [closed]

Please kindly help. I can't get a hang on this using latex.
5
votes
2answers
334 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 ...
2
votes
2answers
160 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) ...
1
vote
1answer
120 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 ...
1
vote
0answers
55 views

Problem with the circuitikz environment inside a wrapfigure not displaying the image

I'm trying to insert a circuit that I've drawn using circuitikz in a wrapfigure environment, but it gives me some error and it doesn't display the circuit. Here is a MWE: \documentclass[12pt]{...
2
votes
0answers
99 views

package chemfig does not work with tikzlibrary circuits.pid.ISO14617

Using tikz and have a document with various libraries. In particular \usetikzlibrary{circuits.pid.ISO14617} works fine until I add \usepackage{chemfig} with \chemfig \documentclass[]{article} \...
2
votes
1answer
119 views

how to position the label in tikz circuit

I wish to be able to put the label of the contacts above or below in order to avoid the superposition \documentclass[border=7pt,10pt]{standalone} \usepackage[utf8]{inputenc} \usepackage{tikz} \...
1
vote
1answer
62 views

how to reverse the symbols and keep the alignment with tikz circuit

I want to draw an electrical circuit, inverting (mirror) the symbols of the contacts, but when I do, I lose the vertical alignment of the symbols and the lines are no longer horizontal. \...
3
votes
1answer
331 views

How can I produce this circuit on Latex?

I have no idea how to do a circuit with "off" itens like the S2 IGBT and diode D1 below. anyone can help me ? Here is My Code \documentclass[border=3mm]{standalone} \usepackage[siunitx,american]{...
1
vote
1answer
195 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} \...
4
votes
2answers
591 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 ...
0
votes
1answer
172 views

Use in TikZ a shape from Circuitikz [duplicate]

In the circuitikz package a specific element called sinusoidal voltage source is available (it is presented in the manual, page 18, first image). The code (or part of it) is in the tex/pgfcircbipoles....
0
votes
1answer
180 views

CircuitTkZ: how to mofidy nmos symbol?

I'd like to get the following mosfet symbol (depletion mosfet). I think it could be possible by modifiying the standard nmos (there's only a wider black line), but no clue how to do it. Could anyone ...
1
vote
0answers
900 views

CircuiTikZ code generator with OmniGraffle

I just read a thread on here about generating CircuiTikz code with OmniGraffle. I downloaded OmniGraffle and followed the instructions, but was not able to generate the tex-code. My question is: Can ...
1
vote
1answer
49 views

Incompatibility between 'tikzscale' and tikz 'circuits' library

I want to include a figure containing an electrical circuit in my file. To ensure the correct filesize I use tikzscale includegraphics command. However, this yields an error for some of the elements ...
1
vote
2answers
535 views

Using TikZ circuits library and CircuiTikZ in the same document

After some pocking around, I found some solution to use tikz libraries in the same document as circuitkz package. Or thought I did. I like the visuals of tikz logic (and the ability to have multi-...
1
vote
1answer
290 views

How can it be showed the Parallelogram Law of vector addition in a circuit made on circuitikz?

I want to show the resulting vector of the sum, v_{ab}, with the Parallelogram Law of the vector adition as it is showed on the first figure: The circuit was made on circuitikz. The code is the ...
3
votes
1answer
229 views

Using \pgfpointanchor in the background path of a circuit symbol shape

I have tried to create a circuit symbol for general sources as used in physics textbooks for high schools: \documentclass{article} \usepackage{tikz} \usetikzlibrary{circuits.ee.IEC,shapes.gates.ee} \...
1
vote
2answers
490 views

Tikz Digital logic diagram - Can I improve this

I wanted to draw an SR Latch using two NOR gates, with each input is branched out and fedback from other ones output. I tried this way, please suggest me any better method. I feel this micro ...
0
votes
1answer
527 views

Electric Circuits - tikz circuits library How to show loop current direction and Labels of resistor

I am struggling to find these in tikz documentation. How to label resistor (R above it and 3Ohm below). How to indicate loop current and indicate its direction as shown in the snapshot. \...
1
vote
1answer
203 views

Help to compile tikz circuits library example

Very elementary question. I am studying Tikz manual for drawing circuits. Please guide me to compile the example given in page no. 547. Sec47.1.1. \documentclass{article} \usepackage{tikz} \...
1
vote
1answer
261 views

TikZ circuits : how to define aliases

I am typing an awful lot of electrical circuits, and when I used LaTeX I used the circuitikz library, which has a simple and concise syntax. Now that I switched to ConTeXt, I have to use the TikZ ...
7
votes
2answers
2k views

How can I change the polarity of a voltage source?

`\documentclass{article} \usepackage{graphicx} \usepackage[american]{circuitikz} \begin{document} \begin{figure} \centering \begin{circuitikz} \draw (0,0) to[V,v=$...
4
votes
1answer
872 views

circuittikz colored current arrows

I'm currently working on my first circuittikz figure, and I've run into some problems. I would like to make the built in current arrows colored (red). Is there anyone who knows if this is possible? ...
2
votes
1answer
469 views

using “standard” circuits and tikzcircuits in the same document?

Are the "standard" tikz circuit library and circuitikz incompatible? Consider the following MWE: \documentclass{article} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{tikz} \...
1
vote
1answer
71 views

Some questions regarding tikz tree

I have a tree working written in tikz, however, it's not fully what I wanted it to look like \begin{tikzpicture}[level/.style={sibling distance=60mm/#1}] \node [circle,draw] (equal){$=$} child {...
3
votes
1answer
583 views

Multiple emitter transistor

I'm trying to draw a multiple emitter npn transistor and multiple collector pnp transistor. I'm using tikz to draw all my electric circuits but there is nothing about it in the documentation nor this ...
3
votes
1answer
199 views

Alignment problem in logic circuit

I am trying to compile an overview about logic gates. I have read the manual and studied a lot of examples. I failed, however, to achieve a satisfying result. Here is my current code: \documentclass{...
2
votes
1answer
613 views

bend circuit elements in tikz

I am trying to bend circuit elements in bigger circuits for clarity of the values/labels of elements. However, whenever I use bend command, the circuit element is replaced by a line. Any suggestion on ...
1
vote
2answers
496 views

I'm struggling to line up op amps in circuitkz, any help?

I saw a thread which asked this same question but I didn't quite understand the answers properly (I'm new to circuitkz). Also, with such a low reputation I can't make comments to Paul Gessler in order ...
2
votes
2answers
530 views

How to draw the leads of the Controlled Current Source in a Box?

\documentclass{article} \usepackage{tikz} \usepackage{circuitikz} \usetikzlibrary{chains} \begin{document} \begin{tikzpicture}[ start chain=going right, box/.style={ on chain,...
3
votes
4answers
3k views

Circuit Diagrams and Mesh Analysis LaTeX

So I am trying to create a very simple circuit this here is my code: \begin{circuitikz}[american, scale = 1.5][americanvoltages] \draw (0,0) to[V=$V_{in}$] (0,2) % The voltage source to[R, v^&...
3
votes
2answers
629 views

Centering the labels in circuits.logic.IEC

The tikz circuits library aligns the label for a gate to the top of the node, rather than to the center. Is there any way to move the label to the center? I.e.: the black label for the not gate is ...
1
vote
1answer
251 views

how to draw a T network using circuitikz

someone can help me to draw this using circuitikz package, thanks in advance. the T-network should have generic bipoles.
1
vote
1answer
1k views

Drawing custom logic gates with circuitikz or circuits.logic library

Is it possible to draw custom logic gates like the following one using circuitikz? Alternatively, is it possible to draw them easily with the circuits.logic library in tikz?
2
votes
2answers
492 views

Defining my own custom white-boxed digital circuit component

Tikz has a bunch of useful digital circuit components, basic or complex. Here, I need some of my own, not necessarily even one of the convenient ones. But let's take one, rather convenient example: A ...
1
vote
1answer
206 views

TikZ nodes' input and output anchors

Looking at the pgfmanual section 47.4.9 at the shape of the make contact... I'm having trouble understanding the point/use of the input- and output anchors. The input and output anchors are placed ...
2
votes
1answer
431 views

Placing multiple labels outside a node with TikZ circuit library

I'm trying to create a set of additional components for use with the TikZ circuits library. Specifically I'm looking at electro-engineering diagrams with a focus on key diagrams. Components in such ...
2
votes
1answer
1k views

circuit buffer input with inverted bubble

The related question Circuitikz inverter bubble shows how to invert an input on an AND gate. How can I do this on a buffer gate? (rightward facing triangle) I can't seem to find the documentation. I ...
2
votes
0answers
330 views
6
votes
4answers
2k views

How to draw an integrated circuit pin configuration like in data sheets?

I'm in the process of writing a datasheet for an Integrated Circuit, using LaTeX. Anyone knows how to draw a pin configuration diagram, like the one in the attached picture?
3
votes
2answers
755 views

Questions about using package `qasm2circ`

The package qasm2circ can be find here, which is a package to draw quantum circuit. I download it and follow the file Installation instructions. My OS is Ubuntu. I have the following problems: When I ...
8
votes
3answers
3k views

How to plot quantum logical gates with tikz?

I have seen many examples of classical circuit with tikz but none of quantum logical gates. Here are some of the quantum logical gates A whole circuit maybe look like
3
votes
2answers
446 views

representing a null child in a binary tree using `ground` symbol

I'm using ground symbol to represent a null child in a binary tree. But the ground symbol has arrows in it. How do I remove them? \documentclass{llncs} \usepackage{llncsdoc} \usepackage{tikz} \...
4
votes
1answer
267 views

Getting a value, which has been given to a TikZ key

I'm trying to write a package based on TikZ, and this is the problem I'm currently stumbling upon. Let's assume, that I have a key, for example /tikz/circuit symbol unit, which executes some code. I'...
7
votes
2answers
4k views

How to draw a multiplexer 8 to 1 with circuitikz

How can I draw a multiplexer 8 to 1 with tikz or circuitikz? A hand-drawn example is shown below.
2
votes
2answers
376 views

How can I edit the ajustable style of the TikZ-circuits.ee.IEC resistor?

Good Evening! I want to draw some X-dependent resistor (like temperature-dependent, as shown in the picture [there are some parts in red at this moment]). I have a solution, but I do not think, this ...
3
votes
1answer
1k views

How can I get optional arguments in a TikZ-circuits.ee.IEC symbol?

Good Evening, so in the following Code, I have 'new' circuit symbol, named 'converter'. In short: I use a 'generic circle', but I do not show him; I paint a pgf-rectangle over it and at least a '...
1
vote
0answers
1k views

Error: File 'circuitikz.sty' not found [closed]

When using circuitikz to draw circuits using the following command \usepackage{circuitikz} gives LaTeX Error: File 'circuitikz.sty' not found.