I am playing and exploring the renewcommand and newcommand right now, and I tried to do:


I get it to work with the newcommand like this:


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.

  • 1
    \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}


    4 colours + 13card/colour $\rightarrow$ 52 cards
  • 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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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