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

I have a BibTeX file with the following entry:

  title={The treatment of flat areas and depressions in automated drainage analysis of raster digital elevation models},
  author={Martz, L.W. and Garbrecht, J.},
  journal={Hydrological processes},
  publisher={Wiley Online Library},

I'm creating my bibliography with natbib:




You'll note that the DOI of the BibTeX entry contains some "bad" characters such as < and >. These should be displayed verbatim in the resulting PDF, but, instead, they are processed into large-angle symbols which cannot be copied and pasted.

How can I get BibTeX+natbib+LaTeX to give me my DOIs verbatim?


share|improve this question
You can create a short DOI without such charaters here: shortdoi.org/10.1002/… – matth May 6 '15 at 13:28

\usepackage{doi} will let you typeset all DOI's "verbatim". It will make them links as well.

share|improve this answer
Or you can use \usepackage{uri} – Harish Kumar May 2 '12 at 0:18
As @HarishKumar says, uri is another option. It seems to be newer too, so probably the preferred solution. – qubyte May 2 '12 at 2:59
Using the doi package with hyperref yields an option clash. Using uri with hyperref does not. If @amorua edits the answer to use uri, I will accept it. – Richard Jul 18 '12 at 22:41

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.