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
    – 1010011010
    Oct 16, 2014 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. Oct 16, 2014 at 22:23

1 Answer 1


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, 2014 at 22:14
  • It was missing a brace. Fixed that now!
    – 1010011010
    Oct 16, 2014 at 22:18
  • @1010011010: Can you post a complete MWE including \documentclass and appropriate packages. Oct 16, 2014 at 22:20

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .