2

I am using circuit tikz to draw a diode in series with a transistor using the following:

\begin{figure}[h!]
\centering
\begin{circuitikz}[american, line width=0.3, line cap=round, line join=round]
    \ctikzset{diodes/scale=0.6}
    \draw (0,0) to[D] (2,0) to[nigbt] (4,0);
\end{circuitikz}
\end{figure} 

I don't get why the transistor is not drawn?

2
  • Interesting! I thought \pgf@circ@definetranspath{nigbt} was supposed to treat it like a bipole (emitter to collector). Commented Mar 17, 2023 at 17:54
  • @JohnKormylo to have the path-style transistor you need to add a T to the name... ... to[Tnigbt] ...
    – Rmano
    Commented Mar 17, 2023 at 22:49

2 Answers 2

3

The path-style transistors must be specified by adding a T to the name. So, try with

... to[Tnigbt] ...

manual about transistor path

See also https://tex.stackexchange.com/a/575630/38080 (never accepted, but...)

0
2

Symbol for transistor is not dipol, but is defined as node:

\documentclass[margin=3mm]{standalone}
\usepackage{circuitikz}

\begin{document}
\begin{circuitikz}[american, line width=0.3, line cap=round, line join=round]
    \ctikzset{diodes/scale=0.6}
    \draw (0,0) to[D] (2,0) node[nigbt, anchor=B] {} ;
\end{circuitikz}
\end{document}

enter image description here

2
  • no, it's not in style romano, it's in base circuitikz. ;-). I added the relevant part of the manual (page 118 for 1.6.1)
    – Rmano
    Commented Mar 18, 2023 at 18:08
  • @Rmano, now I'm a bit confused. I need to read package documentation again and again ,,,
    – Zarko
    Commented Mar 19, 2023 at 3:37

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .