[OS X TeX] How to escape the ~?

Bruno Voisin bvoisin at mac.com
Thu Nov 10 14:26:31 CET 2005


Le 10 nov. 05 à 14:17, Bruce Kellogg a écrit :

> Here is a simple TeX question: how do I write the URL of my home page,
> /www/math/sc/edu/~kellogg, in a TeX document? The ~ gives me trouble.

Simple answer: use the url package or the hyperref package (they both  
will make the URL a hyperlink to your home page). An alternative is  
to use \textasciitilde IIRC (but no hyperlink in that case).

See:

/usr/local/teTeX/share/texmf.tetex/tex/latex/url/url.sty (the package  
is its own documentation)

/usr/local/teTeX/share/texmf.tetex/doc/latex/hyperref/manual.pdf

HTH,

Bruno Voisin------------------------- Info --------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
          & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/




More information about the macostex-archives mailing list