I'm trying to create an array containing plot elements (from the CircuiTikZ package but it's incidental) some of which writes are on multiple lines .
As I want the texts to be centered vertically and horizontally, I went with this code:
\documentclass[border=2mm]{standalone}
\usepackage{array,multirow,makecell,hhline}
\setcellgapes{1pt}
\makegapedcells
\newcolumntype{R}[1]{>{\raggedleft\arraybackslash }b{#1}}
\newcolumntype{L}[1]{>{\raggedright\arraybackslash }b{#1}}
\newcolumntype{C}[1]{>{\centering\arraybackslash }b{#1}}
\usepackage[utf8]{inputenc}
\usepackage[siunitx, european, straightvoltages, cute inductors]{circuitikz}
\begin{document}
\begingroup
\makegapedcells
\setcellgapes{3pt}
\tikzset{every picture/.style={baseline=-0.5ex}}
\begin{tabular}{|C{4cm}|C{4cm}|C{3cm}|}
\hline
Composant & Code & Image résultant\
\hline
amplificateur opérationnel anglo-saxon & node[op amp]{} & \begin{circuitikz}
\draw (0,0) node[op amp]{};
\end{circuitikz} \
\cline{1-3}
amplificateur opérationnel européen & node[en amp]{} & \begin{circuitikz}
\draw (0,0) node[en amp]{};
\end{circuitikz} \
\cline{1-3}
amplificateur opérationnel entièrement différentiel & node[fd op amp]{} & \begin{circuitikz}
\draw (0,0) node[fd op amp]{};
\end{circuitikz} \
\cline{1-3}
amplificateur d'instrumentation & node[inst amp]{} & \begin{circuitikz}
\draw (0,0) node[inst amp]{};
\end{circuitikz} \
\cline{1-3}
amplificateur d'instrumentation avec résistance & node[inst amp ra]{} & \begin{circuitikz}
\draw (0,0) node[inst amp ra]{};
\end{circuitikz} \
\cline{1-3}
\hhline{|=|=|=|}
\end{tabular}
\endgroup
\end{document}
My problem is that for a line (the 4th), the text is no longer vertically centered but it is placed at the top of the cell (I also have the impression that the vertical centering of the other lines is not not very correct). How can I solve this problem?
Thank you


\usepackage[utf8]{inputenc}any longer in modern LaTeX distributions. – F. Pantigny Mar 29 '21 at 13:56