Cómo evitar el texto reflejado \$M_2\$

Cómo evitar el texto reflejado \$M_2\$

El siguiente es mi código tex.

\documentclass[12pt,letterpaper]{article}    
\usepackage[left=20mm,top=30mm,bottom=30mm,right=20mm]{geometry}

\usepackage{tikz}  % for drawing pictures
\usetikzlibrary{shapes.geometric, arrows}
\usetikzlibrary{arrows.meta} 


\usepackage[siunitx]{circuitikz} % circuit package and  include electrical units in our labels

\begin{document}

\begin{center}
\begin{circuitikz}[american,]
\ctikzset{tripoles/mos style/arrows}
\def\killdepth#1{{\raisebox{0pt}[\height][0pt]{#1}}}
\path (0,0) -- (2,0); % bounding box

\draw (-3,5)  -- (3,5) node[label=right: $V_{dd} \SI{}{}$] {}
 (-2,1) node[nmos](M1){$M_1$}
 (-2,5) -- (M1.drain)
(-3,1)[short, o-] to (M1.gate) node[anchor=south] {$V_{in}$}
(M1.source) node[anchor=south] {} -- (-2,0) -- (2,0)
(2,1) node[nmos, xscale=-1] (M2){$M_2$};
\end{circuitikz}
\end{center}

\end{document}

Este es el texto reflejado $M_2$.

ingrese la descripción de la imagen aquí

Respuesta1

La sección "3.2.1 Duplicar y voltear" de la guía del usuario de circuitoikz tiene un ejemplo de cómo desvoltear el texto:

\documentclass[12pt,letterpaper]{article}    
\usepackage[left=20mm,top=30mm,bottom=30mm,right=20mm]{geometry}

\usepackage{tikz}  % for drawing pictures
\usetikzlibrary{shapes.geometric, arrows}
\usetikzlibrary{arrows.meta} 


\usepackage[siunitx]{circuitikz} % circuit package and  include electrical units in our labels

\begin{document}

\begin{center}
\begin{circuitikz}[american]
\ctikzset{tripoles/mos style/arrows}
\def\killdepth#1{{\raisebox{0pt}[\height][0pt]{#1}}}
\path (0,0) -- (2,0); % bounding box

\draw (-3,5)  -- (3,5) node[label=right: $V_{dd}$] {}
 (-2,1) node[nmos](M1){$M_1$}
 (-2,5) -- (M1.drain)
(-3,1)[short, o-] to (M1.gate) node[anchor=south] {$V_{in}$}
(M1.source) node[anchor=south] {} -- (-2,0) -- (2,0) -- (2,0.25) node[nmos,xscale=-1,anchor=south east] (M2){\ctikzflipx{$M_2$}};
\end{circuitikz}
\end{center}

\end{document}

ingrese la descripción de la imagen aquí

información relacionada