I am trying to align two inequlities vertically. The \le signs should have the same horizontal positions and the term in the should be centered. My first attempt:
\begin{align*}
\sum a &\le \sum b &\le \sum c \\
\log \sum a &\le \log \sum b &\le \log \sum c
\end{align*}
Doesn't work. My second attempt:
\[
\begin{array}{rcccl}
\sum a &\le& \sum b &\le& \sum c \\
\log \sum a &\le& \log \sum b &\le& \log \sum c
\end{array}
\]
The alignment is good, but the sum signs are smaller than in the align environment.
What is the "best" way to do this LaTeX?





login the second line is wrong. Writing&\le {} &\logmight fix this. – Philipp Oct 18 '10 at 19:39alignatis more appropriate for problems of this nature. It would be nice if there was an environment similar toalignatwhere the alignment character and the "next column" character where different (though I can't think which character to use for that), then omitting the alignment character could signal that the cell should be centered. I wouldn't know where to start even. – Yossi Farjoun Oct 18 '10 at 22:20\phantomcan be used instead of\makebox– Astrid A. Olave H. Oct 20 '19 at 22:57