
\quad
중심 출력으로 방정식과 방정식 번호 사이의 공백을 설정하는 방법 , 즉 방정식이 중심에 맞춰질 것입니다. 출력은 아래와 같아야 합니다.
A + B (1)
A + B (2)
답변1
\documentclass{article}
\usepackage{amsmath}
\begin{document}
The usual setting (in \LaTeX\ and generally) is to have the numbers flush to the edge
\begin{align}
A &+ b \\
Ax &+ zz
\end{align}
But if you really need this layout you can do the following
(replacing 1em by whatever space you need):
\newcommand\mytag{\hspace*{1em}\refstepcounter{equation}(\theequation)}
\[
\begin{aligned}
A &+ b &\mytag\\
Ax &+ zz &\mytag
\end{aligned}
\]
\end{document}