
저는 정렬 환경으로 작업 중이며 일부 단계에서 사용된 방정식 번호를 지정하여 등호에 몇 가지 힌트를 추가하고 싶습니다. 그러나 그렇게 하면 등호가 더 이상 정렬되지 않습니다. 전체 스택 관계 대신 등호를 정렬하는 방법이 있습니까? 최소한의 예는 아래를 참조하세요.
\documentclass{book}
\usepackage{amsmath}
\begin{document}
\chapter{Test align equality}
\begin{equation}\label{eq::ac}
a=c
\end{equation}
\begin{align*}
a &= b \\
&\stackrel{(\ref{eq::ac})}{=} c
\end{align*}
\end{document}
답변1
(로드되는 ) \mathclap
의 명령을 사용하여 이를 가질 수 있지만 내 생각에는 이 없는 다른 솔루션을 제안합니다 .mathtools
amsmath
\stackrel
\documentclass{book}
\usepackage{mathtools}
\begin{document}
\chapter{Test align equality}
\begin{equation}\label{eq::ac}
a=c
\end{equation}
\begin{align*}
a &= b \\
&\stackrel{\mathclap{\eqref{eq::ac}}}{=} c
\end{align*}
\begin{align*}
a &= b \\
&= c\rlap{ \qquad by \eqref{eq::ac}}
\end{align*}
\end{document}