# Typesetting <Esc> key [duplicate]

I am trying to typeset the ESC key. I tried \frame{Esc} and $\boxed{\mathrm{Esc}}$ and I get

They don't look beautiful. How else can I typeset the Esc key?

-

## marked as duplicate by David Carlisle, Thorsten, Stefan Kottwitz♦Apr 21 '13 at 10:03

have a look here. – Nils L Apr 21 '13 at 9:02
Ohhh. I didn't see Nils L's comment when I wrote the answer... – Svend Tveskæg Apr 21 '13 at 9:16
@minthao_2011 You don’t need to do that manually, just install menukeys with the package manager of your TeX distribution. – doncherry Apr 21 '13 at 16:20

Using the keystroke package seems to be the way forward.

Code

\documentclass{article}

\usepackage{keystroke}

\begin{document}
\Esc
\end{document}


Output

-