5

This question already has an answer here:

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

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

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • have a look here. – Nils L Apr 21 '13 at 9:02
  • How to convert menukeys.dtx to menukeys.sty? Please help me. – minthao_2011 Apr 21 '13 at 9:15
  • Ohhh. I didn't see Nils L's comment when I wrote the answer... – Svend Tveskæg Apr 21 '13 at 9:16
  • 1
    @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
6

Using the keystroke package seems to be the way forward.

Code

\documentclass{article}

\usepackage{keystroke}

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

Output

enter image description here

Not the answer you're looking for? Browse other questions tagged or ask your own question.