Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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

share|improve this question
add comment

2 Answers

IMVHO the "right" way to cite a webpage (until the Powers That Be add a proper bibliography entry type, that is ;-) is to use the @Misc type, and place the URL in howpublished.

share|improve this answer
add comment

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.)

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.