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 tried to render the arrow symbol -> using \->, but it didn't work. I tried \-\> as well, which didn't work either. Both compiled well but didn't generate the right symbol. I suspect it might be encoding problem.

share|improve this question
\textrightarrow in text and \rightarrow/\to in math. Is that what you are looking for? – Manuel Feb 11 '13 at 20:40
Look at the link here on the section for arrows for finding the answer you're looking for. – Uneo Feb 11 '13 at 20:42
If you are trying to get a "ascii drawn arrow", such as the ones used in C to dereference pointers to structures, you can try \verb|->|. For mathematical uses better to use $\to$ instead – JLDiaz Feb 11 '13 at 21:24
up vote 3 down vote accepted

I usually use the arrow from the math environment: $ \rightarrow $

share|improve this answer

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.