答案1
下面的例子重新定义了标签已设置,将其添加到两边:
\documentclass{article}
\usepackage{amsmath,lipsum}
\makeatletter
\def\maketag@@@#1{%
\hbox {\m@th \normalfont #1}% Regular (right-hand tag)
\rlap{\hskip-\displaywidth \m@th \normalfont #1}% Left-hand tag
}
\makeatother
\begin{document}
\lipsum*[1]
\begin{equation}
E = mc^2
\end{equation}
\lipsum*[2]
\begin{align}
f(x) &= ax^2 + bx + c \\
g(x) &= d
\end{align}
\lipsum[3]
\end{document}
标签使用 进行设置,并更新为使用零宽度阴影在 上\maketag@@@
添加左侧标签。r
lap