Minipage
The use of a minipage gives better result if you need this in real textmode.
To find out the width of the minipage, define in latex preamble:
\newlength{myStackWidth}
The minipage can be orientated to the bottom, the top oder vertically centered to
the textline. At first we want to set the width, which belongs to the longest word:
\settowidth{\myStackWidth}{argmax}
\begin{minipage}[t]{\myStackWidth}\parskip-1ex\begin{center}
argmax
$\alpha$
\end{center}\end{minipage}
option [t]: alpha is under argmax
option [b]: argmax is over alpha
option [m]: both are vertically centered in the line.
Remember that you can define a new command
\myStackrel{Orientation}{under}{over} in latex preamble, which makes sense,
if you often use this in your text.
If you want it only vertically centered, the following latex construct does it, too:
\begin{tabular}{c}
\alpha \\
\argmax
\end{tabular}
|
|