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:
Obey spaces with URL package (path command)
How to prevent \url from removing the spaces in a path?

The url I want to put in \url{} is http://www.maths.manchester.ac.uk/~peterf/MSc%20Examples%208.pdf

The %20 in the url above are actually spaces. How can I type this in LaTeX so that it can be copied and pasted into a browser straight from the pdf?

share|improve this question

marked as duplicate by Martin Schröder, egreg, Stefan Kottwitz Jan 2 '13 at 14:52

This question was marked as an exact duplicate of an existing question.

Welcome to TeX.SX. A tip: If you indent lines by 4 spaces, then they're marked as a code sample. You can also highlight the code and click the "code" button ({}). – Claudio Fiandrino Jan 2 '13 at 13:49
I believe that the URL with %20 is the safest mode for copy-paste. – egreg Jan 2 '13 at 13:53
This question is also covered by tex.stackexchange.com/q/6948/19384 – Peter Jansson Jan 2 '13 at 13:56
It is not difficult to find the duplicates. See the Related column on the right. – kiss my armpit Jan 2 '13 at 13:56
Also related: How to prevent \url from removing the spaces in a path? – Jake Jan 2 '13 at 14:31

Browse other questions tagged or ask your own question.