Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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
add comment

1 Answer 1

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
add comment

Your Answer

 
discard

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.