0

Possible Duplicate:
How to insert characters with special meaning into a document

I have tried \^ but that doesn't work.

I need to display something like this text:

(^OnDocumentDidLoad)
brainray
  • 163
  • Have you tried \^{}? – Corentin Nov 12 '12 at 10:03
  • @brainray Does the suggested linked question help? If so, this question is likely to be closed as a duplicate: we aim to have one 'definitive' place for answers for each question. – Joseph Wright Nov 12 '12 at 10:06
  • @brainray Use the Comprehensive LaTeX Symbol List (http://www.ctan.org/tex-archive/info/symbols/comprehensive/) or Detexify (http://detexify.kirelabs.org/) where you can find all(?) special symbols in LaTeX. – szantaii Nov 12 '12 at 10:07
  • See also http://tex.stackexchange.com/questions/34580/escape-character-in-latex/ – lockstep Nov 12 '12 at 10:37

1 Answers1

1

Use \textasciicircum in textmode.

szantaii
  • 4,719
  • 2
  • 36
  • 51