符号上下边​​界的正确写法?

符号上下边​​界的正确写法?

是否有适当的equation环境中写类似的东西

A + 2 = x ,   1 < A < X

而无需使用 ~ 或类似的东西手动插入空格?

答案1

也许其中有你想要的东西……

\documentclass{article}
\usepackage{amsmath}
\begin{document}

with tabbing

\begin{tabbing}
\hspace{9em} \= \hspace{11em} \= \\
\> $A + 2 = x$ \> $, 1 < A < X$ \\
\end{tabbing}

or columns in align

\begin{align}
A + 2 &= x  &,  1 < A < X \\
\end{align}

or as @mico menat with quad or qquad

\begin{align}
A + 2 = x \quad, 1 < A < X
\end{align}

or even simple spaces to make it your size

\begin{align}
A + 2 = x \hspace{3em}, 1 < A < X 
\end{align}

\end{document} 

相关内容