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.

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)
share|improve this question
    
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 (ctan.org/tex-archive/info/symbols/comprehensive) or Detexify (detexify.kirelabs.org) where you can find all(?) special symbols in LaTeX. –  szantaii Nov 12 '12 at 10:07
    
add comment

marked as duplicate by Thorsten, Guido, Martin Schröder, Andrew Swann, lockstep Nov 12 '12 at 10:37

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

1 Answer

up vote 1 down vote accepted

Use \textasciicircum in textmode.

share|improve this answer
add comment

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