Why are the parentheses not showing? (I don't want to remove packages,how can i fix this problem?)
\documentclass[a4paper]{article}
\usepackage{physics}
\makeatletter
\DeclareSymbolFont{cmexlargesymbols}{OMX}{cmex}{m}{n}
\SetSymbolFont{cmexlargesymbols}{bold}{OMX}{cmex}{b}{n}
\DeclareMathDelimiter{(}{\mathopen}{letters}{46}{cmexlargesymbols}{0}
\DeclareMathDelimiter{)}{\mathclose}{letters}{47}{cmexlargesymbols}{1}
\makeatother
\begin{document}
[e^{\qty(x)}]
\end{document}


physicsis a shitty package. Asking us to fix it without removing that package is like asking us to make water stop being wet. – Gaussler Oct 11 '21 at 13:16physicspackage provides the macro called\qty. If you don't load thephysicspackage, how is your sample code shown above supposed to compile? – Mico Oct 11 '21 at 13:48