5

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?

jjdb
  • 2,238
minthao_2011
  • 4,534
  • 7
  • 36
  • 61

1 Answers1

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