# How to renew the \rightarrow command?


\renewcommand{\rightarrow}{\mathlarger{\mathlarger{\rightarrow}}}


I get it to work with the newcommand like this:

\newcommand{\largerightarrow}{\mathlarger{\mathlarger{\rightarrow}}}


However, the newcommand would require longer name, and it would be nicer in this case to use the standard command rightarrow.

I've noticed that I haven't used the original size of the $\rightarrow$ once yet, therefor I'd like to have that renewcommand in my template for my math documents.

• \let\RightArrow\rightarrow\renewcommand\rightarrow{\mathlarger{\mathlarger{\RightArrow}}? – 1010011010 Oct 16 '14 at 22:05
• Related Question: In case you need further customization of the arrow, in Defining custom direct and inverse limits I define a \MyTo arrows which uses tikz to draw it. – Peter Grill Oct 16 '14 at 22:23

Renewing a command with the command itself in its definition won't work because TeX doesn't remember what the command was previously as you're redefining it.

The code you're looking for is something along the lines of:

\documentclass[12pt, letterpaper]{article}
\usepackage{relsize}

\let\RightArrow\rightarrow
\renewcommand\rightarrow{\mathlarger{\mathlarger{\RightArrow}}}

\begin{document}
4 colours + 13card/colour $\rightarrow$ 52 cards
\end{document}

• I get Undefined Control Sequence when I do that command. – Ahana Oct 16 '14 at 22:14
• It was missing a brace. Fixed that now! – 1010011010 Oct 16 '14 at 22:18
• @1010011010: Can you post a complete MWE including \documentclass and appropriate packages. – Peter Grill Oct 16 '14 at 22:20