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?



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

| improve this answer | |
  • Or you can use \usepackage{uri} – user11232 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
  • 1
    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 clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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