TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to format a chemical reaction with LaTeX, and apparently it doesn't accept "→" as a character. Is there any way to do it?

share|improve this question
up vote 17 down vote accepted

Usually such an arrow is created using \to in mathmode which is also accessible as \rightarrow. Dexify also lists \textrightarrow (for text mode), \shortrightarrow and \longrightarrow.

Using the right settings you should also be able to use as an unicode character directly. This, however, depends also on the used compiler (PDFLaTeX, LuaLaTeX or XeLaTeX).

You should however consider to use a dedicated package for chemical reaction, for example mhchem. There is also chemarrow which provides arrows for chemical reactions, but it seems a little outdated (2001). For more LaTeX packages about chemistry see the list on CTAN.

share|improve this answer
Thanks! That's very helpful. :) – timothymh Oct 27 '11 at 22:20

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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