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

Possible Duplicate:
Correctly typesetting a tilde

I can show ~(tilde) in normal text, using text as follows,


But the problem is when I try to put this in footnote{}. Error will be thrown, how should I do this?

share|improve this question

marked as duplicate by Caramdir, Jukka Suomela, TH., Leo Liu, Hendrik Vogt Mar 25 '11 at 5:41

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.

up vote 5 down vote accepted

You can use \~{} for a tilde. Example:


Hi here\footnote{My character is ``\~{}'' and \texttt{I can also typset
it in this font: ``\~{}''}.}.

The group {} is quite important after the \~, otherwise LaTeX will think it's an accent to put on the next character.

share|improve this answer
So TeX puts the accent on nothing, right? – Hendrik Vogt Mar 25 '11 at 5:40

How about \textasciitilde ? It works for me.

share|improve this answer

Just use the \textasciitilde command.

share|improve this answer

\footnote{foo \~{} bar} works for me. If you want it in \verb style, but a \texttt around.

share|improve this answer

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