# How to put a letter above another?

How do I "stack" a letter above (not in front) another (in math mode)? It should look the same as binomial coefficients, just without the parentheses (which rules out `\stackrel` and `\overset`, since it makes the symbol on top smaller, as if it's tweaked superscript).

-

You can make one such command using `\genfrac`:

``````\makeatletter
\newcommand{\stackover}{\genfrac{.}{.}\z@{}}
\makeatother
``````

Then use it like:

``````\[\stackover{a}{b}\]
``````
-
It's not working. Do I need some packages for this? –  Lazar Ljubenović Dec 22 '13 at 17:56
@LazarLjubenović: You need `amsmath` –  Francis Dec 22 '13 at 17:57
Yes, I'm using it, but it's still not working. As if it doesn't recognize that I've created a new command. –  Lazar Ljubenović Dec 22 '13 at 17:58
@LazarLjubenović: What error does LaTeX return? –  Francis Dec 22 '13 at 18:00
Let's pretend this never happened :) And thanks! It works. –  Lazar Ljubenović Dec 22 '13 at 18:03