# Documentation for diopubmed.sty

Nicola L. C. Talbot

School of Computing Sciences

University of East Anglia

Norwich. Norfolk

NR4 7TJ. United Kingdom

[http://theoval.cmp.uea.ac.uk/~nlct/](http://theoval.cmp.uea.ac.uk/~nlct/)

20th August 2007

## 1 Introduction

The commands defined in this package were primarily designed for use in bibliographies to make it easier to cite documents with digital object identifiers (DOI) or PubMed entries. If the command \url has been defined, the definition will remain, otherwise the url package will be loaded.

\doi{_ref number_}

This displays doi: _(ref number)_ with a hyperlink to the corresponding web entry. For example:

\doi{10.1016/j.neunet.2004.07.002}

produces: doi: 10.1016/j.neunet.2004.07.002.

As from version 1.01, this command also works with awkward characters, for example:

\doi{10.1002/1521-3951(200103)224:1<271::AID-PSSB271>3.0.CO;2-\#}

produces: doi: 10.1002/1521-3951(200103)224:1<271::AID-PSSB271>3.0.CO;2-\#.

Alternatively, you can do:

\doi{10.1002/1521-3951(200103)224:1<271::AID-PSSB271>3.0.CO;2-\%23}

which produces: doi: 10.1002/1521-3951(200103)224:1<271::AID-PSSB271>3.0.CO;2-\%23.

\pubmed{_ref number_}



\fi \@doi@next#2\@@#3{relax } } ```
\pubmed \newcommand*{\pubmed}[1]{% \href([http://www.ncbi.nlm.nih.gov/entrez/query.fcgi?cmd=Retrieve&db=PubMed&list_uids=#1&dopt=%](http://www.ncbi.nlm.nih.gov/entrez/query.fcgi?cmd=Retrieve&db=PubMed&list_uids=#1&dopt=%) \pubmedtext{#1}}} }
```

\citeurl \newcommand*{\citeurl}[1]{\textlessurl{#1}\textgreater}