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}
physics
is a shitty package. Asking us to fix it without removing that package is like asking us to make water stop being wet.physics
package provides the macro called\qty
. If you don't load thephysics
package, how is your sample code shown above supposed to compile?