[Tex/LaTex] carriage return symbol, new command

errors

When I define this:

\newcommand{\return}{\raisebox{1.2pt}{\setlength{\fboxsep}
  {2pt}\ovalbox{$\hookleftarrow$} }}

In output compiler types:

Undefined control sequence.
<argument> \setlength {\fboxsep }{2pt}\ovalbox {$\hookleftarrow $}

My packages:

\documentclass[russian,utf8,simple,hpadding=5mm]{eskdtext}
\usepackage[T2A]{fontenc}
\usepackage{pscyr}
\usepackage{listings}
\usepackage{color}
\usepackage{caption}
\usepackage{amstext}
\usepackage{amsmath}

Best Answer

To visualize keystrokes you could use either the keystroke or the menukeys package.

\documentclass{article}
\pagestyle{empty}% for cropping
\usepackage{keystroke}
\usepackage{menukeys} 
\begin{document}
\verb|\Return| \Return % from package keystroke

\verb|\keys{\return}| \keys{\return} % from package menukeys
\end{document}

enter image description here