
残念ながら、手順の説明をしようとすると\intertext
(この答え可能ですが、アライメントが壊れているようです。
これを修正するにはどうすればよいでしょうか (できれば説明も中央に配置する)?
MWE は次のとおりです。
\documentclass{article}[10pt]
\usepackage{amsmath}
\begin{document}
\begin{equation}
\begin{split}
a &= f(b) \\
\intertext{because $f \equiv g$}
&= g(b)
\end{split}
\end{equation}
\end{document}
私はpdflatex
バージョン3.1415926-2.5-1.40.14を使用しています
[編集]
質問を見つけました方程式のステップの説明しかし、質問はalign*
環境に関するものなので、答えは適用できません。方程式全体を参照する必要があるため、align
環境も不適切になります。
答え1
flalign
と を使用し\notag
て を模倣できます\intertext
。ただし、2 番目のレイアウトの方が好みです。
\documentclass{article}
\usepackage{mathtools}
\begin{document}
\begin{flalign}
& & a &= f(b) \notag\\
& \rlap{because $f \equiv g$} & & \\
& & & = g(b) \notag & &
\end{flalign}
\vspace{1cm}
\begin{equation}
\begin{aligned}
& & a &= f(b) \\
& & & = g(b) & &\rlap{\hspace{3em} because $f \equiv g$}
\end{aligned}
\end{equation}
\end{document}