Based on the suggestion here How to add an underbrace and overbrace to a term in a equation or here What causes the problem when compiling a displayed equation with \overbrace and \underbrace? for instance, is it possible we have a "small" and the same size the symbols for underbrace and overbrace together?
I was trying to use the code below. Thank you.
\documentclass{article}
\usepackage{amsmath}
\usepackage[x11names, table]{xcolor}
\begin{document}
\[
\begingroup
\color{red}\underbrace{\overbrace{\color{black}=}^{\mathrm{over over over over over}}}_{\mathrm{under}}
\endgroup
\]
\end{document}