[Tex/LaTex] Url references in bibliography

bibliographiesbibtexurls

I am using TexMaker. I would like to know how to include web site references in the .bib file. I am using bibliography style , alpha. How does the website reference appear in the bibliography

Best Answer

Assuming your .bib file contains url fields: Use the alphaurl style instead of alpha.

\documentclass{article}

\usepackage{url}

\usepackage{filecontents}

\begin{filecontents}{\jobname.bib}
@misc{A01,
  author = {Author, A.},
  year = {2001},
  title = {Alpha},
  url = {www.tex.stackexchange.com},
}
\end{filecontents}

\begin{document}

\nocite{*}

\bibliographystyle{alphaurl}
\bibliography{\jobname}

\end{document}

(The filecontents environment is only used to include some external files directly into the example, so that it compiles. It is not necessary for the solution.)

Related Question