0

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.

  • 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
3

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

|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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