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

Here is the exact webpage I want to cite:

    \bibitem{BrouwerSRG}A. Brouwer.
    Strongly Regular Graphs table

Now, if I type this in and compile, the ~ does not show up at all. A professor recommended using $\sim$aeb and then later said he was mistaken to use that and instead I should use \~{}aeb. When I use $\sim$aeb, it seems to look correct, though perhaps the ~ is a little big. If I use \~{}aeb, it does not look right at all, it looks like a superscript ~. If I do \~aeb only, it puts the ~ above the a, so definitely not right.

I don't know much about bibliographies, but I'm just using \begin{thebibliography}{45} to start up my references, in case that matters.

Any ideas?

share|improve this question
Take a look at \url from the url or the hyperref package. – Qrrbrbirlbel Dec 18 '12 at 21:41
up vote 1 down vote accepted

If you use the \url command from the hyperref package, the tilde works without having to modify the URL. It becomes clickable, too, if you compile with pdflatex.

In LaTeX, ~ just means "non-breakable space". No line break is allowed between words that are connected with a tilde.

Have you considered using bibtex or biblatex for your bibliography? This will make sure that references are formatted consistently, and the reference style can be changed without having to reformat the entire bibliography.

share|improve this answer
If I add in the line to use the hyperref package, and do nothing else at all, now my file errors out. – Graphth Dec 18 '12 at 21:55
@Graphth: Could you try the url package? If the error persists, please post a new question. – krlmlr Dec 18 '12 at 22:03
Okay, the url package works. Thanks! – Graphth Dec 18 '12 at 22:14

Your Answer


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.