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

1 Answer 1

up vote 3 down vote accepted

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

share|improve this answer

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.