I have a string of inequalities, and somewhere in the middle I have two things which are equal. To fit this nicely on a single line, I would like to stack the equal things. So I wanted to do something like this (using the stackrel package):
\[ A \leq \stackrel[B]{C}{\parallel} \leq D \]
However this makes B and C smaller. I can fix this with an even kludgier hack:
\[ A \leq \stackrel[\text{\normalsize $B$}]{\text{\normalsize $C$}}{\parallel} \leq D \]
My question is: What the right way to do something like this?
Edit: I would like something without a begin and end if possible.
– Neil Olver Aug 09 '10 at 22:27\newcommand{\eqnpair}[2]{\begin{array}{c} #1 \\ #2 \end{array}}\textstyle Binstead of\text{\normalsize $B$}. – Andrew Stacey Aug 10 '10 at 08:41