[Tex/LaTex] Defining shortcuts


I am using $\longrightarrow{}$ at many places in my document. I should say around two to three times per page.
I was wondering if there is a way to assign a shortcut (i.e. lra) and wherever I use lra it will put $\longrightarrow{}$.

So far I am getting by with Ctrl+C & Ctrl+V.

Best Answer

alt text

\def\lras{\ensuremath\longrightarrow\ }
The \lra without a trailing space.

The \lras with a trailing space.
Related Question