How can I use BibTeX to cite a website in LaTeX?
This content is not available in your language yet.
There are several ways to cite a website in LaTeX. In this short answer to the question, we give three, the easiest being BibLaTeX via the CiteDrive browser extension in the last example.
Trenger du en enkel løsning for håndtering av dine BibTeX-oppføringer? Utforsk CiteDrive!
- Nettbasert, moderne referansehåndtering
- Samarbeid og del med forskerkolleger
- Integrasjon med Overleaf
- Omfattende støtte for BibTeX/BibLaTeX
- Lagre artikler og nettsteder direkte fra nettleseren din
- Søk etter nye artikler i en database med titalls millioner av referanser
Using BibTeX
In BibTeX we use @misc
as a workaround and make use of the note
field to specify the URl and usually an access date. In this example, url
(or hyperref
) is required using usepackage{url}
.
Alternatively, the howpublished
field can be used:
Using BibLaTeX
If you use BibLaTeX, which we recommend, the @online
entry type is inherently supported and works without a further tweak. You can enter the URL and access date in the fields url
and urldate
, respectively.
Using natbib
People frequently inquire about how to cite web pages using natbib. We emphasize that it works in the same way as BibTeX. Natbib is a tool for styling in-text citations, and it depends on BibTeX as a backend.