In StackOverflow, I can show keys like this: ctrl + alt.
How to do the same things in LaTeX?
In StackOverflow, I can show keys like this: ctrl + alt.
How to do the same things in LaTeX?
Use the menukeys package. They look even fancier than in SO...
\documentclass{article}
\usepackage[os=win]{menukeys}
\begin{document}
\keys{\ctrl + \Alt}
\end{document}

If you add the line
\renewmenumacro{\keys}[+]{shadowedroundedkeys}
in the preamble, you can get even fancier output (with shadows)
