[Tex/LaTex] How to reference websites using bibliography style ieeetr

bibliographies

I have in my list.bib file a reference:

@misc{DonoraSmog,
author = {Wikipedia},
title = {1948 Donora Smog},
month = jun,
year = {2009},
url = {http://www.test.org/doe/}
}

But, once compiled, it does not show the website in the pdf. I am using the package {url}.

Also, is there a package that does APA citing ?

Best Answer

(too long for comment)

With the following code, the website is displayed.

\documentclass{IEEEtran}
\usepackage{filecontents}
\begin{filecontents*}{sampbib.bib}
  @misc{DonoraSmog,
author = {Wikipedia},
title = {1948 Donora Smog},
month = jun,
year = {2009},
url = {http://www.test.org/doe/}
}
\end{filecontents*}
\usepackage{url}
\bibliographystyle{IEEEtran}
\begin{document}
  \nocite{*}
  \bibliography{sampbib}
\end{document}

enter image description here

If this code doesn't work for you as such, you may have to provide your code for testing.

Related Question