I have made a macro to type a double equal sign but the signs are thinner when I use \usepackage[T1]{fontenc} (see the picture and the code below). How can I fix this?
\documentclass[12pt,a4paper]{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc} % <--- This is the guilty package
\usepackage{ucs}
\usepackage{amsmath}
\usepackage{graphicx}
\usepackage{calc}
\newcommand\shorteq{\resizebox{.5em}{\heightof{=}}{=}}
\newcommand\eqtest{\mathop{\shorteq\mkern1mu\shorteq}}
\begin{document}
$A \eqtest B$
$A = B$
\end{document}


\shorteq@? – projetmbc Feb 28 '21 at 10:59\mathpalette. See https://tex.stackexchange.com/q/34393/4427 – egreg Feb 28 '21 at 11:07