答案1
\documentclass{article}
\usepackage{rotating}
\newcommand\equalscript[1]{\rotatebox[origin=bottom]{40}{$\scriptscriptstyle=$}^{\!#1}}
\begin{document}
\[
x = 4\cdot a^{\equalscript{12}}
\]
\end{document}
^
如果不想每次都输入上标调用,那么可以这样做:
\documentclass{article}
\usepackage{rotating}
\newcommand\equalscript[1]{^{\rotatebox[origin=bottom]{40}{$\scriptscriptstyle=$}^{\!#1}}}
\begin{document}
\[
x = 4\cdot a\equalscript{12}
\]
\end{document}